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

Uploaded Source

Built Distributions

mqt.ddsim-1.13.1-cp311-cp311-win_amd64.whl (705.8 kB view details)

Uploaded CPython 3.11 Windows x86-64

mqt.ddsim-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (764.7 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.13.1-cp311-cp311-macosx_11_0_arm64.whl (575.4 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mqt.ddsim-1.13.1-cp311-cp311-macosx_10_15_x86_64.whl (884.2 kB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

mqt.ddsim-1.13.1-cp310-cp310-win_amd64.whl (705.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

mqt.ddsim-1.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (764.8 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.13.1-cp310-cp310-macosx_11_0_arm64.whl (575.5 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mqt.ddsim-1.13.1-cp310-cp310-macosx_10_15_x86_64.whl (884.2 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mqt.ddsim-1.13.1-cp39-cp39-win_amd64.whl (706.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

mqt.ddsim-1.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (765.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.13.1-cp39-cp39-macosx_11_0_arm64.whl (575.5 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mqt.ddsim-1.13.1-cp39-cp39-macosx_10_15_x86_64.whl (884.3 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mqt.ddsim-1.13.1-cp38-cp38-win_amd64.whl (732.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

mqt.ddsim-1.13.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (764.5 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.13.1-cp38-cp38-macosx_11_0_arm64.whl (575.4 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mqt.ddsim-1.13.1-cp38-cp38-macosx_10_15_x86_64.whl (884.3 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

mqt.ddsim-1.13.1-cp37-cp37m-win_amd64.whl (744.0 kB view details)

Uploaded CPython 3.7m Windows x86-64

mqt.ddsim-1.13.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (774.3 kB view details)

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

mqt.ddsim-1.13.1-cp37-cp37m-macosx_10_15_x86_64.whl (881.4 kB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.13.1.tar.gz
Algorithm Hash digest
SHA256 b1cc4167db6b390a55b4ca591e059dc6096c2dbb5055965a7c0c49d143beac99
MD5 a1429f0f4d522e7fa6c13320ba207caa
BLAKE2b-256 6e07eaed4141c1905274bee540aea674762235f1e6e6d301652dfda859da9a44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2d17527320fe6b0f579271308098fadfcfb988843081bfefe25b81f81c02e0e1
MD5 c0aca93abab0aa68e80319cd3c39e168
BLAKE2b-256 325ce85752efc8182ad42552340fce09c269c5cb03273e0dcbd9e1d16e52e31b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d5c9ccd649f6533803c1a132c580fbd701a3425bceb1f8306ce873b96c0e9ac5
MD5 9e413327c9a5c98a5e23738e306dc5c7
BLAKE2b-256 c3eecb3f473e776dfb0444fd9c0f1146bedf7ce2dcf851fec31b82b6589e9e52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4143509800bca495cbf37b3ff85a79ce36536cdaa30496430b1b41c730b4d2c
MD5 743fbcaaf2ba97397660da08d78a5650
BLAKE2b-256 003648ae8bf78453377ad886f71b8a1b87745ade4b1b2cdef67225e37f6bf9bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 107889a5fcfaaea83db41e2cdedc610b18179d2f67a984ee61638c1c0fafcf63
MD5 f2e3809b380367632abe4b1c73a9f672
BLAKE2b-256 7484035ebaea468e7a84af9c17996004e88094122c928ae98cf525f0a5e63840

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5af2a3a0634e0dc3332f3500da6c3faf563732705d8cfae69086c93d161d631f
MD5 bd8d15de2e00e2c33e572e2eaa1466fa
BLAKE2b-256 3f312065658a8090860b5ecac16bc77cd0c2c58df142ba3cac1346dd639371f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bbbdbe5f51d1c78d22562697badec9776caf96035a2bf0a30b09c141409bec84
MD5 21daa7cd7b0a0018ed92a7ad155d265e
BLAKE2b-256 a5ac9efb22e3ec438c9de43f7bdd2f290856d84909ba1f9a9c5d7c5f9f6b4f62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c14483858e6567d6749d3f47da276411b13e64fdb35d0a56a259199ced2ad625
MD5 f90524525ec98c093eb4945ac9a5a3ac
BLAKE2b-256 1a90fb0c297329c35429e30705a339c5e54249fa30cf1b8210d6613d7295151f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b22e2b9ba5f171962f4fac3359557968743c74be02fb9821474f32223041627c
MD5 897171f0c5ee775fd8298988a09b39bd
BLAKE2b-256 47fcbff42bcf591b9ef5ad78e93aa9a6f3f1588f12c96eb6b791f66dfa957143

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.13.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2b3531910a34c351600eda29d286ad21bdea77c2bec80bf66c5002c03336d002
MD5 c751d0181e01177997757a3405002f4f
BLAKE2b-256 693ca1f8c5060e1fb60916b01598f856bf71bdaa4718bb68749b2170aedb510e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6039c483b67a177e7175446f82be448b54e20a9427bf67e43ab5c6b136953d8e
MD5 e691232e2fb5c5c383709a85e88b862d
BLAKE2b-256 0127023d4136e4cb91716ba0c5f5b7e6aabf57f1c9402284e7dce514ec682592

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 627c789cea2bb9cfd83e7af73dbece373405e4b89268bdc17a481d8b2920ca7f
MD5 28e2bf4706364cda0cfe502ffdd7e2a4
BLAKE2b-256 07133ebd9217d0d1f68982861f68a0361726b0f2aeada478282836136ff7a8eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 12df5883dce1ab4fb4eb0113d5c64bba8627dac20e7e28a204b6df8aa948c5b3
MD5 aaaa0553350d6ef26391d22eee404d25
BLAKE2b-256 cc30e4580750e358d030bf333823b19a20e7e50690d632780bf13f36c561324d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.13.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 a450330f6f956b74fe447d58bddfca8837542ca8b56142bef031bb522ad24e4e
MD5 cc8cfd80c16b66ad0c3e1d761205b0f6
BLAKE2b-256 42d56cae849914d1c9b4ce7a4d6429e5618004ccef07d24871035a6ca00e5f21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e30ce1c798e3f3ba45c448f799824725bffca9ddb7db835dd5a9100ec31a90b1
MD5 c3b9cbb90805091639fe7f04a6c1938d
BLAKE2b-256 80681edc697d40a42501893d0b5bdbb6187d943c35514528d4d2ac0c7bcf6298

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0fe7ddb9f34eb6c90ad49a46028de0028605ac5a851489d5233c58eff2fa0dbe
MD5 ad3d40fbe4e50f152cce682b33c3540b
BLAKE2b-256 490ea537a320e4e4277c18a26a49848ecb83613df05f4c47b22c565ae71379bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4f9a5b3ffa23b3e43e8ce555cd2546e77aee72f972b75a55e882e655d2756f15
MD5 07fe9fd0dd108a86233a0ca51bb28157
BLAKE2b-256 037855dffb72b68089377079d7a19ce8931cfd37454524c4700f91beca592b1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 90d431701b9c4eb5916d5042bded0aa57ccc2cce4a0a27046070bc2cbcb77726
MD5 cd954fdd173f47f0c0e8c1d94a9ec0c2
BLAKE2b-256 892224a902bf6bf019b2272971d058265e514c030a97f2fd80a6e912e0dfd95f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 35d541766c54c2608c22bca67f33e5908fac2db752b35273538ab4db39fc25af
MD5 8f5c83e897a8e3b0302c6612a31a7e39
BLAKE2b-256 ac2ad733425eca92c9d6a8c8c8ba879c91317d101105514dfca3bb19afd12a60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.13.1-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4f2f45c413108151958777886bd7be2181cbdbb8487812a5c9078479dcdd302e
MD5 9de8bc3fc01afb78dc7f9d4dd588544a
BLAKE2b-256 22810c23824ae61df4059548dfca32408f0cc52154e0c437532645114ca6b9b1

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