MQT DDSIM - A quantum circuit simulator based on decision diagrams written in C++
A tool for classical quantum circuit simulation developed as part of the Munich Quantum Toolkit (MQT). It builds upon MQT Core, which forms the backbone of the MQT.
Key Features
- Decision-diagram–based circuit simulation: Circuit Simulator—strong (statevector) and weak (sampling), incl. mid‑circuit measurements and resets; Qiskit backends (qasm_simulator and statevector_simulator). Quickstart • API
- Unitary simulation: Unitary Simulator with an optional alternative recursive construction for improved intermediate compactness.
- Hybrid Schrödinger–Feynman simulation: Hybrid simulator trading memory for runtime with DD and amplitude modes plus multithreading; also available as a statevector backend.
- Simulation Path Framework: Path-based simulation with strategies sequential, pairwise_recursive, bracket, and alternating.
- Noise-aware simulation: Stochastic and deterministic noise (amplitude damping, depolarization, phase flip; density-matrix mode) for global decoherence and gate errors.
- Qiskit-native API: Provider backends and Primitives (Sampler and Estimator) for algorithm-friendly workflows. API
- Decision-diagram visualization: inspect states/unitaries via Graphviz export; see Circuit Simulator and Unitary Simulator.
- Standalone CLI: fast C++ executables with JSON output; e.g., ddsim_simple.
- Efficient and portable: C++20 core with DD engines; prebuilt wheels for Linux/macOS/Windows via PyPI.
If you have any questions, feel free to create a discussion or an issue on GitHub.
Contributors and Supporters
The Munich Quantum Toolkit (MQT) is developed by the Chair for Design Automation at the Technical University of Munich and supported by MQSC. Among others, it is part of the Munich Quantum Software Stack (MQSS) ecosystem, which is being developed as part of the Munich Quantum Valley (MQV) initiative.
Thank you to all the contributors who have helped make MQT DDSIM a reality!
The MQT will remain free, open-source, and permissively licensed—now and in the future. We are firmly committed to keeping it open and actively maintained for the quantum computing community.
To support this endeavor, please consider:
- Starring and sharing our repositories: https://github.com/munich-quantum-toolkit
- Contributing code, documentation, tests, or examples via issues and pull requests
- Citing the MQT in your publications (see Cite This)
- Citing our research in your publications (see References)
- Using the MQT in research and teaching, and sharing feedback and use cases
- Sponsoring us on GitHub: https://github.com/sponsors/munich-quantum-toolkit
Getting Started
MQT DDSIM bundled with the provider and backends for Qiskit is available via PyPI.
uv pip install mqt.ddsim
The following code gives an example on the usage:
from qiskit import QuantumCircuit
from mqt import ddsim
circ = QuantumCircuit(3)
circ.h(0)
circ.cx(0, 1)
circ.cx(0, 2)
print(circ.draw(fold=-1))
backend = ddsim.DDSIMProvider().get_backend("qasm_simulator")
job = backend.run(circ, shots=10000)
counts = job.result().get_counts(circ)
print(counts)
Detailed documentation and examples are available at ReadTheDocs.
System Requirements and Building
Building the project requires a C++ compiler with support for C++20 and CMake 3.28 or newer. For details on how to build the project, please refer to the documentation. Building (and running) is continuously tested under Linux, macOS, and Windows using the latest available system versions for GitHub Actions. MQT DDSIM is compatible with all officially supported Python versions.
Cite This
Please cite the work that best fits your use case.
MQT DDSIM (the tool)
When citing the software itself or results produced with it, cite the original DD simulation paper:
@article{zulehner2019advanced,
title = {Advanced Simulation of Quantum Computations},
author = {Zulehner, Alwin and Wille, Robert},
year = 2019,
journal = {tcad},
volume = 38,
number = 5,
pages = {848--859},
doi = {10.1109/TCAD.2018.2834427}
}
The Munich Quantum Toolkit (the project)
When discussing the overall MQT project or its ecosystem, cite the MQT Handbook:
@inproceedings{mqt,
title = {The {{MQT}} Handbook: {{A}} Summary of Design Automation Tools and Software for Quantum Computing},
shorttitle = {{The MQT Handbook}},
author = {Wille, Robert and Berent, Lucas and Forster, Tobias and Kunasaikaran, Jagatheesan and Mato, Kevin and Peham, Tom and Quetschlich, Nils and Rovara, Damian and Sander, Aaron and Schmid, Ludwig and Schoenberger, Daniel and Stade, Yannick and Burgholzer, Lukas},
year = 2024,
booktitle = {IEEE International Conference on Quantum Software (QSW)},
doi = {10.1109/QSW62656.2024.00013},
eprint = {2405.17543},
eprinttype = {arxiv},
addendum = {A live version of this document is available at \url{https://mqt.readthedocs.io}}
}
Peer-Reviewed Research
When citing the underlying methods and research, please reference the most relevant peer-reviewed publications from the list below:
[1] A. Zulehner and R. Wille. Advanced Simulation of Quantum Computations. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (TCAD), 2019.
[2] S. Hillmich, I. L. Markov, and R. Wille. Just Like the Real Thing: Fast Weak Simulation of Quantum Computation. In Design Automation Conference (DAC), 2020.
[3] S. Hillmich, R. Kueng, I. L. Markov, and R. Wille. As Accurate as Needed, as Efficient as Possible: Approximations in DD-based Quantum Circuit Simulation. In Design, Automation and Test in Europe (DATE), 2021.
[4] L. Burgholzer, H. Bauer, and R. Wille. Hybrid Schrödinger–Feynman Simulation of Quantum Circuits with Decision Diagrams. In IEEE International Conference on Quantum Computing and Engineering (QCE), 2021.
[5] L. Burgholzer, A. Ploier, and R. Wille. Exploiting Arbitrary Paths for the Simulation of Quantum Circuits with Decision Diagrams. In Design, Automation and Test in Europe (DATE), 2022.
[6] T. Grurl, J. Fuß, and R. Wille. Noise-aware Quantum Circuit Simulation with Decision Diagrams. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (TCAD), 2022.
Acknowledgements
The Munich Quantum Toolkit has been supported by the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation program (grant agreement No. 101001318), the Bavarian State Ministry for Science and Arts through the Distinguished Professorship Program, as well as the Munich Quantum Valley, which is supported by the Bavarian state government with funds from the Hightech Agenda Bayern Plus.
Release files for mqt-ddsim 2.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mqt_ddsim-2.6.0.tar.gz | 291.1 kB | Details |
Built distributions (wheels)
Total release size: 3.6 MB
Release files / mqt_ddsim-2.6.0.tar.gz
| Download URL | mqt_ddsim-2.6.0.tar.gz |
|---|---|
| Size | 291.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9dcb966e331590d614eb873f793e5f33086563437422eb6960c7703958fd08e0
|
|
BLAKE2b-256 checksum How to use checksums |
5268ac37adec04459c7c482dbfc8654cef075dfec92850070865a4a3589703f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / mqt_ddsim-2.6.0-cp315-abi3t-win_arm64.whl
| Download URL | mqt_ddsim-2.6.0-cp315-abi3t-win_arm64.whl |
|---|---|
| Size | 596.1 kB |
| Tags | CPython 3.15 Windows ARM64 abi3t |
|
SHA-256 checksum How to use checksums |
f2b5cfd57670ecec46940b1cd00270b96b9bca6a45c81f7e2dae0c6c981e8eb1
|
|
BLAKE2b-256 checksum How to use checksums |
31066ebabea7421181a1a4c723aae4e44b7369319c6799f6d5817f5021cb025c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / mqt_ddsim-2.6.0-cp315-abi3t-win_amd64.whl
| Download URL | mqt_ddsim-2.6.0-cp315-abi3t-win_amd64.whl |
|---|---|
| Size | 423.4 kB |
| Tags | CPython 3.15 Windows x86-64 abi3t |
|
SHA-256 checksum How to use checksums |
f057f799dfe897d06b59eefcdc3c8b3e456125e99afbbc2ea72cad5b9a4032a0
|
|
BLAKE2b-256 checksum How to use checksums |
6523b3673016da70e4089dd41a4284faa19f1e7c00a3ed8dd2e831eb67356dc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / mqt_ddsim-2.6.0-cp315-abi3t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | mqt_ddsim-2.6.0-cp315-abi3t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 256.1 kB |
| Tags | CPython 3.15 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3t |
|
SHA-256 checksum How to use checksums |
3f8c91d51e00a547e262d4f84952c408ee38ef7e701e4941c93e9d75a05fd3b5
|
|
BLAKE2b-256 checksum How to use checksums |
3524795b2cd0ba1cac1f723e8c3960d4e9f15f3fd32f804890386b5decf50994
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / mqt_ddsim-2.6.0-cp315-abi3t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | mqt_ddsim-2.6.0-cp315-abi3t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 198.4 kB |
| Tags | CPython 3.15 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 abi3t |
|
SHA-256 checksum How to use checksums |
97c7898574d76ad0dafcf30ddf3cc610ea5a92c5d8890973978b9c8027ecabb1
|
|
BLAKE2b-256 checksum How to use checksums |
e22765e4aaaa6d6da9babfd82f9ea32f55adce731537e3f691e65ea786a569bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / mqt_ddsim-2.6.0-cp315-abi3t-macosx_13_0_arm64.whl
| Download URL | mqt_ddsim-2.6.0-cp315-abi3t-macosx_13_0_arm64.whl |
|---|---|
| Size | 176.9 kB |
| Tags | CPython 3.15 abi3t macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5728ef604ed97cc33e3728b0dc7aa3d282b5d87c99dd3ba788a06bf9454b23cb
|
|
BLAKE2b-256 checksum How to use checksums |
f247b2e8c10e6f851925a0b64008a95308a8a28e6d500f8403d8e9096d7c801b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / mqt_ddsim-2.6.0-cp311-abi3-win_arm64.whl
| Download URL | mqt_ddsim-2.6.0-cp311-abi3-win_arm64.whl |
|---|---|
| Size | 578.8 kB |
| Tags | CPython 3.11 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
720dd6be2d7a32e2d6aec8c5e3f0be6fc480885a46d281472801fd48438915df
|
|
BLAKE2b-256 checksum How to use checksums |
646db2bb9f9c677e8c49ecdd5cfce80d234682f009e20069bb5dab9b68efb69b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / mqt_ddsim-2.6.0-cp311-abi3-win_amd64.whl
| Download URL | mqt_ddsim-2.6.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 411.0 kB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
50640cb21e26a3447ee69fdb5363dca32414d5f15b7980dc90f16f87d6b4f5f2
|
|
BLAKE2b-256 checksum How to use checksums |
c634a54e557eeb7a0c0e9e530958f62abc0571374b0d76f9a3d5ec31ff4eeb67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / mqt_ddsim-2.6.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | mqt_ddsim-2.6.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 256.0 kB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
060bb35bfd3a8465cc1946cbc44d38a7391e8b3c015c0b8bb25e2b65f755c41e
|
|
BLAKE2b-256 checksum How to use checksums |
f2753c44a88e2813cdf76ccba5543d500d4db90f418e39013f1784ceef1bcf92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / mqt_ddsim-2.6.0-cp311-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | mqt_ddsim-2.6.0-cp311-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 198.5 kB |
| Tags | CPython 3.11 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
c11813419fe4db17d8991fdbf5d85eb4ac7065ebb46b0bf6c5e55ed314a4d8c0
|
|
BLAKE2b-256 checksum How to use checksums |
c5f8c05c24578ac120a3ee5b1dee3a0476f828ee4fa0fd12ea2a96ccfb1cdd13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / mqt_ddsim-2.6.0-cp311-abi3-macosx_13_0_arm64.whl
| Download URL | mqt_ddsim-2.6.0-cp311-abi3-macosx_13_0_arm64.whl |
|---|---|
| Size | 176.7 kB |
| Tags | CPython 3.11 abi3 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d1913719b03ecd947c1aeb5e49c53fbf94871c3d4c672758238b6cfc9aaad9f0
|
|
BLAKE2b-256 checksum How to use checksums |
c5ca79194b868a2408f5f5f097462b083e5d93e6a24d3900251302829a3cd1e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency log