Skip to main content

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.17.3.tar.gz (6.6 MB view details)

Uploaded Source

Built Distributions

mqt.ddsim-1.17.3-cp311-cp311-win_amd64.whl (743.5 kB view details)

Uploaded CPython 3.11 Windows x86-64

mqt.ddsim-1.17.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (646.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.3-cp311-cp311-macosx_11_0_arm64.whl (565.1 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mqt.ddsim-1.17.3-cp311-cp311-macosx_10_15_x86_64.whl (877.3 kB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

mqt.ddsim-1.17.3-cp310-cp310-win_amd64.whl (741.2 kB view details)

Uploaded CPython 3.10 Windows x86-64

mqt.ddsim-1.17.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (645.4 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.3-cp310-cp310-macosx_11_0_arm64.whl (563.9 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mqt.ddsim-1.17.3-cp310-cp310-macosx_10_15_x86_64.whl (876.0 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mqt.ddsim-1.17.3-cp39-cp39-win_amd64.whl (741.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

mqt.ddsim-1.17.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (645.4 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.3-cp39-cp39-macosx_11_0_arm64.whl (563.9 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mqt.ddsim-1.17.3-cp39-cp39-macosx_10_15_x86_64.whl (876.1 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mqt.ddsim-1.17.3-cp38-cp38-win_amd64.whl (754.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

mqt.ddsim-1.17.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (645.0 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.3-cp38-cp38-macosx_11_0_arm64.whl (563.8 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mqt.ddsim-1.17.3-cp38-cp38-macosx_10_15_x86_64.whl (876.0 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.17.3.tar.gz
Algorithm Hash digest
SHA256 0eb01c06f8505c7cdd96f7d81701fd4bb6540ec68c843b4609706bbc48bb4283
MD5 58cd30dcd30eb2030c82705a47e70984
BLAKE2b-256 dbe5b335ad6a640243cc6945a1baaff0c85953df5bafe2254266cb6e613241ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 24301a0275c03ae72f430ac876c4008770de124e2523b21deae47bed347755c7
MD5 ff4c9acc11b2bb28c382ed0363041b9f
BLAKE2b-256 7121662c417a58208f2e86f02be893b69549bc58ca58ebe7563b43efdd79c265

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e1ecdedd2e9b283b8852ddc077f4e501065efb17c56d300928ad30dbeda28498
MD5 449db077263ed1660218c42fee101e65
BLAKE2b-256 7477d0cda9ba2e9d0ea0e138212bdf79a9a2133e3b6ca75008baf7866967432f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5f42256b497f36570622649d919db5060a88572cf714ac7d0bf74971abefbb55
MD5 467c9f66677993cc55b2aa993e7ddf06
BLAKE2b-256 8f4ec32cd6b222c5e5b8ccac21c29cd7741be88f692d11ea9e86e11bdb08bf0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c98d85fa495ca6a7a517dc359f6b1848e16c4e275416b33954b43bc76c13f3ec
MD5 af1f25622da384fb57183666f371ade4
BLAKE2b-256 f49a6811e2df3053ce672ee4ff28ae7772b4a2fd62f874895f7409e482d64b21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b709f85d09a52f570cb206cc620848fad924cb1d5cd375701b41beff2c462d92
MD5 99c933f161a5747b7dbbe00572b89216
BLAKE2b-256 669c13d6112a298f02903694b149dd5fbdf670161264001fefb474a6b4644b94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 afc7eacfba4a49fd514914ac3a92ca2345e7da21ef4174b2136b42ef5b39f279
MD5 f1e8a6ef758c4fd5e0e6f49689bd232f
BLAKE2b-256 cb0d4926d3d0cedbd6ef29daecf464700a0046505fb37b89be918b97360b1e8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca41a7482d4468ea4d9ed5b4ae258b8b68fc6e65eb712796fe647e7e07765675
MD5 5dd5c4356a78815ee11634f06d3a6424
BLAKE2b-256 00e159367e9acd1269a95bf789236e562ad0b5e07142abe65317b9c369587f6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 dabf55479ce5f25c4ba25c3736cbd3eb1ac5a3e106dfbe6008e11e6087ac0fa6
MD5 ae7aed98320cc4ad1efac28b658f621e
BLAKE2b-256 66ee2f61c09a3dfcea2f5bcb02660afcc38ce8318168df0d089fced0368bddba

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.17.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 17a99f85249aea3d9f7817e080e5c381e8161187e5674c84abd69751e11cb80b
MD5 acf677f57540eb23a411af9386dfa47a
BLAKE2b-256 caad54a54eeb34e943da959a9ff97fe43d6be5b44b6b519ff5e6c054cec0a24e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16b66229aa49dd06147b96da3b53b81304359b59e7b3544b0d59276f51b26579
MD5 baca25fd38651dedcab6861d42594025
BLAKE2b-256 2fd8236a448949b064fe9fd9db1b4fdbc7a3fbd0d34ad76ccccc10fd72afd0b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 57fff9662963f97bbad221ce2f834bce031cd7cf837a1b44335edfa4b0c0cbaf
MD5 f1ab17fc81a433d107cb1671a14cdd76
BLAKE2b-256 0aa677c85cdd3e8401b3e03d646b1b18978b0671bb1b18e7603f6786a417e528

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c4ed48f4a1bd0af023fed142d47532f1925ccb6c3adc9d3700b8d71074450520
MD5 77c8e448d54df7a892d37c2a030369c1
BLAKE2b-256 0a039e7b9a73b4bfc59ab63469a85813f1a3d59914e322308424a68e30b26996

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.17.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b3623e8e1c97721c81d4900b2896e752017fc006430b12084d77d071492ddc51
MD5 293426e4a821ab674ee15c1df4fdf185
BLAKE2b-256 e54baf117b88d6ae3765046570c9cd0b2be57a95ad3ae75509860d594ebc5956

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 65ccd9c71b3f350062bbcb67f6b9433c60e0d1ff59acf6a250d713a4eb1afece
MD5 ac37a528dc8ce10c53e078fbb0d79860
BLAKE2b-256 f1781b4fc6beae83020c51e6fde8550dfae92ba154ce788d434665684adbdcdd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 335326a0fb58a63cdf458fe311bf9ce49cc390f176f43ad2ffcbbfd038ee3c57
MD5 32d7b8413812caf14ea16dc09d5a06b1
BLAKE2b-256 b4128897c277a25e9658450cc0ed461d932ca2221e147ae71911d174b306bdd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.3-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 50da415bdc55e033710b398f7e55fb934475af199c44e4610a533207e4be7e35
MD5 e699d2fab61ef27df97cb1fbcedb18d4
BLAKE2b-256 7a136d8b96a189bd0a0b8e72062591f08c2b71b8d86ad7eb78357ca2aeec577f

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