Home

Awesome

Pulsemaker

pypi

Pulsemaker is a Python widget library for designing pulses and pulse schedules for quantum computing hardware. The library can be used in Jupyter notebooks, JupyterLab, and the IPython kernel.

Currently, the export feature only supports IBM's Qiskit Pulse, but Rigetti's Quil-T and Pasqal's Pulser can be considered if there is enough interest.

To see a workflow that combines both the PulseDesigner and the ScheduleDesigner into a single dashboard, check out qonduit.

Pulse Designer

PulseDesigner

Schedule Designer

ScheduleDesigner

Getting Started

Installation

To install use pip (JupyterLab 3 recommended):

$ pip install pulsemaker

For a development installation,

$ git clone https://github.com/adgt/pulsemaker.git
$ cd pulsemaker
$ pip install -e .

Tutorials / Labs

For a tutorial on how to use the PulseDesigner take a look at Tutorial_PulseDesigner.ipynb.

For a tutorial on how to use the ScheduleDesigner take a look at Tutorial_ScheduleDesigner.ipynb

For a fun experience utilizing both components together, try out the Frequency Sweep lab.

Otherwise, you can simply run:

from pulsemaker import PulseDesigner, ScheduleDesigner
pulse_d = PulseDesigner()
schedule_d = ScheduleDesigner()
display(pulse_d)
display(schedule_d)

API

PulseDesigner()

ScheduleDesigner()

Development

Follow the instructions above for a development installation. Then, to actively developing on your machine, run Jupyter Lab with the command:

$ jupyter lab

Library files are located under the pulsemaker folder. If you are doing work in JupyterLab or notebooks, then it is recommended to use the following for auto-reloading changes to the Python files:

%load_ext autoreload
%autoreload 2