Skip to main content

PyPI OS License: MIT CI Python-CI Bindings Documentation codecov

MQT QMAP - A tool for Quantum Circuit Compilation

A tool for quantum circuit compilation developed as part of the Munich Quantum Toolkit (MQT)1 by the Chair for Design Automation at the Technical University of Munich. It builds upon our quantum functionality representation (QFR). .

Documentation

If you have any questions, feel free to contact us via quantum.cda@xcit.tum.de or by creating an issue on GitHub.

Getting Started

QMAP is available via PyPI for Linux, macOS, and Windows.

(venv) $ pip install mqt.qmap

Compiling a given quantum circuit to a certain device is as easy as

from mqt import qmap
from qiskit import QuantumCircuit
from qiskit.providers.fake_provider import FakeLondon

circ = QuantumCircuit(3)
circ.h(0)
circ.cx(0, 1)
circ.cx(0, 2)

circ_mapped, results = qmap.compile(circ, arch=FakeLondon())

Detailed documentation on all available methods, options, and input formats is available at ReadTheDocs.

System Requirements and Building

The implementation is compatible with any C++17 compiler and a minimum CMake version of 3.19. Please refer to the documentation on how to build the project.

Building (and running) is continuously tested under Linux, macOS, and Windows using the latest available system versions for GitHub Actions.

References

QMAP has been developed based on methods proposed in the following papers:

[1] A. Zulehner, A. Paler, and R. Wille. An Efficient Methodology for Mapping Quantum Circuits to the IBM QX Architectures. IEEE Transactions on Computer Aided Design of Integrated Circuits and Systems (TCAD), 2018.

[2] R. Wille, L. Burgholzer, and A. Zulehner. Mapping Quantum Circuits to IBM QX Architectures Using the Minimal Number of SWAP and H Operations. In Design Automation Conference (DAC), 2019.

[3] S. Hillmich, A. Zulehner, and R. Wille. Exploiting Quantum Teleportation in Quantum Circuit Mapping. In Asia and South Pacific Design Automation Conference (ASP-DAC), 2021.

[4] L. Burgholzer, S. Schneider, and R. Wille. Limiting the Search Space in Optimal Quantum Circuit Mapping. In Asia and South Pacific Design Automation Conference (ASP-DAC), 2022.

[5] T. Peham, L. Burgholzer, and R. Wille. On Optimal Subarchitectures for Quantum Circuit Mapping. arXiv:2210.09321, 2022.

  1. The Munich Quantum Toolkit was formerly known under the acronym JKQ and developed by the Institute for Integrated Circuits at the Johannes Kepler University Linz). ↩

Metadata

Release files for mqt-qmap 1.12.1

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-qmap 1.12.1
File Size Uploaded
mqt.qmap-1.12.1.tar.gz 3.7 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for mqt-qmap 1.12.1
File
mqt.qmap-1.12.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
mqt.qmap-1.12.1-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
mqt.qmap-1.12.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
mqt.qmap-1.12.1-cp311-cp311-macosx_10_15_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.15+ x86-64 Details
mqt.qmap-1.12.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
mqt.qmap-1.12.1-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details
mqt.qmap-1.12.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
mqt.qmap-1.12.1-cp310-cp310-macosx_10_15_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.15+ x86-64 Details
mqt.qmap-1.12.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
mqt.qmap-1.12.1-cp39-cp39-manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64 Details
mqt.qmap-1.12.1-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
mqt.qmap-1.12.1-cp39-cp39-macosx_10_15_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.15+ x86-64 Details
mqt.qmap-1.12.1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
mqt.qmap-1.12.1-cp38-cp38-manylinux_2_28_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.28+ x86-64 Details
mqt.qmap-1.12.1-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details
mqt.qmap-1.12.1-cp38-cp38-macosx_10_15_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.15+ x86-64 Details
mqt.qmap-1.12.1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
mqt.qmap-1.12.1-cp37-cp37m-manylinux_2_28_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.28+ x86-64 Details
mqt.qmap-1.12.1-cp37-cp37m-macosx_10_15_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64 Details

Total release size: 197.9 MB

Release files / mqt.qmap-1.12.1.tar.gz

Download URL mqt.qmap-1.12.1.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
941dac5e26cd948b3a4dfe2b59d7a6df26cf52157088fd0418edc93f97d33611
BLAKE2b-256 checksum
How to use checksums
b3cfd68c7140d9c4f76bd75e6f12ca3d466368b6c0765bd3fd146c4cc62f0cb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp311-cp311-win_amd64.whl

Download URL mqt.qmap-1.12.1-cp311-cp311-win_amd64.whl
Size 7.8 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
0453da4b584378d2c00e7702bc7491783b3ff21eaa75f11a24c054743c5f932c
BLAKE2b-256 checksum
How to use checksums
8e74ced9697299b81606914cf1eb258bd555d9ed606690cbdd13886b38187a8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL mqt.qmap-1.12.1-cp311-cp311-manylinux_2_28_x86_64.whl
Size 12.9 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
55258069892a9c3bdfa2316b5e701b681ee839116413eca5e57d10aa4801f193
BLAKE2b-256 checksum
How to use checksums
a85a4fdac3861953d7e5bb8f96ca48669b0bab38cfddcec77944bf1a6521748d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL mqt.qmap-1.12.1-cp311-cp311-macosx_11_0_arm64.whl
Size 9.2 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9908bbc1b642849906f4887490dbbbc5805094169861cfeb7d64c5b80611856a
BLAKE2b-256 checksum
How to use checksums
9a75d9f312e13a49de9960c70851f8557c39a9c92a901fe362772fe7f8e4a48f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp311-cp311-macosx_10_15_x86_64.whl

Download URL mqt.qmap-1.12.1-cp311-cp311-macosx_10_15_x86_64.whl
Size 10.7 MB
Tags CPython 3.11 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
d7bb2c1590868c2065ac241eeccdf006fad87caf98e4f1bcf3fca0d050a78290
BLAKE2b-256 checksum
How to use checksums
eabc3435af7d2abee1b883d4f5eaa71348ba47466b1b63625a31d55a5c22f082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp310-cp310-win_amd64.whl

Download URL mqt.qmap-1.12.1-cp310-cp310-win_amd64.whl
Size 7.8 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
70a6ebe272fdc4ccbcf37452e92e41e4fa4a1b43b64bccf143f7fd5e8a17f3f0
BLAKE2b-256 checksum
How to use checksums
c647cc5f1dc8c5f661a9b20e8b8d5b8057528ece2a5e948f579c864ed671ef43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL mqt.qmap-1.12.1-cp310-cp310-manylinux_2_28_x86_64.whl
Size 12.9 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fdbb73825b73bbfd20e376981f3a24134d8f4783099f740e00e348ee21f49388
BLAKE2b-256 checksum
How to use checksums
084371bca2b5fd57148d18754761b67ba0bfa29e20faecaec3ac21f33423bc26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL mqt.qmap-1.12.1-cp310-cp310-macosx_11_0_arm64.whl
Size 9.2 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
52d4a78683240749b34d76200d5bf023ef61d27e3508b8c652eeafe16befac9d
BLAKE2b-256 checksum
How to use checksums
be578ecc5b5373a00218c03bcfab0903a1c3e9813482d12bcda8319deaab7e67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp310-cp310-macosx_10_15_x86_64.whl

Download URL mqt.qmap-1.12.1-cp310-cp310-macosx_10_15_x86_64.whl
Size 10.7 MB
Tags CPython 3.10 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
b1786541344df5ffd9d1c66b86eb37675a4b870ecf9d3ae3661e63a11192bc46
BLAKE2b-256 checksum
How to use checksums
01cb3c86403383fe341fd5232624402c6cc41ee4e9072e9ed5f51257fbbd632d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp39-cp39-win_amd64.whl

Download URL mqt.qmap-1.12.1-cp39-cp39-win_amd64.whl
Size 7.8 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
f4bf1abcc8fe623a53aa4eab95834fe0265fe3c4a8bf3254db039933a9c4b5eb
BLAKE2b-256 checksum
How to use checksums
ee17df5bc9ae302d6e15dd9908d0eb85cd341855096060f2d68875c59560621a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL mqt.qmap-1.12.1-cp39-cp39-manylinux_2_28_x86_64.whl
Size 12.9 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d6840027c26d73392ff9cb4e7d8da2c96e9fdda36f75985be1b65070942c9931
BLAKE2b-256 checksum
How to use checksums
fb44ae89b30460793632a4b9fabdba4d97f73dbcabb23a90453b00099bc95f46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp39-cp39-macosx_11_0_arm64.whl

Download URL mqt.qmap-1.12.1-cp39-cp39-macosx_11_0_arm64.whl
Size 9.2 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
22ee6bda218a525cfb0eaf1f2ff5bde6fae1756ab36a5923f6cf0652b963213f
BLAKE2b-256 checksum
How to use checksums
89c70edf2d1321c4e2b64d02d3ad844c1f8ae23340c4076687482ba19e600696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp39-cp39-macosx_10_15_x86_64.whl

Download URL mqt.qmap-1.12.1-cp39-cp39-macosx_10_15_x86_64.whl
Size 10.7 MB
Tags CPython 3.9 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
3a158184bca1e894fcabbc2f113f8938140693483c43640ecde5f76bc451b98b
BLAKE2b-256 checksum
How to use checksums
500c565a964f12f089b3a6a8bc96d0848b3d114efb46bdfc8810d3f4ad7e0e3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp38-cp38-win_amd64.whl

Download URL mqt.qmap-1.12.1-cp38-cp38-win_amd64.whl
Size 7.8 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
44eb233cfb6fb1ca84eccc1fa7f33db87ea24ffa2fd80f246cfe8fee74bf8985
BLAKE2b-256 checksum
How to use checksums
77260df69ef41e728f157210311fd0a1711acc46b73909712912526c1beb41bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp38-cp38-manylinux_2_28_x86_64.whl

Download URL mqt.qmap-1.12.1-cp38-cp38-manylinux_2_28_x86_64.whl
Size 12.9 MB
Tags CPython 3.8 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a0f0b7aae17556b9f9f154c33e5716fde57edbd24cdb104fe10fc691ca0d1aaf
BLAKE2b-256 checksum
How to use checksums
f3575bfffc509f40cb28ff34909b9e348a9a3a2b0abd719c29bf45445c6fa945
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp38-cp38-macosx_11_0_arm64.whl

Download URL mqt.qmap-1.12.1-cp38-cp38-macosx_11_0_arm64.whl
Size 9.2 MB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
13355cc4dd0380b105037b1c4a514b3ac4487c186c64e575290ccb3d23a58f3d
BLAKE2b-256 checksum
How to use checksums
fb258d526e27d251f691025391abccc20e39652e7ce8ded3b2c468e85dc1bad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp38-cp38-macosx_10_15_x86_64.whl

Download URL mqt.qmap-1.12.1-cp38-cp38-macosx_10_15_x86_64.whl
Size 10.7 MB
Tags CPython 3.8 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
44e4c004c60b9bcefe273aa3fb37583817bc374384f8aee95793f3f41ed63ab8
BLAKE2b-256 checksum
How to use checksums
7633b8bda5e6b3c9d30b8aa8a6097fa31dc710c4e160e717b7b4afa087148dd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp37-cp37m-win_amd64.whl

Download URL mqt.qmap-1.12.1-cp37-cp37m-win_amd64.whl
Size 7.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
1debfe5c46f7744765c8dcaceb2402ea624991d553a5e427e13794a8303798c8
BLAKE2b-256 checksum
How to use checksums
71b97148857c36d5d80dab847bdd68516e32abc2f46ae94821a6299df3160947
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp37-cp37m-manylinux_2_28_x86_64.whl

Download URL mqt.qmap-1.12.1-cp37-cp37m-manylinux_2_28_x86_64.whl
Size 13.0 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b903c69d11733f720f342633dbe4e7c297a499ee32c3617651a477879d376a40
BLAKE2b-256 checksum
How to use checksums
5e5041e4526732173f38d533c2a4f4fc43ed54a5411418856870320e3a939a59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / mqt.qmap-1.12.1-cp37-cp37m-macosx_10_15_x86_64.whl

Download URL mqt.qmap-1.12.1-cp37-cp37m-macosx_10_15_x86_64.whl
Size 10.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
94cfe27741a9994b1c6394240497fbb58a775eb33ffaaf8dff80c6a7a4a0b1e4
BLAKE2b-256 checksum
How to use checksums
3beff2704f6a0a8fdac1fa91d528517edae82a2c328c2fafebfad78cc0deb596
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1
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