bench

MQT Bench - A MQT Tool for Benchmarking Quantum Software Tools

https://github.com/munich-quantum-toolkit/bench

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    4 of 18 committers (22.2%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary

Keywords

benchmarking performance-testing quantum-circuits quantum-computing

Keywords from Contributors

routing energy-system-model sidb verification logic-synthesis mesh transformers energy-system layout fcn
Last synced: 6 months ago · JSON representation ·

Repository

MQT Bench - A MQT Tool for Benchmarking Quantum Software Tools

Basic Info
Statistics
  • Stars: 95
  • Watchers: 2
  • Forks: 21
  • Open Issues: 14
  • Releases: 42
Topics
benchmarking performance-testing quantum-circuits quantum-computing
Created over 4 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Citation Security Support

README.md

PyPI OS License: MIT CI CD Documentation codecov

MQT Logo

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

MQT Bench is a quantum circuit benchmark suite with cross-level support, i.e., providing the same benchmark algorithms for different abstraction levels throughout the quantum computing software stack. MQT Bench is hosted at https://www.cda.cit.tum.de/mqtbench/. It is part of the Munich Quantum Toolkit (MQT).

Documentation

Key Features

  • Comprehensive Quantum Benchmark Suite: Provides a wide range of quantum circuit benchmarks, including algorithms such as GHZ, QAOA, QFT, Grover, Shor, and many more. List of benchmarks
  • Cross-Level Benchmark Generation: Supports four abstraction levels—algorithmic, target-independent, target-dependent native gates, and target-dependent mapped—enabling benchmarking across the entire quantum software stack. Abstraction levels
  • Flexible Target and Gateset Support: Generate circuits for various hardware targets and native gatesets, including IBM, IonQ, Quantinuum, Rigetti, and more. Supported devices and gatesets
  • Python API, CLI, and Web Interface: Use MQT Bench programmatically via Python, from the command line, or through an interactive web interface—whichever fits your workflow. Usage guide
  • Parameterized and Mirror Circuits: Easily generate parameterized circuits (with random or symbolic parameters) and mirror circuits for robust benchmarking and error detection. Quickstart
  • Export to Standard Formats: Save generated circuits in OpenQASM 2, OpenQASM 3, and QPY formats for compatibility with other quantum tools. Output formats
  • Extensible and Open Source: Actively maintained, fully open-source, and designed for easy integration and extension within the quantum computing community.

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 the Munich Quantum Software Company (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:

  • 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

Sponsor the MQT

Getting Started

mqt.bench is available via PyPI.

console (.venv) $ pip install mqt.bench

The following code gives an example on the usage:

```python3 from mqt.bench import BenchmarkLevel, get_benchmark

Get a benchmark circuit on algorithmic level representing the GHZ state with 5 qubits

qcalgorithmiclevel = getbenchmark( benchmarkname="ghz", level=BenchmarkLevel.ALG, circuit_size=5 )

Draw the circuit

print(qcalgorithmiclevel.draw()) ```

[!NOTE] MQT Bench is also available as a PennyLane dataset.

Detailed documentation and examples are available at ReadTheDocs.

System Requirements

MQT Bench can be installed on all major operating systems with all supported Python versions. Building (and running) 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 MQT Bench paper:

bibtex @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://www.cda.cit.tum.de/mqtbench/}}, eprint = {2204.13719}, eprinttype = {arxiv} }

The Munich Quantum Toolkit (the project)

When discussing the overall MQT project or its ecosystem, cite the MQT Handbook:

bibtex @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

Owner

  • Name: The Munich Quantum Toolkit (MQT)
  • Login: munich-quantum-toolkit
  • Kind: organization
  • Email: lukas@munichquantum.software
  • Location: Germany

A collection of design automation tools and software for quantum computing

Citation (CITATION.bib)

@article{quetschlich2023mqtbench,
  title       = {{{MQT Bench}}: {Benchmarking Software and Design Automation Tools for Quantum Computing}},
  shorttitle  = {{MQT Bench}},
  journal     = {{Quantum}},
  author      = {Quetschlich, Nils and Burgholzer, Lukas and Wille, Robert},
  year        = {2023},
  doi         = {10.22331/q-2023-07-20-1062},
  eprint      = {2204.13719},
  primaryclass = {quant-ph},
  archiveprefix = {arxiv},
  note        = {{{MQT Bench}} is available at \url{https://www.cda.cit.tum.de/mqtbench/}},
}

GitHub Events

Total
  • Create event: 61
  • Release event: 1
  • Issues event: 22
  • Watch event: 3
  • Delete event: 59
  • Issue comment event: 102
  • Push event: 195
  • Pull request review event: 185
  • Pull request review comment event: 194
  • Pull request event: 139
  • Fork event: 4
Last Year
  • Create event: 61
  • Release event: 1
  • Issues event: 22
  • Watch event: 3
  • Delete event: 59
  • Issue comment event: 102
  • Push event: 195
  • Pull request review event: 185
  • Pull request review comment event: 194
  • Pull request event: 139
  • Fork event: 4

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 1,292
  • Total Committers: 18
  • Avg Commits per committer: 71.778
  • Development Distribution Score (DDS): 0.402
Past Year
  • Commits: 230
  • Committers: 9
  • Avg Commits per committer: 25.556
  • Development Distribution Score (DDS): 0.596
Top Committers
Name Email Commits
Nils Quetschlich N****h@t****e 772
pre-commit-ci[bot] 6****] 101
renovate[bot] 2****] 93
Nils n****h@g****m 79
dependabot[bot] 4****] 70
burgholzer b****r@m****m 62
Simon Hofmann s****n@t****e 33
Patrick Hopf 30
Patrick Hopf p****f@t****e 20
Patrick Hopf p****f@l****e 18
Stefan Hillmich s****h@j****t 4
Jan Drewniok 9****k 3
Nils Quetschlich n****s@N****x 2
ColoredCarrot 7****t 1
Darya Martyniuk 6****t 1
Jagatheesan Jack j****i@g****m 1
lgtm-com[bot] 4****] 1
Marcel Walter m****r@t****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 23
  • Total pull requests: 173
  • Average time to close issues: 8 months
  • Average time to close pull requests: 3 days
  • Total issue authors: 8
  • Total pull request authors: 9
  • Average comments per issue: 0.17
  • Average comments per pull request: 1.12
  • Merged pull requests: 139
  • Bot issues: 0
  • Bot pull requests: 91
Past Year
  • Issues: 19
  • Pull requests: 173
  • Average time to close issues: 3 months
  • Average time to close pull requests: 3 days
  • Issue authors: 7
  • Pull request authors: 9
  • Average comments per issue: 0.16
  • Average comments per pull request: 1.12
  • Merged pull requests: 139
  • Bot issues: 0
  • Bot pull requests: 91
Top Authors
Issue Authors
  • nquetschlich (11)
  • simon1hofmann (3)
  • Drewniok (2)
  • denialhaag (2)
  • flowerthrower (2)
  • burgholzer (1)
  • GBisi (1)
  • pehamTom (1)
Pull Request Authors
  • renovate[bot] (88)
  • simon1hofmann (44)
  • nquetschlich (24)
  • burgholzer (6)
  • CreativeBinBag (4)
  • mqt-app[bot] (3)
  • denialhaag (2)
  • Drewniok (1)
  • fkiwit (1)
Top Labels
Issue Labels
enhancement (8) minor (5) feature (5) high (5) medium (4) documentation (3) continuous integration (3) python (3) dependencies (3) refactor (2) bug (1) usability (1)
Pull Request Labels
dependencies (93) pre-commit (45) python (44) refactor (23) documentation (22) enhancement (17) feature (13) github-actions (13) continuous integration (6) usability (4) major (3) fix (2) packaging (1) mqt.bench.viewer (1) minor (1)

Dependencies

.github/workflows/codeql.yml actions
  • actions/checkout v4 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init v2 composite
.github/workflows/coverage.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3 composite
.github/workflows/deploy.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/mypy.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v4 composite
  • pre-commit/action v3.0.0 composite
.github/workflows/release-drafter.yml actions
  • release-drafter/release-drafter v5 composite
pyproject.toml pypi
  • flask >=2.0.0
  • importlib_metadata >=3.6; python_version < '3.10'
  • importlib_resources >=5.9; python_version < '3.10'
  • joblib >=1.3.0
  • networkx >=2.0.0
  • packaging >=21.0
  • pandas >=1.0.0
  • pyscf >=2.3.0
  • pytket-qiskit >=0.40.0,<0.47.0
  • qiskit_finance *
  • qiskit_nature *
  • qiskit_optimization *
  • tqdm >=4.0.0