Skip to main content

PyPI OS License: MIT CI CD Documentation codecov

MQT Logo

MQT Bench - Benchmarking Software and Design Automation Tools for Quantum Computing

MQT Bench generates quantum circuits for benchmarking quantum software tools. Choose an algorithm, a circuit size, and an abstraction level. Generate circuits at https://mqt-bench.app/, with Python, or from the command line. MQT Bench is part of the Munich Quantum Toolkit (MQT).

Documentation

Key Features

  • Generate algorithms such as GHZ, QAOA, QFT, Grover, and Shor at the algorithmic, target-independent, native-gate, or mapped level. Benchmark catalogue · Abstraction levels
  • Compile to a native gate set or map the circuit to a device model with restricted connectivity. Supported targets
  • Keep parameters symbolic, bind them to random angles, or generate a mirror circuit with a known ideal measurement result. Quickstart
  • Export circuits as OpenQASM 2, OpenQASM 3, or QPY. Output formats · Usage guide
  • MQT Bench circuits are also available as a PennyLane dataset.

If you have any questions, feel free to create a discussion or an issue on GitHub.

Contributors and Supporters

MQT Bench is developed by the Chair for Design Automation at the Technical University of Munich and 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.

MQT Partner Logos

Thank you to all the contributors who have helped make MQT Bench a reality!

Contributors to munich-quantum-toolkit/bench

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:

Sponsor the MQT

Getting Started

mqt.bench is available via PyPI.

uv pip install mqt.bench

Generate a five-qubit GHZ circuit at the algorithmic level:

from mqt.bench import BenchmarkLevel, get_benchmark

# Get a benchmark circuit on algorithmic level representing the GHZ state with 5 qubits
qc_algorithmic_level = get_benchmark(benchmark="ghz", level=BenchmarkLevel.ALG, circuit_size=5)

# Draw the circuit
print(qc_algorithmic_level.draw())

Detailed documentation and examples are available at ReadTheDocs.

System Requirements

MQT Bench can be installed on all major operating systems with all officially supported Python versions. It is continuously tested under Linux, macOS, and Windows using the latest available system versions for GitHub Actions.

Cite This

Please cite the work that best fits your use case.

MQT Bench (the tool)

When citing the software itself or results produced with it, cite the 2023 MQT Bench paper:

@article{quetschlich2023mqtbench,
  title        = {{{MQT Bench}}: {Benchmarking Software and Design Automation Tools for Quantum Computing}},
  shorttitle   = {{MQT Bench}},
  author       = {Quetschlich, Nils and Burgholzer, Lukas and Wille, Robert},
  year         = {2023},
  journal      = {{Quantum}},
  volume       = {7},
  pages        = {1062},
  doi          = {10.22331/q-2023-07-20-1062},
  note         = {{{MQT Bench}} is available at \url{https://mqt-bench.app/}},
  eprint       = {2204.13719},
  eprinttype   = {arxiv}
}

If you use the web interface to generate and download circuits, please also cite our 2026 QCE paper on use cases for software evaluation, hardware design, and AI training.

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}}
}

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.

MQT Funding Footer

Metadata

Release files for mqt-bench 2.4.0

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

Source distribution (sdist)

Source distribution for mqt-bench 2.4.0
File Size Uploaded Provenance Actions
mqt_bench-2.4.0.tar.gz 960.2 kB With provenance Details for mqt_bench-2.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mqt-bench 2.4.0
File Interpreter ABI Platform Actions
mqt_bench-2.4.0-py3-none-any.whl Python 3 none any Details for mqt_bench-2.4.0-py3-none-any.whl

Total release size: 1.1 MB

Release files / mqt_bench-2.4.0.tar.gz

Download URL mqt_bench-2.4.0.tar.gz
Size 960.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9b6ea4b5b42709723a8a3eb5392370e9ea2e5f572f2d9d96dcefb34c1ff665a0
BLAKE2b-256 checksum
How to use checksums
6499ce6703513dc2360efcbc52431f11e54800ecd6ee12be0efd1f86efd71595
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 13, 2026.

Transparency log

Release files / mqt_bench-2.4.0-py3-none-any.whl

Download URL mqt_bench-2.4.0-py3-none-any.whl
Size 110.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6629ba4e31cd0e54652c5b01f392b6baed2e3b520b71a8152b29c8d097fb3428
BLAKE2b-256 checksum
How to use checksums
ab9b20779a9f4e5ab880095a6ceac8e1b0cec19f7d871d2e913d026783808dde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 13, 2026.

Transparency log

Security for mqt-bench 2.4.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mqt_bench-2.4.0.tar.gz

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 Nov 13, 2026.

Transparency log

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

2.4.0 This release

2 release files Full 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