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.1.tar.gz (844.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mqt.ddsim-1.12.1-cp310-cp310-win_amd64.whl (495.1 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (694.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.1-cp310-cp310-macosx_11_0_arm64.whl (510.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

mqt.ddsim-1.12.1-cp310-cp310-macosx_10_15_x86_64.whl (562.1 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

mqt.ddsim-1.12.1-cp39-cp39-win_amd64.whl (495.2 kB view details)

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (695.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.1-cp39-cp39-macosx_11_0_arm64.whl (511.0 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

mqt.ddsim-1.12.1-cp39-cp39-macosx_10_15_x86_64.whl (562.2 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

mqt.ddsim-1.12.1-cp38-cp38-win_amd64.whl (495.0 kB view details)

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (694.6 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.1-cp38-cp38-macosx_11_0_arm64.whl (510.9 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

mqt.ddsim-1.12.1-cp38-cp38-macosx_10_15_x86_64.whl (562.3 kB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

mqt.ddsim-1.12.1-cp37-cp37m-win_amd64.whl (506.6 kB view details)

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mmusllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (700.7 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.1-cp37-cp37m-macosx_10_15_x86_64.whl (558.3 kB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: mqt.ddsim-1.12.1.tar.gz
  • Upload date:
  • Size: 844.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mqt.ddsim-1.12.1.tar.gz
Algorithm Hash digest
SHA256 acced62cc0fce9ee8d783809351a667276a8bc164bc753b18b2893237d170618
MD5 d71834511cc1b73fb9ff7b7aab955b7b
BLAKE2b-256 15b386a3cfb7e90ac027435c60d235a06ed6e7149a63c570f48e14679f8cc3b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.12.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 495.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mqt.ddsim-1.12.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c166ac81e06da96a7cc82747d4f0041915c398c6b7d66d556078bf0feb9c793f
MD5 c8182f92f3a6dae9434d900541f2a500
BLAKE2b-256 c257735f15fd099fee9af73a81f8e3645287f6b786920c00b20d1431e430e384

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 00f38e1cc682ba4fff4fc5255428dd32fb2f4314b2ad5ef540d5739ec0306ac5
MD5 09da60a89d37706c8070300c9edaed5a
BLAKE2b-256 7495159c765fda4fbac46af919a41adffe75d6ae272a15203c9b72d8f3ccbf16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9526a04da535bfcd4f8ff7ce593ee13825d84968c081e15c75a0a8dfb930bf52
MD5 33c314c93ce059ccb601df58a6778364
BLAKE2b-256 5ec31d2de05cfe54615121039b779f49661a67eb8b8ab8643ac37e1bee593faa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c13d56fc2dccc08c46c743d7e51ebc32ab72e8d5c5d816829aadde517fec5f2
MD5 0e229a2d4e302acaa4752c6a9f90a1ea
BLAKE2b-256 2aafd7a0a1909163c4861cdc9e3a0704272eb1374967cfdd8aee7f9e6a57603c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 75aedbf447ee8d53a6aa9d70c67df4a342355b02882e61e43a18fa30ca1d7148
MD5 8201b8af92abf146761a320a6884ef1f
BLAKE2b-256 f19c6865e7ec374e694b1278ee79d30c0a420f69bb63b55a70d79cd022d0e69e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.12.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 495.2 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mqt.ddsim-1.12.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6f3b417358195b871d12a09f81bc13dc63dcf8343ee28a50b5371e3e9a107e72
MD5 2943c10fefa1f9f26504652cf8c65209
BLAKE2b-256 f4db29a6c5c3529879ef6c58760fb956904ded2f609acbabff75e5969ed2e85b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 1e2fd89d9a5d99e66a8e459e25b3e67363351e4de6d5f33bb9dc2647d1355c5d
MD5 32e89cade322752527e5aac229ce14cf
BLAKE2b-256 574000072bc56b24190d97a39923a9eabf799a5168062993335ed4fc1b8c02cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78bfefae7efa22d6e5074fdd15e4cd1d704855858be0eb002db26b3851c94a98
MD5 207efa5306460e446b946f49bfd58dae
BLAKE2b-256 02eeb7403b9e8e9655396a431bbf5c38a640079c280c894752aa9f45f061df74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6ebed53b655ac26721b3fb57d955b0818569d0da506fc882a7b202685b566aa4
MD5 d69b5c83d5fee09791086136cb14683d
BLAKE2b-256 4b9341b4b81ea2fb2d6423825433cb8cd0005d2c9d617623c9474a10f8e66a37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 57d3b86527e31bc6e8e71ffe53e6638df08c6d907007543c78fd9e53f0026b65
MD5 1a82aa54b9b54c8212b53c4eaeddf0f0
BLAKE2b-256 7d99db77fb7db85efb7eb6c2d641549d09f02c7cd5056f878ab6969c041997ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.12.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 495.0 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mqt.ddsim-1.12.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3f51e4142559e9047cc48ee7fdac51ceaddf87ac68e0bb8a07fa85a3ca46ed1c
MD5 cfa1df7ae4dc8cfd8a21f58a54d27d5d
BLAKE2b-256 bc3d85d973c2ac6f692b83451cbae0058018917e1a295945fe8d5a5c988075ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f27e736807f80321ddb802e77444104a235cf20e9b8777a8a14fa16653b953f4
MD5 e3ba673ae222acd0ecf67cec53cccf49
BLAKE2b-256 132e017006880bf41e4870fe364bd2b9f716cf3f22ce658f4ffe1d4ede9e55f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1fea21e5a61a8a7ac611fd9375d00fa3eed623e1806ebdfd41fc2d094ac8df9e
MD5 ddbfe3255e64b0d843d8fffc907362b2
BLAKE2b-256 94a6fdfb8a479246cc912e52ca5486ae7eb5b063e0c9896219884a21b531bddd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1fa1816cffa6eee01ae7c0394d2fbedb73adbc7bd580614cdfe9e7c8a753dbbb
MD5 469a1ec444ae46d88dc6ae54d93b3015
BLAKE2b-256 4b5f67d818b42ea43c25663f28d7dcca70250545f56154cd6772b8e7db9edbfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3dc709547069fef82c26198539c4c8622a4877628241bf7bfeecc844fa58fdf0
MD5 e0e5e210fe415ea8df970f947f1f2c6d
BLAKE2b-256 a24613ab129555710ceaba2c4208f8b7728f45629c88889b15a856e70b1c2700

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.12.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 506.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mqt.ddsim-1.12.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 769fea34558347546e815d399486a2fcea2ba462581e3f1d32f289676a81acb2
MD5 88c41e789ec4cbcfc7b66ce94281ba22
BLAKE2b-256 3649081ed11e7fb55db75a30369986ed021151c96362dae31a4d429283855088

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7468d5156df74c963c1e3229ddbdd4cad52d5f63e317b05978dcb55cc5558a2f
MD5 24882952e24e2b2ff3c6fc6250ab5610
BLAKE2b-256 6773af5e1e07331c67c5262f0781973e86828cb6adbb879f61c39a73ffd527c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dde9895935072e1af244ae91160352c907572fa0c1f0632e046187467516a3d3
MD5 c50b2e7bb5548b34c816ff468486a4f8
BLAKE2b-256 01fb5fd57eb798bce44a65e8953e7ab6a3e556c41c77c673fe7b0324efd5ceff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.1-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c043b873f859b48a3895b0772405f802e9736d02c902ca464c9dcf1cd624569a
MD5 45cfbd233d5e6fdada0768c01eb20dc6
BLAKE2b-256 9de81b81972075abd374a888cf28cf294800c05e892d350fd58c3580efb95f2d

See more details on using hashes here.

Supported by

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