Skip to main content

MQT Bench - A MQT tool for Benchmarking Quantum Software Tools

Project description

PyPI License: MIT CI Bindings codecov Documentation

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.

Documentation

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

MQT Bench is part of the Munich Quantum Toolkit (MQT) developed by the Chair for Design Automation at the Technical University of Munich and is hosted at https://www.cda.cit.tum.de/mqtbench/.

Getting Started

mqt-bench is available via PyPI.

(venv) $ pip install mqt.bench

The following code gives an example on the usage:

from mqt.bench import get_benchmark

# get a benchmark circuit on algorithmic level representing the GHZ state with 5 qubits
qc_algorithmic_level = get_benchmark(benchmark_name="dj", level="alg", circuit_size=5)

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

Repository Structure

  • src/mqt/: main source directory
    • bench: Directory for the MQT Bench package
    • bench/benchmarks: Directory for the benchmarks
    • benchviewer: Directory for the webpage (which can be started locally and is also hosted at https://www.cda.cit.tum.de/mqtbench/)
  • tests: Directory for the tests for MQT Bench

References:

In case you are using MQT Bench in your work, we would be thankful if you referred to it by citing the following publication:

@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},
  note={{{MQT Bench}} is available at \url{https://www.cda.cit.tum.de/mqtbench/}},
}

which is also available on arXiv: a

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mqt.bench-1.0.6.tar.gz (4.6 MB view hashes)

Uploaded Source

Built Distribution

mqt.bench-1.0.6-py3-none-any.whl (4.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page