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

Uploaded Source

Built Distributions

mqt.ddsim-1.17.1-cp311-cp311-win_amd64.whl (738.5 kB view details)

Uploaded CPython 3.11 Windows x86-64

mqt.ddsim-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (641.2 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.1-cp311-cp311-macosx_11_0_arm64.whl (560.7 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mqt.ddsim-1.17.1-cp311-cp311-macosx_10_15_x86_64.whl (871.6 kB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

mqt.ddsim-1.17.1-cp310-cp310-win_amd64.whl (738.5 kB view details)

Uploaded CPython 3.10 Windows x86-64

mqt.ddsim-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (641.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.1-cp310-cp310-macosx_11_0_arm64.whl (560.7 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mqt.ddsim-1.17.1-cp310-cp310-macosx_10_15_x86_64.whl (871.6 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mqt.ddsim-1.17.1-cp39-cp39-win_amd64.whl (739.0 kB view details)

Uploaded CPython 3.9 Windows x86-64

mqt.ddsim-1.17.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (641.0 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.1-cp39-cp39-macosx_11_0_arm64.whl (560.9 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mqt.ddsim-1.17.1-cp39-cp39-macosx_10_15_x86_64.whl (871.7 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mqt.ddsim-1.17.1-cp38-cp38-win_amd64.whl (753.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

mqt.ddsim-1.17.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (640.8 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.17.1-cp38-cp38-macosx_11_0_arm64.whl (560.8 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mqt.ddsim-1.17.1-cp38-cp38-macosx_10_15_x86_64.whl (871.6 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: mqt.ddsim-1.17.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3266507e90d14d67b5fed469729663f96978259963b935f589e8c647cefc156c
MD5 45b79b03fd3ccdbdcbce01decf7cdfd0
BLAKE2b-256 35453e22110249abd88612b47e8810d2673017a293c48b62331753d9ee4043d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4d4af7c162c4363fb22de3c433e20df524dbda7bd273ca853b677611153d820d
MD5 f5666bac7aa547ce0dc129bd6adbb3a9
BLAKE2b-256 190b7831413de8c3761bedf43be717311fde6ff43838e816ff8eca68a3f4d151

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 867c26eb41175f49fe1ec2f897b0ffd20b46d7f2367ae4bfb916bb09e2ce022a
MD5 26e386526c44b8ffc244a860bce21749
BLAKE2b-256 87145d1a31d9e3cd48ccb91207e924e5206b4105ecb592c3d2e940299246308d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bf8ef549818edf5120bd4a7182045ac39b14d00119e19c76af72f1284b42c717
MD5 fb8024aa0bcdaf9a37b3890de3bbbe5d
BLAKE2b-256 323bd30d5199ec07cfad60770f6180f917f0859aebed4ffd2db7161c3c6657e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d55e91abced6f1f5725feace5dc30f16e02f91b93eedce2ad29bdfb9a0663d99
MD5 3a63766b08ecbca6c4430acd9eb13abe
BLAKE2b-256 c0b0d89d9c8e87b5311d818b0b0546eca366aa35503069d50f9399033febee24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 be5aa3abbef51cfe0486f68b2fe0f3b9ceca5e05d9864cb243af51f1dfe58894
MD5 39d7b9d0168a0526becbeca7522fb257
BLAKE2b-256 a2718fb9638fbf5ed47489b55990fb006314e4cc41f55e2df6fbf8e694dca435

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d8fb0dcf93ba197dcdc9cb46204e0f292124048620b0b5a67fc026333b9b4e96
MD5 2b4a10fd0557649a3255ee4050c085e9
BLAKE2b-256 21d6c73b2b9cf3ce89860433ecf841cc0cfa119464ab9d885d4b8669ef8606cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a56410bdd862fd9e7ca4ef6b90b9b659c876e68c97960e8d910f415ec4d35a13
MD5 f0104c7b0aea48e63bf289c24fc6b1bf
BLAKE2b-256 fbff28ebb80cd3d154ea6791462688f0cd362bb78b26b923d0ddc6edbb04c0a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 dd36618ccc0d64b0a033ce2f9da03a5d6649e254f5522f6f15e3ae845eedd108
MD5 842a3ea5f1cc519448e909367a2d5659
BLAKE2b-256 3899453ceb990bc595495b553c7061b4fc9c2cb873b5b4e9e107461ef56fdcac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.17.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 739.0 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.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a706091f499489abfd056ba1c4c5acd88117bba6b61ca409e347931aa74aa52c
MD5 849f497e4c5fa6cd0f8e4fa8b7314a1e
BLAKE2b-256 34f20cbf8994fb7883e351ccb0926964416a9a396501a0bce9fa1bdf203ccb23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b20bee36062fccd627ae5dc8b88fd37b99d1901ac2ce708a5a9d85650b9488a5
MD5 196c4d94c20e20215b9d7b2340b6883e
BLAKE2b-256 fad54b1689dacee9fc6dbc22de27ea9c4926dd019e66a657b34f7cc5efcd4e9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c9322e9c0d2d6e322f051f0d24d7ec85edd143e5f4176a7dbd9db0d3ac5a0c91
MD5 119809459186f3cd42fc1e3e478b3367
BLAKE2b-256 8ba5f6639bfec1835442335bcee1e3b0beb4fdb086cd5ef675465ac36ed0761c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5036b469b2a1b618d2c9b7c614acfaa92e2a72a42e2335a78969d6ee7d771469
MD5 a4393da937b474ddeb08328c6d21f2ff
BLAKE2b-256 3e902e85e4d1f6bfe4259736cdcfcbe1e9efce2968cc209e5358b1e694180906

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.17.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 753.3 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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d020ecfb30f242a6c3d33a4823e6c96702ad0eb8b186fd21334194bca1c9a634
MD5 b80c95b8e96b5cead00f28a2e40e431a
BLAKE2b-256 e858acd398472165e4a4dee53fe98ae384ae4df7e32b28ab52b1f7bc3941363e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c3cac96c06506dbaf6d2198e54d862e6c3467a126cb7df9f2003bccf236f261c
MD5 d32a9519d214d0b69cf0f51608c8296d
BLAKE2b-256 27feec24ffbde67245f4fa9c84f88ca4236d985a0d54602415c93ab129c44fdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7f86ade8d6960120304a99d270d2ec8b06b86fa5c7341f3d8a8f427bbf1eaa49
MD5 667a36d5b8c2579145992ffd38e48c57
BLAKE2b-256 b2754af3b0dc87b7b031037451f8cf327ce6a5c4016b16e1b4ddf287dfe81fea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.17.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9e33fedb0d7caff99464ab18bda404452151d4581ffd9346b19a2d497c465125
MD5 3a86f9c434c0f04acf2095c5de43e0ec
BLAKE2b-256 82ced9fc6978b4bb02700474aa5f232d244cb39c5d1519aefd3eba62bd2968fa

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