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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows x86-64

mqt.ddsim-1.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (639.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.0-cp311-cp311-macosx_11_0_arm64.whl (560.0 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mqt.ddsim-1.17.0-cp311-cp311-macosx_10_15_x86_64.whl (870.9 kB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

mqt.ddsim-1.17.0-cp310-cp310-win_amd64.whl (738.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

mqt.ddsim-1.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (639.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.0-cp310-cp310-macosx_11_0_arm64.whl (560.0 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mqt.ddsim-1.17.0-cp310-cp310-macosx_10_15_x86_64.whl (871.0 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mqt.ddsim-1.17.0-cp39-cp39-win_amd64.whl (738.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

mqt.ddsim-1.17.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (639.4 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.0-cp39-cp39-macosx_11_0_arm64.whl (560.2 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mqt.ddsim-1.17.0-cp39-cp39-macosx_10_15_x86_64.whl (871.1 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mqt.ddsim-1.17.0-cp38-cp38-win_amd64.whl (753.0 kB view details)

Uploaded CPython 3.8 Windows x86-64

mqt.ddsim-1.17.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (638.5 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.0-cp38-cp38-macosx_11_0_arm64.whl (560.1 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mqt.ddsim-1.17.0-cp38-cp38-macosx_10_15_x86_64.whl (871.0 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.17.0.tar.gz
Algorithm Hash digest
SHA256 edcab3bbee0e5e626e4351cc2648ece3563bb49f5558ba16716f0e05147ff6f6
MD5 d1adcfc9766eaafbf039ad4b758bca97
BLAKE2b-256 118c63d7e2d3f3eb5565382f745c4f66a9793366724b74c0ed04b357fbcbbd92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f241657971a3fb3270b2c4b7eb6ed4fbb4be0a11a2bfba4201def5ff0ff1e955
MD5 c447c82e6aab17c0ab10453ac295d785
BLAKE2b-256 04d287652106f23aebe20c9f8b84b5501f475d7fbf28b907d54935ae36099e57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c415493798570817085343a385a45749497da3684cc393fb78454aa933eacb73
MD5 9aaa3d2ebaf8a3b6a3d03cbfcacaf23f
BLAKE2b-256 a8b9077b1caba14f72e0b5722dab3611e09707a0fa592c3f3a1b0595feeb114a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d253ade2e881902ab2671ba1995041d106f4d95e3a9cd8c580c4a5196299dc2
MD5 752e03b95f41a90ef4b1719dc882a10c
BLAKE2b-256 053a1dfe474cca12999d37a28cc7cae32ffe4c8c0b618bea73914feaafceeaac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 45ecaf3f53dcaf3d9c82e1ff83b1e53f4417705e91ebb681b6189ef250718743
MD5 d6c3e354dfc707495f72b134b41e0af3
BLAKE2b-256 2861da9b4f7702082a1fb6cb97b6755b57d235cc9d74f4f0af021b2a70d5294e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ba57374631b629c0f870615594579ecaa967d090747bcc57d8c0c9c10215ce45
MD5 4933890634bdcbba57b9115ca772548c
BLAKE2b-256 cb4baad138c7eac0292ee00368198e32778885d8618b4dd44002019b6cf3f24f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b2e0f78d8e1373182e9a91c355fc3db5c23f38e467e6d3c63baea20d7b8521cf
MD5 8d6281df9502d171dd4c8b5209fe44b6
BLAKE2b-256 344032604485cea272cb47a1b002320ea8a2cea5bfbc672980193d2e006ee34a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bfcae30d456cd2c681e1c2c67533927369160b1d9fb4776cbed59bcb2e95b5f5
MD5 e04f13e5867714b169e3453743294f29
BLAKE2b-256 a023ce1b7d4cc2098ddf2c1860706b991548ed1f1054e4486d2e472545797940

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 baf5b7ce21b51e7aea4996ca372158690129ff301f1ca5c7505b8e9fb7ff7dfa
MD5 876b6794fb26da2daa0f4fd1d72df34c
BLAKE2b-256 3e796884c73b5e1cf21840b4dea29e1383f7018b818fa71c8f48064bd22e3190

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.17.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 deca01dd0be91e6326873ef0bc447af99843d7d42464c296fe81f2775a89ae64
MD5 71a54ec2a13f6e9514e32357c8d0af5b
BLAKE2b-256 8f45172c6b0a5867140e82db130ca50c182a7c99e561d87af67c8549db0ba297

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1dd44350fa5cc94c9c2cad17e1beae11212af2e57fc9b6cdd085bf5ead186426
MD5 ecdff468efc3c99a0584351795eacffc
BLAKE2b-256 1bd88e431995a43963df863e09a1c9d418e42e7df1f30fc608ee28d70ce5226b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0a0b2f6a72618c93a396ff90d19557fd05bf696d45b06823a0c461e94f9a16c7
MD5 e2e0551ef224f7472fc3038bdf9ea388
BLAKE2b-256 b12356939b40b62db0c5d105ca4007e69bc022a8ebc13e573b27db4b3fe8fa75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 0b4589c4dc421c6ca0f35dd7725221eaa68a2a04975a468026029debad4e67bc
MD5 f9527ef035e6221e845717a6dccac67d
BLAKE2b-256 ae1ea1649e0836c1e5bc19b8e476e1fe6b3a3153ac9fcb0d926822b41cd8b7d4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mqt.ddsim-1.17.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 0ac3c99f8897a8774cc8f0c6c4550c98fce10ef4932063c1082be11852426e5e
MD5 a1184dc52806ee7f9d8228ff21550f58
BLAKE2b-256 fe41841b95ddc99ba7f5dbdf2e04f811357949383e54faa47f3438406a5d4ad1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dab086a7f572159ba9646a06d52476fe9edb90360cb9cfb70b5ba3d5b3910e57
MD5 373df14d5b150548dbc99448e880f18a
BLAKE2b-256 b54a1b376c7bfff85fbbb47a6e6bb6a48cc7503d8ece25b781ccae2bd8ce0cd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10599cd457bb3c684117a01c6bd064d0fee4b03a0c0fffcbe5f937dd53cba97b
MD5 703cc3fb574fec8dd73c6f432753503e
BLAKE2b-256 c329f99b3145be7d678f10e324b1d78c05b9483ad392349ecebd5188655d2429

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f096d88df4cabf4a8574afa820e02f1eec4cc21e3019f17538e8f813185a33fd
MD5 50f2f8193fb1f97ace02aae0d184aff3
BLAKE2b-256 62eeeb5b57ac6b2e02977355a529786dbf9a973dbe1d83a1314cef9e706f8446

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