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 MQT Core.

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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mqt.ddsim-1.18.0-cp311-cp311-win_amd64.whl (735.7 kB view details)

Uploaded CPython 3.11Windows x86-64

mqt.ddsim-1.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (832.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.18.0-cp311-cp311-macosx_11_0_arm64.whl (670.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mqt.ddsim-1.18.0-cp311-cp311-macosx_10_15_x86_64.whl (743.5 kB view details)

Uploaded CPython 3.11macOS 10.15+ x86-64

mqt.ddsim-1.18.0-cp310-cp310-win_amd64.whl (733.4 kB view details)

Uploaded CPython 3.10Windows x86-64

mqt.ddsim-1.18.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (830.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.18.0-cp310-cp310-macosx_11_0_arm64.whl (668.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

mqt.ddsim-1.18.0-cp310-cp310-macosx_10_15_x86_64.whl (742.1 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

mqt.ddsim-1.18.0-cp39-cp39-win_amd64.whl (734.1 kB view details)

Uploaded CPython 3.9Windows x86-64

mqt.ddsim-1.18.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (830.5 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.18.0-cp39-cp39-macosx_11_0_arm64.whl (668.8 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

mqt.ddsim-1.18.0-cp39-cp39-macosx_10_15_x86_64.whl (742.2 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

mqt.ddsim-1.18.0-cp38-cp38-win_amd64.whl (746.8 kB view details)

Uploaded CPython 3.8Windows x86-64

mqt.ddsim-1.18.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (830.2 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.18.0-cp38-cp38-macosx_11_0_arm64.whl (668.6 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

mqt.ddsim-1.18.0-cp38-cp38-macosx_10_15_x86_64.whl (742.0 kB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: mqt.ddsim-1.18.0.tar.gz
  • Upload date:
  • Size: 1.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.18.0.tar.gz
Algorithm Hash digest
SHA256 40cbad16c63664990c45eeca019f251bdcedafc0c6bdd465dd0e42f78ba0608c
MD5 6a79f91052e3266239d0bdcc1c8dd09c
BLAKE2b-256 20ca63014c7da060ca4f3247339258fe872f56607d7e7d30da93a58ceaef25bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.18.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 735.7 kB
  • Tags: CPython 3.11, 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.18.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 58735794777e271d55b3c96216def6a54a9b6ca4a810fcceeb00c555d350654e
MD5 75c50dc5b929f5b8039da2901557a85d
BLAKE2b-256 f7127270c5e92ff565a66e212e672427cd4d158fb474e357a279514f87ef8a1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 db22b1372d62e45ad31d4b031b8ede19e2cf174ce0d11df55944ee77db9f94fd
MD5 9ef5b33b5f7d701dc4fc2780483f1541
BLAKE2b-256 a8ee869a02c0aab39da963343266b1fa09e00d01ddfbf51466bc94d0000f83a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2396b46dc9ff0ef2cd05944cb59bcd28878288a4ba6b438bb60a8fc97d77f94
MD5 36e3cb91a046d5a0e3b634ce96574bdb
BLAKE2b-256 b1b814a603c1b8f9d56efb4b44d82e39b85bcc1a643eb09619d42be2b53563b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8d929ddb4e4fc1f17b37514067fb3367b84f59be7d298e1243e4b70b6a56ae8f
MD5 068752dcf6abb5acf6e92cbe1fa524bd
BLAKE2b-256 370c077331149942b903c5948601af324da6535aed1f35cc229a483a0925c196

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.18.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 733.4 kB
  • Tags: CPython 3.10, 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.18.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f908580c6fb46143d7f97dbbd2ea5448090f4524f82635a327d95cf7fd4ffd80
MD5 f4585383f1661c51c459124aa9e644a4
BLAKE2b-256 d0d646d002241521b5bfee25cf9c6b21e1bf8b7efdd8904abc60fb6623eb8ec0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d7b98875d63e0d3f10a37da174d7a2940706148ab59ddc7fed0d7664b995b344
MD5 2709c301ce4e2f9e0ac2b5945d29c614
BLAKE2b-256 4be256da96f9bb2d791ea3517c7fd8ca101e92ca8867e64f40cf7a15a6cf7d77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cb9aed661375991c7e29360a866480355782a0726ead8c6ec764d349dc3283ed
MD5 8b15b9e37da8fc08995457b1f207cebe
BLAKE2b-256 66cb381ddf8cff421bbf45426892c707baa967a2fe0f1345558d386bd280df26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 760ac0aea9acb2c90d1a6b5b983c58a517a4518bd680b81dfe87ea8bddc33f41
MD5 8b3efa0a3cf4129fb7088b2d467a35f6
BLAKE2b-256 b87e243dbcfe9c71b5b14afb2a8014dc9901c92a2a5feba33c65f4642addbdbc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.18.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 734.1 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.18.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 25e1c40e3630538efb3930294e20207ba894fead9cdd8ae577272268068b78f5
MD5 0a600e27bfbf29f450ca1563ce18afd7
BLAKE2b-256 43578d8bffd1b87b81d8b1572918150995b98e09c56745156e74a9d312dcf924

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06e071a398bb355b221ad8bf2b9d1c43cb30d2e5488e3045168c1d453a0b2da8
MD5 ff4844f42ba657aa692b455305dbb4d5
BLAKE2b-256 b99bd83b59a0bbc51ab787bf34a7dc5419f21130016df3dd2a577b190f27a18f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d422030b85abe20d30a8545bc25effaca8acc9bc5d71400dba5549b7f4e1ce3b
MD5 21971cc2dd3d54ae604a867591cce3e5
BLAKE2b-256 ca34bbb01e014796f5a307d04075365986f02dcbe78d811d5667e634000f92f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 80b881f92865b535d78de3edb97c4cc47b469dcd28599de72c7b3cfa9a1e35f9
MD5 2f0944d3e1446607ea8b9f48a060d014
BLAKE2b-256 d005d29de6ebf9d269fac1ebf249e0303f1cac8a0f936d89602fd06c1186c526

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.18.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 746.8 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.18.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 183abc7fef3ee8738572c10a019eb24086cb30e923b1970be6204aecbee04536
MD5 d744e747bdeb40a3125be03e1db08211
BLAKE2b-256 504c3e7fd62b3b0b87a56d542910eb3684c38e71f56f0aaadcb746e3528dbf8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 393b7750ffadfad9c6787592e29dc04a1f30c67c88840c0864cdcd7272e5549e
MD5 390b5e16066de7cd0e1952ff1ecd55ab
BLAKE2b-256 3a4f48e23ce41bb8835d39b4368d56e1d5d9e915564cc8aea282b21085d9e238

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 efead6cd4bbf842ebdf93b069759211660d4efbce62df193962a34cc3475ea93
MD5 a25e77130670b6173dbd9470930cb587
BLAKE2b-256 c4d22a6f90c7e0239a6282d57f53a0ef537c003dad4993704d882c5c210353c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.18.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4f5391280e15d19d10b19cd8b3acf63a2a8254ddf758554419962168ee432388
MD5 95d636f87512ad27a5b1cf7f4292fbd6
BLAKE2b-256 aee1897dee549ff728acdebb94539cf1027db1db1c33f7327580350bd23450ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page