Pulser is a framework for composing, simulating and executing pulse sequences for neutral-atom quantum devices.
Documentation for the latest release of pulser
is available at https://pulser.readthedocs.io (for the docs tracking the develop
branch of this repository, visit https://pulser.readthedocs.io/en/latest instead).
The source code can be found at https://github.com/pasqal-io/Pulser.
Pulser is designed to let users create experiments that are tailored to specific neutral-atom devices. This reduces the level of abstraction and gives you maximal flexibility and control over the behaviour of the relevant physical parameters, within the bounds set by the chosen device.
Consequently, Pulser breaks free from the paradigm of digital quantum computing and also allows the creation of analog quantum simulations, outside of the scope of traditional quantum circuit approaches. Whatever the type of experiment or paradigm, if it can be done on the device, it can be done with Pulser.
Additionally, the pulser_simulation
extension provides tools for classical simulation (using QuTiP libraries) to aid in the development and testing of new pulse sequences.
For a comprehensive overview of Pulser, check out Pulser's white paper.
To install the latest release of pulser
, have Python 3.9 or higher installed, then use pip
:
pip install pulser
The standard pulser
distribution will install the core pulser
package
and the pulser_simulation
extension package, which is required if you want
to access the emulation features.
If you wish to install only the core pulser
features, you can instead run:
pip install pulser-core
To include PyTorch in your installation, append the [torch]
suffix to the commands outlined above, i.e.
pip install pulser[torch]
for the standard pulser
distribution with PyTorch, or
pip install pulser-core[torch]
for just the core features plus PyTorch support.
If you wish to install the development version of Pulser from source instead, do the following from within this repository after cloning it:
git checkout develop
make dev-install
Bear in mind that this installation will track the contents of your local
Pulser repository folder, so if you checkout a different branch (e.g. master
),
your installation will change accordingly.
To run the tutorials or the test suite locally, after installation first run the following to install the development requirements:
pip install -r dev_requirements.txt
Then, you can do the following to run the test suite and report test coverage:
pytest --cov
Want to contribute to Pulser? Great! See How to Contribute for information on how you can do so.
Citation references are generated through Zenodo. Click the badge below to get the citation to the latest Pulser release.