Skip to main content

Qadence logo

Qadence is a Python package that provides a simple interface to build digital-analog quantum programs with tunable qubit interactions and arbitrary register topologies realizable on neutral atom devices.

For a high-level overview of Qadence features, check out our white paper.

**For more detailed information, check out the documentation.

**For any questions or comments, feel free to start a discussion. **

Linting Tests Documentation Pypi License Coverage

Feature highlights

Qadence architecture

Installation guide

Qadence is available on PyPI and can be installed using pip as follows:

pip install qadence

The default, pre-installed backend for Qadence is PyQTorch, a differentiable state vector simulator for digital-analog simulation based on PyTorch. It is possible to install additional, PyTorch -based backends and the circuit visualization library using the following extras:

  • visualization: A visualization library to display quantum circuit diagrams.
  • protocols: A collection of protocols for error mitigation in Qadence.
  • libs: A collection of functionalities for graph machine learning problems build on top of Qadence.
  • pulser: The Pulser backend for composing, simulating and executing pulse sequences for neutral-atom quantum devices (experimental).

Qadence also supports a JAX engine which is currently supporting the Horqrux backend. horqrux is currently only available via the low-level API.

To install individual extras, use the following syntax (IMPORTANT Make sure to use quotes):

pip install "qadence[pulser,visualization]"

To install all available extras, simply do:

pip install "qadence[all]"

IMPORTANT Before installing qadence with the visualization extra, make sure to install the graphviz package on your system:

# For Debian-based distributions (e.g. Debian, Ubuntu)
sudo apt install graphviz

# on MacOS
brew install graphviz

# via conda
conda install python-graphviz

On Windows Linux Subsystem (WSL2) it has been reported that in some cases "wslutilities" must be installed. Please follow instructions here for your flavour. For example on Ubuntu 22.04 LTS and later you must run:

sudo add-apt-repository ppa:wslutilities/wslu
sudo apt update
sudo apt install wslu

Contributing

Before making a contribution, please review our code of conduct.

  • Submitting Issues: To submit bug reports or feature requests, please use our issue tracker.
  • Developing in qadence: To learn more about how to develop within qadence, please refer to contributing guidelines.

Setting up qadence in development mode

We recommend to use the hatch environment manager to install qadence from source:

python -m pip install hatch

# get into a shell with all the dependencies
python -m hatch shell

# run a command within the virtual environment with all the dependencies
python -m hatch run python my_script.py

WARNING hatch will not combine nicely with other environment managers such as Conda. If you still want to use Conda, install it from source using pip:

# within the Conda environment
python -m pip install -e .

Users also report problems running Hatch on Windows, we suggest using WSL2.

Citation

If you use Qadence for a publication, we kindly ask you to cite our work using the following BibTex entry:

@article{qadence2025,
author = {Seitz, Dominik and Heim, Niklas and Moutinho, João and Guichard, Roland and Abramavicius, Vytautas and Wennersteen, Aleksander and Both, Gert-Jan and Quelle, Anton and Groot, Caroline and Velikova, Gergana and Elfving, Vincent and Dagrada, Mario},
year = {2025},
month = {01},
pages = {1-14},
title = {Qadence: a differentiable interface for digital and analog programs},
volume = {PP},
journal = {IEEE Software},
doi = {10.1109/MS.2025.3536607}
}

If you use the approximate Generalized parameter shift rule for your publication, we kindly ask you to cite:

@misc{2505.18090,
Author = {Vytautas Abramavicius and Evan Philip and Kaonan Micadei and Charles Moussa and Mario Dagrada and Vincent E. Elfving and Panagiotis Barkoutsos and Roland Guichard},
Title = {Evaluation of derivatives using approximate generalized parameter shift rule},
Year = {2025},
Eprint = {arXiv:2505.18090},
}

License

Qadence is a free and open source software package, released under the PASQAL OPEN-SOURCE SOFTWARE LICENSE (MIT-derived).

Metadata

Release files for qadence 1.11.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qadence 1.11.5
File Size Uploaded Provenance Actions
qadence-1.11.5.tar.gz 230.9 kB Without provenance Details for qadence-1.11.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qadence 1.11.5
File Interpreter ABI Platform Actions
qadence-1.11.5-py3-none-any.whl Python 3 none any Details for qadence-1.11.5-py3-none-any.whl

Total release size: 528.4 kB

Release files / qadence-1.11.5.tar.gz

Download URL qadence-1.11.5.tar.gz
Size 230.9 kB
Tags Source
SHA-256 checksum
How to use checksums
527de6dcfacc873769510e716fe6272856e56ab64eec00af41f83be3692807b8
BLAKE2b-256 checksum
How to use checksums
5d47c46f382dd8dccb9c29db0aefaba7d85edee8dfda9f2a8d31459998c24c9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / qadence-1.11.5-py3-none-any.whl

Download URL qadence-1.11.5-py3-none-any.whl
Size 297.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
831cea1a304cd4134ee49614dd6c70a912ac4719b1dba576930f9af7ed2a2f84
BLAKE2b-256 checksum
How to use checksums
583ce2277b486d91620e925449179cf01552ed34fa8695728c3a1518724fab26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Security for qadence 1.11.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.11.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page