Skip to main content

A tool for Quantum Circuit Mapping

Project description

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).

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.qmap-1.11.1.tar.gz (3.7 MB view details)

Uploaded Source

Built Distributions

mqt.qmap-1.11.1-cp311-cp311-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.11 Windows x86-64

mqt.qmap-1.11.1-cp311-cp311-manylinux_2_28_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

mqt.qmap-1.11.1-cp311-cp311-macosx_11_0_arm64.whl (9.2 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mqt.qmap-1.11.1-cp310-cp310-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.10 Windows x86-64

mqt.qmap-1.11.1-cp310-cp310-manylinux_2_28_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

mqt.qmap-1.11.1-cp310-cp310-macosx_11_0_arm64.whl (9.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mqt.qmap-1.11.1-cp39-cp39-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.9 Windows x86-64

mqt.qmap-1.11.1-cp39-cp39-manylinux_2_28_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

mqt.qmap-1.11.1-cp39-cp39-macosx_11_0_arm64.whl (9.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mqt.qmap-1.11.1-cp38-cp38-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.8 Windows x86-64

mqt.qmap-1.11.1-cp38-cp38-manylinux_2_28_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

mqt.qmap-1.11.1-cp38-cp38-macosx_11_0_arm64.whl (9.2 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mqt.qmap-1.11.1-cp37-cp37m-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.7m Windows x86-64

mqt.qmap-1.11.1-cp37-cp37m-manylinux_2_28_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.28+ x86-64

File details

Details for the file mqt.qmap-1.11.1.tar.gz.

File metadata

  • Download URL: mqt.qmap-1.11.1.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for mqt.qmap-1.11.1.tar.gz
Algorithm Hash digest
SHA256 cf4b31da1d9039ecdf87990c037e72799c3acc3bcff668f1c470d35cfa9bdbde
MD5 879e902f3e59bb1d38180009b1e60552
BLAKE2b-256 4deb419a5dcb032a6aa120e62ff5c2beb6d748547ea04febc27bb9ce516535dc

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f1e9f413f7418f7e76e2fab8e923451ff9f26048e150c14b16352e9289635a5f
MD5 f1f4d8a3ff37cc7ee22084f939e5db14
BLAKE2b-256 af725e661e567d5428130e591ef0165b442fedf48043f6d48458282f49625446

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e75546d91c9dc4e4eed96b6522d7fe44c2fca6e1135d8344ac874773514e7ee5
MD5 f63371355860964aad636a22abdadf1a
BLAKE2b-256 3cb31897e65d2637c73d3e1c0878991cab5b6242a68fd1dffba630b2abba2cd9

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 74237549ee6e6e4650276b698564c12634dffdd54ff834049a0621b72f37bb69
MD5 57dfb75ec452aeb6488ff218e11d4451
BLAKE2b-256 1e664651ed0a16dbcd98528a9d715c9e4f57ec828750323eb6be36138cc50859

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7e03fb97935e5a4741a03ccaee2e378db094d3e0ea982fa81422bd6b714beecc
MD5 2a84abfaa25df4f19a2fc6bf1c923311
BLAKE2b-256 acad802da1158bfe0f2f59cd5e142ce28c0e662aae87feefd5dc66c96f44c944

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c6a17621df1e30d6467f31f1f860cdd6e0b2b8dfc7b99a2c0670763865aa9907
MD5 9eabbbbcc6b7694530a1d84ca9bc9b8c
BLAKE2b-256 33d090d059dde7a2c9f902baf9bf1966f3425f0206c7b173a3d7b4c69dad45cc

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 203a2450d8f51d807ee7f520e7b1e3472efcd2b2842dcf9f2d4fddd579a7af5e
MD5 fc7192f2b129cea6e07aadb12b054427
BLAKE2b-256 f42a5059ef43879f1b3416a4c17c12190a399e1b264b7e4c0a0b9d7b814536ad

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: mqt.qmap-1.11.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 7.7 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for mqt.qmap-1.11.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6baad40887f0bab163475a6e80d57cdca863657817a7bc83c3903156aa1cc34a
MD5 b0629fde19a1066c8e4cf3b83d14e631
BLAKE2b-256 1d94f02ec4c8dff043b89e1db5a4fc9ff3b8a24dde2925f8eba85e3cd172f2c1

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6932f9d91c1c7ece4c1a9f9dc5541f811f3498fc3f43bfe5575defa5610249fc
MD5 8adc3ccc4a5d3e184686b63aff6f8d08
BLAKE2b-256 dd3a572857dd493435bf6f079ef5bda66fb0cfa19d5addb40e7cdd3eb25bca72

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3113d700de8be483209a3c5e39c24f9bce70d74e63a8efdb41bff8ee2430e046
MD5 8b173d45851bb60ad49c7a03a26718c4
BLAKE2b-256 0b8476f34ef74d1cd8fcdfb31b6cb89dc2bd651707de512b6eaf02944a841283

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: mqt.qmap-1.11.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 7.7 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for mqt.qmap-1.11.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f0c6d66d7ade99303663a8ce474c8e53a6a697bd3cb0d7f1039f50158407929f
MD5 8b6dd94eaedfe708b115d56904d295aa
BLAKE2b-256 ae1077a1e7615a37cc0ab13876b8668e31501139ef4febb8f092f8e22813d611

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bc3b649c8bbd2753f8af15772f318c59a3fc1fdb22e1b7e1cdec202ccb1d0e58
MD5 175fbd76285cf6617f60127583cf7934
BLAKE2b-256 afb02cbb1bfdffa3b13e59b91367b3a6dc5b1184d322388c59cfed1ff3f760a9

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3981a7ee77738546ea667cf20a0ee76cb599c8574514e3c7179d5670480745e
MD5 105fd4f38e162ca0142959b04f7cd726
BLAKE2b-256 6c6ed248fe1078294828e58c3fe8bffce50b9b37ec8812e9b88f0a46c30dee7c

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 0f88eff08a8f417f8254b73f6ae8f784d95753ce8af4857bc021fdb70aab53cf
MD5 7695ff6c4484a779dffe87d288895776
BLAKE2b-256 9e9c2307573270f8b384b47c2a5bc83dbb0913af2bd14d232cf24933f6602eff

See more details on using hashes here.

Provenance

File details

Details for the file mqt.qmap-1.11.1-cp37-cp37m-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mqt.qmap-1.11.1-cp37-cp37m-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 56a1ffba76a512cadd02283451e13709c014cdf0931b2379b8568b849da1eade
MD5 79d9537d1252174d68420cd0e8c86539
BLAKE2b-256 04361f36a26bbb2fb1926060514f07ae7a17b66ad19b6bc44d3d302547d87836

See more details on using hashes here.

Provenance

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