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

Uploaded Source

Built Distributions

mqt.ddsim-1.15.0-cp311-cp311-win_amd64.whl (712.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

mqt.ddsim-1.15.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.0 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.15.0-cp311-cp311-macosx_11_0_arm64.whl (490.0 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mqt.ddsim-1.15.0-cp311-cp311-macosx_10_15_x86_64.whl (783.2 kB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

mqt.ddsim-1.15.0-cp310-cp310-win_amd64.whl (712.2 kB view details)

Uploaded CPython 3.10 Windows x86-64

mqt.ddsim-1.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.15.0-cp310-cp310-macosx_11_0_arm64.whl (490.0 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mqt.ddsim-1.15.0-cp310-cp310-macosx_10_15_x86_64.whl (783.2 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mqt.ddsim-1.15.0-cp39-cp39-win_amd64.whl (712.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

mqt.ddsim-1.15.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.1 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.15.0-cp39-cp39-macosx_11_0_arm64.whl (490.1 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mqt.ddsim-1.15.0-cp39-cp39-macosx_10_15_x86_64.whl (783.3 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mqt.ddsim-1.15.0-cp38-cp38-win_amd64.whl (738.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

mqt.ddsim-1.15.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.1 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.15.0-cp38-cp38-macosx_11_0_arm64.whl (489.9 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mqt.ddsim-1.15.0-cp38-cp38-macosx_10_15_x86_64.whl (783.2 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

mqt.ddsim-1.15.0-cp37-cp37m-win_amd64.whl (754.7 kB view details)

Uploaded CPython 3.7m Windows x86-64

mqt.ddsim-1.15.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (611.2 kB view details)

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

mqt.ddsim-1.15.0-cp37-cp37m-macosx_10_15_x86_64.whl (780.1 kB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: mqt.ddsim-1.15.0.tar.gz
  • Upload date:
  • Size: 6.5 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.15.0.tar.gz
Algorithm Hash digest
SHA256 371c5809407af966a8b5ecd16ab57980a7717b83c42f31f70edb60e424bd3582
MD5 e6309d0649468871e95f99eb254083d2
BLAKE2b-256 8ed67c456c1ec989c1aa485ead3bffe36402e30a6776854c38ce407a0aa0c527

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2a0d31d6e6478d614f73daa042f41aa953db5afb9eb40e698e74dda11e4d99d7
MD5 487bbf138290657d0e91713a0722f9c5
BLAKE2b-256 65e86239c5c52e70412e9d0ae31a0df2a888579b58882fda2b4649532c7cc967

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5ad875a736033f963f494620133252e3cbdf8dc9670ac5c2887f54da98166aa4
MD5 ece91288ce082d6b5590925265322684
BLAKE2b-256 0157b44a620199ccd5d5d8af982ee64983899677a3e46906736d21f3317e0ef3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 62607dd2646b49c36f32a62b0c2fb8688e7522847c220b11937f266924ba314b
MD5 265556fbc85744e80563f8d1a912a793
BLAKE2b-256 32611525f8ec28eaec8b822f39aff7265e959d3d403cfc24769640d390368ace

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 bb0e7c75f73e31095716dc49b011d925ed02771b2e86c1371778bd0d257ff3bf
MD5 7c2c280ec34d7eaf96af287a634b717c
BLAKE2b-256 9cf495ca8191a7639cfd1e58dac2296a4f47bcd8b0bb406301ccbddad923a580

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3f2641ba162384143e080436d54248b66bd350e129377c1f7a7c726d2bc2c903
MD5 52d1e25aa2cccede401b1d0257d81e87
BLAKE2b-256 a3d6283c510ae287302a13932d8b54f536fbef6973707d2142c5462fcbd7ebac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b045eec13df6933a26ee32efaf1aa3033d22247f582ba27f168e9fa953ae6889
MD5 3588c079a5a7b8abdbd7ffdc5e175f02
BLAKE2b-256 0435ef78027a6439e3e06536088bb01ce81f92fd29941d5743d08d27498d4078

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2dee25ee876b697ae501c2d5d8f866e3f647aff286d3c7410a042ea5776c582f
MD5 d05ffe84dba00afdb9d8b80da867c311
BLAKE2b-256 9b5e491dc64ab09fb38a9a59bd0210ae74941209835ca141979c3ba28e7438f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 cc3a4a65a19bc9da99af26612b756458659ee36540f0e4494ea72ac02da18bcf
MD5 b77ad2558911774a7a424e52d60dfee4
BLAKE2b-256 97d0f5aae0b06e4f6030870f43d92548bbef0242203f0ca374c220213f0dd53d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.15.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 712.6 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.15.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 fe03bb3c2d9885448456a38e2142f7ab48fd985d6172a1665fd3dae2e4954e28
MD5 8431a500b5ba889056b510daa8655cc8
BLAKE2b-256 6f7ca83c93290ddb4b8605a18926921d53cfd8c2226033efcc41d5872a157144

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e146f40fc4b9a57999ac5d5ba4630f6aa4dffca33cab26120b59f6d02ddcc67
MD5 bab12441b3f206894afb408ce3de1343
BLAKE2b-256 e3f29d864ba4c16ae905d38893fee7bbbbf72f09269771997685e7414d7a2d44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 487bd0e57583cac0cbee38d25acb07cb8d738b45fc9ea4f41dae96994bb1dbe2
MD5 4a65575ab027d359129db70e75982582
BLAKE2b-256 58505f07dad69977b1c190780924bedbad4f5ba19b23be8f97f51cccc2e1b1ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 158f0fc873e9c6b9fdea0efd3d23eb4aba7b4ae0e8645f47dce7bedcd5f5b2e2
MD5 22058bf58f96153bd4feeefd55534d10
BLAKE2b-256 ed827905549468737e2d8f263e380ba766f92eb11939afa65f4ebb7119b02ad6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mqt.ddsim-1.15.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 738.8 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.15.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d5fa834c8767fdbe352b804a1a1a1002c58e2d937e349b75a4ae3da9961e5df1
MD5 6dcb16f20ee47878acf22e189f8004c7
BLAKE2b-256 3c5a47034a79d12dfd5a5788a05f4d29818a8648ecd0b6d8fc3c3cea1c361a02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 36ad74a63aee95f606d8707bcc3af54785c5f8e3acfe295bdeef2463a9e629e3
MD5 b387e572c61de067314e3f219961959f
BLAKE2b-256 56c1ba8f0cc9922609e78614b83964d922fa9a4349676e2e1ffea4de80e14b0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0caee84b66b698de2b084956b09de666ba1a12a19a40c865ad4ca316f0e9eba
MD5 a1c08bdb5ef247fd4a975e3958368038
BLAKE2b-256 ab9e07f76b32e04f62ea47df22d6881bd562d292f42146eefd9d42ad9725ab9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d722e9fbc8a9d84ddaeed32696848a6a46638705d5d004a94ac15b41648c2de5
MD5 b13e200e52b2256f1ef485cd1c4167e7
BLAKE2b-256 1a02748c8c5143bb7873523b6dd568e8b564c5a866a63683d3290e3bd337d58d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 91fac930cf37bb3486877e963881e4ea44e07655616dad3377f52a4aaa4d4906
MD5 0e642249288d754ad166ac0a33a9c881
BLAKE2b-256 95712891e5402d6c4c3c7a2f2e54c2c6b736babbc8d40d21eeb4b49c703bf598

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eab4a1f9b02a9bcde2e9b3c17597fd4ec1f73310d5f043d35153cb24dce42420
MD5 aff3a978305e6371760f01f5e69e6b17
BLAKE2b-256 4b5ea7f81d77d2326a48ed62b0c69c71bc54aebb2794031af4d2d958c8922e6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.15.0-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2166027ab17966639df98df6bbf51d3b70be959ef009187ecddac7182115194d
MD5 6d03c050125e84900a5504c6e0916e80
BLAKE2b-256 c86997204978b3266802fd79f3ab6c3dfe2b33c8b11d8d4bb7a56a344f86f499

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