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

Uploaded Source

Built Distributions

mqt.ddsim-1.17.2-cp311-cp311-win_amd64.whl (738.2 kB view details)

Uploaded CPython 3.11 Windows x86-64

mqt.ddsim-1.17.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (640.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.2-cp311-cp311-macosx_11_0_arm64.whl (561.5 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mqt.ddsim-1.17.2-cp311-cp311-macosx_10_15_x86_64.whl (872.8 kB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

mqt.ddsim-1.17.2-cp310-cp310-win_amd64.whl (738.2 kB view details)

Uploaded CPython 3.10 Windows x86-64

mqt.ddsim-1.17.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (640.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.2-cp310-cp310-macosx_11_0_arm64.whl (561.6 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mqt.ddsim-1.17.2-cp310-cp310-macosx_10_15_x86_64.whl (872.9 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mqt.ddsim-1.17.2-cp39-cp39-win_amd64.whl (738.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

mqt.ddsim-1.17.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (641.1 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.2-cp39-cp39-macosx_11_0_arm64.whl (561.7 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mqt.ddsim-1.17.2-cp39-cp39-macosx_10_15_x86_64.whl (872.9 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mqt.ddsim-1.17.2-cp38-cp38-win_amd64.whl (752.9 kB view details)

Uploaded CPython 3.8 Windows x86-64

mqt.ddsim-1.17.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (640.6 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.2-cp38-cp38-macosx_11_0_arm64.whl (561.6 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mqt.ddsim-1.17.2-cp38-cp38-macosx_10_15_x86_64.whl (872.8 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.17.2.tar.gz
Algorithm Hash digest
SHA256 8a3ccceb2c58ea35b197c7dcf806bf57a55a28f4620dd2743adef72db59fadc5
MD5 c2419bfd81823314d6ae7727439faaa9
BLAKE2b-256 15478bb3e6e09f1d0f2f6bb2373a72bb967a8735e566cd9e8f4a3befa96e8f94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1b16c6caac74318509f1f10f2d46b9001ad4fb841e243e62fa2e11e5fd4f3205
MD5 f024ea13b64356ce9f7f02b76f2e2719
BLAKE2b-256 f7a18c0892f1e32b357dc048d14d6470c8efca2d4cda1a4b7a53a620a4bf6921

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57b617db4968450c7441cf3229f9f3ef701b22f3df4d34bef96c9c98e5f6f58f
MD5 1aace4466c9d6c91fb2fe9949b8aae36
BLAKE2b-256 ac4cb7d4436e032830fee4cab3c8ad13902d02b5df6b689d76f332f0b16c3a1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b23bdaeec2c2537fc17220e5a3e923490201559c28476f684d5260a6af2d0311
MD5 d73eece3e8ab8eca7a39cca2cfbf6db5
BLAKE2b-256 1267b0a65f78f1dccdd6b8b4d0e39065c67e3a4d20260942fe60a49d4ee208ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ad0583b74c3082e449ccd03f2846226d12ecd1d7d1fe7bd0b9e4ef390aecb13f
MD5 6b285e488f9b3ec000fd83ef732ed227
BLAKE2b-256 65ef20ce00b03060af676adde088cc5f10a43b590791f83669115883f602b129

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a229ed279a26b8a0caae6e2f30e7263ca0da8e2301e9241847e6a385e9ea44f3
MD5 e2755b12dfd18fea27d0fce9ad66621e
BLAKE2b-256 70f611b258abbf37aaf53c214991dd411c198171effd2e86949d906b4501e41a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9557d422f00e1fb1308527bbc2df385c1177d912ef96d8a0b642f0f79ac91bdd
MD5 be465cd7d00ab98f5a5761d92f49ad14
BLAKE2b-256 ae8c6afaa5f22779b727957b2b195954b3820ad8407e1922d37482c57ea71739

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 45614100f440c017f52050f8f092ce3553194c570951a5bcfc91181ca3f71b30
MD5 888e0d63e80568c4e2a31dd91efc27dd
BLAKE2b-256 cef6734cd66fbf9cbf762527c12474fee9fd0ac4c584cfff2bcccbe8f8eae618

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a9b64dacfdf53e0a11e4a785081fe8a3894791f5a425f756f89e2bddffc6edd5
MD5 7c94faed09da5153d79ac383e433e823
BLAKE2b-256 441a54b75fb72ef105101900bc2c20446d1c1f49078caabb0e6394bc220098ae

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.17.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0edb7d2aa3a9972d2c4099578395f54de5edbd7b20462ad61084f5ffe227e3be
MD5 660dfe7fa963ffeea1f8dc563064a824
BLAKE2b-256 a525e7ab3e050153efcebc0c127c4c5dd37e9e4c641abec081bc573fa01a8e07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 31061d86cb8736840ce034fe1cc4284006f92de0f8d315501a10ef5ae1507b9d
MD5 d72b5f8f3f0cfa3961c09b1895f916bf
BLAKE2b-256 9cca24874cf5d27ac194168e621cfff9ba93479b47a930a2bdc32f67157b17eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe8f92fad433d8894db3c079b7ea304a46db3333c1671e9c2b0729cf15868128
MD5 a3ce6d3e2300c098006fbb7e95efaa44
BLAKE2b-256 98e9bf94459e993383b751bc2f101f1ec002a0abd799f8f68f9458b20b4e589c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 78fbbad9276d47eee92dd7c2702407c01d98a8bda397ae5db1010ba6a3b4ecba
MD5 3999ff9551b32386abecda3dff98e661
BLAKE2b-256 e165f7058788a9d19f5cde823510e4894c61cca13905352d24d7abd26fe1552d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.17.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 03fe94c5d7b7f9a2560f574e3d36a9b3d2e2517318427d6f9d4ad54128c73a02
MD5 632b76ab87069185f18f2240ee5bad1f
BLAKE2b-256 af65068d8b7cb7e9a2a49767cd184a155918a75528395c210982704dda05232f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 99ca4576e29b8f4cb4f73f27a6b19bc46555086b7fa2088d5e978f2465c8d03a
MD5 d5fb0b71461d4e3a988c0af0da609d1f
BLAKE2b-256 8f287111a6ebc5b9e98b34af3a16006365e983c6caf089c812830774f02de6e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 136b5432d3c508d97de89b01c52a787be1f83741367ca20ab117f2e9bb7938bf
MD5 5f392cb062602c3d4fcdda2dc675fa6b
BLAKE2b-256 6d1d0dc1d26c7eac951029922b51d2c32794cad15f7d66978aaf394bfc6e44b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.2-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b5b78ace098a7acaade0c1801ae63f7d9c3fea6f15b822d6479c713013bb0eda
MD5 9a8d68f603564d53c675a06358f5fe0b
BLAKE2b-256 192a59b3ede9d34f652bf114d8771071f28f9fb842fd5c7760cdc793680ec9c8

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