Skip to main content

MQT DDSIM - A quantum simulator based on decision diagrams written in C++

Project description

PyPI OS License: MIT CI Bindings Documentation codecov

MQT DDSIM - A quantum circuit simulator based on decision diagrams written in C++

A tool for classical quantum circuit simulation by the Chair for Design Automation at the Technical University of Munich. QCEC is part of the Munich Quantum Toolkit (MQT; formerly known as JKQ and developed by the Institute for Integrated Circuits at the Johannes Kepler University Linz). It builds upon our quantum functionality representation (QFR) and our decision diagram (DD) package.

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

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

DDSIM bundled with the provider and backends for Qiskit is available via PyPI for Linux, macOS, and Windows.

(venv) $ pip install mqt.ddsim

The following code gives an example on the usage:

from qiskit import *
from mqt import ddsim

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

print(circ.draw(fold=-1))

backend = ddsim.DDSIMProvider().get_backend('qasm_simulator')

job = execute(circ, backend, shots=10000)
counts = job.result().get_counts(circ)
print(counts)

System Requirements and Building

The implementation is compatible with any C++17 compiler and a minimum CMake version of 3.14. 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

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

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.ddsim-1.12.3.tar.gz (6.4 MB view details)

Uploaded Source

Built Distributions

mqt.ddsim-1.12.3-cp311-cp311-win_amd64.whl (501.4 kB view details)

Uploaded CPython 3.11 Windows x86-64

mqt.ddsim-1.12.3-cp311-cp311-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (734.7 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.3-cp311-cp311-macosx_11_0_arm64.whl (548.0 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mqt.ddsim-1.12.3-cp311-cp311-macosx_10_15_x86_64.whl (861.7 kB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

mqt.ddsim-1.12.3-cp310-cp310-win_amd64.whl (501.4 kB view details)

Uploaded CPython 3.10 Windows x86-64

mqt.ddsim-1.12.3-cp310-cp310-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (734.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.3-cp310-cp310-macosx_11_0_arm64.whl (548.0 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mqt.ddsim-1.12.3-cp310-cp310-macosx_10_15_x86_64.whl (861.7 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mqt.ddsim-1.12.3-cp39-cp39-win_amd64.whl (501.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

mqt.ddsim-1.12.3-cp39-cp39-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (735.0 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.3-cp39-cp39-macosx_11_0_arm64.whl (548.1 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mqt.ddsim-1.12.3-cp39-cp39-macosx_10_15_x86_64.whl (861.8 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mqt.ddsim-1.12.3-cp38-cp38-win_amd64.whl (501.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

mqt.ddsim-1.12.3-cp38-cp38-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (734.8 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.3-cp38-cp38-macosx_11_0_arm64.whl (548.2 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mqt.ddsim-1.12.3-cp38-cp38-macosx_10_15_x86_64.whl (861.8 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

mqt.ddsim-1.12.3-cp37-cp37m-win_amd64.whl (512.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

mqt.ddsim-1.12.3-cp37-cp37m-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (743.5 kB view details)

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

mqt.ddsim-1.12.3-cp37-cp37m-macosx_10_15_x86_64.whl (858.0 kB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

Details for the file mqt.ddsim-1.12.3.tar.gz.

File metadata

  • Download URL: mqt.ddsim-1.12.3.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for mqt.ddsim-1.12.3.tar.gz
Algorithm Hash digest
SHA256 2c7d9efee2834d7752407cce4a341a94a20f5933a397914223f4689e3c6a192e
MD5 f3a3e34e1d534563feb9e2aaa67a9190
BLAKE2b-256 200d4360b52b30c4f759a723b112534c9d2b2247109418924958da2773d38587

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3297a6cb9f7909dc8f48aace0a869a8e5bf99500d9a18f48ab77f5158affd8aa
MD5 616ad7c21932c6c53eb5897483486428
BLAKE2b-256 e9acbf074c31999b03952c5bb7455126e49eb7425b5394bb9a81d50f71ff88bd

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0f7b41cda1a8f512cbc93ca3bbcf0f9727157f92fec57639b3558a7091f60665
MD5 f55a4b31d42cd4bdfdad4895e839fb77
BLAKE2b-256 036da96802a0411339d1010e6e2a77d0e1a20d2059d78ca883bc80e814d640ed

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0a64188d60e7995832cc0ac5b724e2a37cb24a917768aa4b19fcebf0723c25cf
MD5 1a5a9453d353804372592ef74bb97f0b
BLAKE2b-256 419788ed75e3b3603c47b1219dda323394ce142d5ac889bff169b81b2df3dd08

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1acc1d162546cbebaf7ae89baf0994a366e846bff156a6dd5f4037dd8f4671bc
MD5 15b8cf978ffbd5be5dc1c8ded456fd61
BLAKE2b-256 f32894dfd1364b56fc64a5b365dc905d96ee6f342e7b0c817cbcc27c9817a91b

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2c48489e5d38f8d0e7ab2ed9d8da02e8657ee414b60602fd68eb180b3065869e
MD5 109d9347147bb4134f5c4769e955aa0e
BLAKE2b-256 bebdf0ef279537f1c686f919290e64beafd7398ff6a8c86d984825bfda468b6b

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4f3860f28435b6abd915e5c520fc63a40bc3beb8d480bd54c8d0f8d767cbaea8
MD5 cea3eba56ff5ac67c5cabba96f6247ce
BLAKE2b-256 c8c98c1990cd79231a073c0ec7296682e319b2eeb75e08c22d387a55630682be

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 af8f3b3781f22c8301599d688e712f0b2947045c2e3c6b6b515e4abeacfa6300
MD5 ad67cbf4166648f7af70a09aad85a3ec
BLAKE2b-256 2d3e8921d3e54f886423e219daa6584d8bd283fdbf481fefa900bfdc3d50058f

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 08e0f1bc1bb565cc62a47f4d26ef4d7966e5e83a48ca33b6fd76d7e5ec8fe427
MD5 e8fcc0723b4b3c52e1cf88ece681651e
BLAKE2b-256 d4825d7c8e80fed3255f02c9108a38971cebff141e49c9a7d081f599f3c425c2

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 056840a14dd30b554e415bccbd86949debfe20e545c78bbc3b115b5de0fec787
MD5 931dc6d8e3c9e9adae6f8fc5f9a6b0c9
BLAKE2b-256 9b6f729b18a0c8e852e455de641c3f5e881a02467d71f6b4e4305bcf1d05a3cf

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9a254d9741c0d65ef6f47bbc88259f4a21360d09e575b8a6a5c5db9239e292a9
MD5 7ce3a69f36aa5ec81c969d802edbc291
BLAKE2b-256 384849cd2d7a84c3eb9a14a46fb001e35d49758b41c0e9e95c01722c77879c60

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: mqt.ddsim-1.12.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 501.4 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for mqt.ddsim-1.12.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5089ce6f94a63bcdc725e97510ef7f3164f91560037dcf58c82434b15b6b65d1
MD5 a486a9f08c571e040f4030191d2cb029
BLAKE2b-256 0ad3739fe53591faf5b13f7186660d98963c58b825b1bbf59a9bdfff0e8409fd

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 26dfb05f67350e16ef8f3209e0cde5917e0545c10ade592a31099fcc61b3a509
MD5 ab11c10d72af4cae052750eb50e0ef41
BLAKE2b-256 064de141398351882834c15574adbbcf1dd8d2b161bfb1d41bea15b5b99fa353

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3fb4a3256ffe037537783db9bbc9be04748aa2210d815704838a028fee467ed4
MD5 1b17f8946fdd67ea3b0b7b2820a9c55f
BLAKE2b-256 748eb9d676c6c33cc79c6bee81f0028692f888bc502d90c9a7e9bb4b9f175739

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e8623db8acac67d60b506bc01efae025851d35a9638f9aa586497c09b25b3579
MD5 9bc906034780c8140d44ea06536c328e
BLAKE2b-256 a69698c1b5446f08655a039082cc5b5fe7822c404ab6ad5a0290798203164763

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 db36477ccd208128377d4a1875ca1a7f2d5a1f00a5773822cfaf70cd71ce799c
MD5 ee0b7508d2ac5c24f624e204b6af6fc7
BLAKE2b-256 eb2baa53df742b848982d6e578c3f517002ff87363dc7070505134d47b1113a7

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: mqt.ddsim-1.12.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 501.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for mqt.ddsim-1.12.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 16152ff79a3990abb7b72208520cfb1640c66ec59d6ea4a4fdadece75d84eac4
MD5 7188096c2fea91797d04e15e01db6d2e
BLAKE2b-256 6ed25932fb9d25f65b18ff5253ce64e03eaf41566cdddbb6d9bd823121140467

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0c13848b2a5e34b4280a279497c75594d1f84d2d9a1e33e62a0f56536c1fd915
MD5 ebe7d979b1040a2c1c08f3d37e193c33
BLAKE2b-256 44c1a61c097c52be7a09aa533cbff3616acf71194919544de472af8fb41f45de

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fce7bb22725f53859460a19d79d0771f885e49c6de3a9b8c7b0bcbc7dd396ab8
MD5 1c63f0acbe35c86dfb02621ed419c085
BLAKE2b-256 0c9b38021d3d3d0599d85d670fe21a529507b32f27b199a9e14ab70c7e71d546

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a9ffb43c7fc221caf692c3928dd065c11922e558f473b18c2a17713d98768666
MD5 049b92a334cf58075a7e0837535919b2
BLAKE2b-256 ebc6034fdde52d91a7f03cd20ba849e2cb88ac0214404bcb99ca14d22c519377

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8a190a54c0541479989499fb4f8e3e129a7f8f764b65044eae1bdf6f8b949c82
MD5 4bd8c8ab15cf7d8fce13e5b1bd26af87
BLAKE2b-256 1e829701280782772343cc414d76c426412c801972e0a670fadd8008d6e9f0a7

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 14ac4c0f24df78eaa903b8c254bdfb0839a53f1c4cd64bc29bc9e29c63490aaf
MD5 6e695adcd2df8142db514425a6d712bb
BLAKE2b-256 b24806d060fe048091765f7b9d1e3a71f7a6d773595d005a50d3a9ec362797f7

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp37-cp37m-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a647ae38369604985539d595f07bb4b216e82f476de12f173d802aec46c60794
MD5 2e52ec10174a4e0bbbde30f3768b4d49
BLAKE2b-256 e5f62379f1c02b6df84a6807552cb7d4a91cdbbe9450f2b581f0fc022047d4d4

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 db3a79577468dacaccad2c289a238d53c051ed7c6a323ea69e2b7e9fb08c26ae
MD5 819720736a43d60e2a7ba79d0e1fcb27
BLAKE2b-256 09db26a9a25507149e7775aeacd3a8d2b1e3d5fe2a13e050ada331e31a32ffa6

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.3-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.3-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 84ab9e813d77d7aa9b72112d9db8954b168f3a448c0c9e301effb0a7c7b5ae58
MD5 72030b12d38a90d9f91f65ddcf36bb7b
BLAKE2b-256 40c504f3b38636f5b8bf3adef238dbdb86de09d35cd41abbaaebaf664c4b808b

See more details on using hashes here.

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