Skip to main content

MQT DDSIM - 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 Institute for Integrated Circuits at the Johannes Kepler University Linz. The simulator builds upon our quantum functionality representation (QFR) which in turns builds on 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 iic-quantum@jku.at 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.12.0.tar.gz (839.7 kB view details)

Uploaded Source

Built Distributions

mqt.ddsim-1.12.0-cp310-cp310-win_amd64.whl (493.2 kB view details)

Uploaded CPython 3.10 Windows x86-64

mqt.ddsim-1.12.0-cp310-cp310-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (691.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.0-cp310-cp310-macosx_11_0_arm64.whl (512.1 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mqt.ddsim-1.12.0-cp310-cp310-macosx_10_15_x86_64.whl (566.2 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mqt.ddsim-1.12.0-cp39-cp39-win_amd64.whl (493.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

mqt.ddsim-1.12.0-cp39-cp39-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (691.4 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.0-cp39-cp39-macosx_11_0_arm64.whl (512.2 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mqt.ddsim-1.12.0-cp39-cp39-macosx_10_15_x86_64.whl (566.2 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mqt.ddsim-1.12.0-cp38-cp38-win_amd64.whl (493.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

mqt.ddsim-1.12.0-cp38-cp38-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (690.8 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.12.0-cp38-cp38-macosx_11_0_arm64.whl (512.3 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mqt.ddsim-1.12.0-cp38-cp38-macosx_10_15_x86_64.whl (566.3 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

mqt.ddsim-1.12.0-cp37-cp37m-win_amd64.whl (504.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

mqt.ddsim-1.12.0-cp37-cp37m-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

mqt.ddsim-1.12.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (698.6 kB view details)

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

mqt.ddsim-1.12.0-cp37-cp37m-macosx_10_15_x86_64.whl (562.5 kB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: mqt.ddsim-1.12.0.tar.gz
  • Upload date:
  • Size: 839.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mqt.ddsim-1.12.0.tar.gz
Algorithm Hash digest
SHA256 d18dbe0fd4dd22eb4f7186f84f03819c8d8bce2e7ef779811cd389274118fdcb
MD5 ee7584b61e9b4a3420673562182434b7
BLAKE2b-256 58406fedb31668a6f9b20a8dee905f2b783d92e2b929087d2a0d3542e7308a1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cb9f4be61b7805c95a136667d4a9300c530680e53a3408083394c9add9954217
MD5 09e31a2cacc1e1ffd0bd9d46179f7c66
BLAKE2b-256 4961150fbd9744c00f61843481f50905465a9f204d873db333292d49baf8411c

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f9320d62c202f98aa8eec2be088860f7d91407d00f56f5d0ed95f40467682fce
MD5 275cd55b1384a27497d66d2c972eab9f
BLAKE2b-256 efe979ace8cddd95b36814e924adb1d1432fa9a498f4bce58b49d19a3209ba3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a361ae313e4d88dfdac3671181ae658d3652e1e93b284a8f751aaf2ca4f8bb01
MD5 4da4a241df42c26d2aeb51bbd3d8bb57
BLAKE2b-256 6460c4b69dc89d4a86916c69e9b3661d27cd65a66eb284df528848980b00266b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a396c86ff5627802fa1de6a2e3807252383ae5501023fba6797fd53b8eea713
MD5 78090faef8206339504648c0019dedac
BLAKE2b-256 9aa00ee54fcd6e34c03945323cc82f123751f71c005b6a26b2f078884d4e70be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7a318cff5727e784e2aff74dfd7d28896d602d43975bfe985d58c44a32948481
MD5 764c8a2edcf22d414dcc2fc601b8756f
BLAKE2b-256 b39226d00dabb3fbea4aaff47859607f9bd29e62205911f31b9eeb3dbf987c48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 dc71a09efa84822561eb35d7f31ef5e0d294b35254b7c0e70377b172b9602731
MD5 4f7741129ac8f37ef5b2e27022b6450c
BLAKE2b-256 26c34cff7856563a3bb80dcb1367d5079f9f850101ccbd5d767f357b76a92c57

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.0-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 62449f21ecb2847e9ee60a3e9c3cb6a4c0e656b46919a15db10c12c0c23e4f80
MD5 b75aeed174f9dc0db1e1170b49971be8
BLAKE2b-256 69c4d19df452c4a61203ff7ac0951494c9a457221a83b844fe673d43b7944dce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c6eb2616abbff3fb89a9bac957c0b43cd07d3341d00e11b76cb60a7112143c5b
MD5 e2fde5711f9e1dc43dcf29cda6f15123
BLAKE2b-256 9691f40babfc858f54eb139e522bf2bd09d65838da2ff7be5038154ba893a486

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8d52c5826c970ee5de406eef57b0c52de72c4c980993131d3fbc2577ff9ba5da
MD5 0990da68301c642a419f50914acd7c70
BLAKE2b-256 d8ff80bfbcb6256baf3e11f00f02a3f9fb5009ed40adae4a4881e01f3de6bf32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d8c767d00303e9d8b9e2524e5342595833f359e1cee756d08013471d8ac288f2
MD5 21a1fede6a67fc938aefa661a0134efa
BLAKE2b-256 21172d07933d561681c23adb299f459f40f30c860d768b22f7d69b5a39fd68b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b95d34908746a66e1aaaef647a288f7a5be3f9e79214462dd88ec3a7a118f5bb
MD5 ce4555d58639eaffe925df7f1f9c4334
BLAKE2b-256 f45d4c5dffc4f80bdac39dfda7fbda4363eb7316cec4ae30171f887b37681e81

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.0-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6c80e05d88778842def99f6ddbe6b0ea526481039154ba4c70d7eddc8fe3f550
MD5 47179b4b61caccdef6eee5293aa3d9ea
BLAKE2b-256 6c905a4ef9b38842a85cbf573dea0e94542113768c324e49be864cf6b133274e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 34ae4774ce9beb84468496ae0cc616f54f7fbb8302f3798f9b164d76a000eac1
MD5 b5eddf9968591a7dd5522f4f86a07e3b
BLAKE2b-256 4bfc21646db3c59cb4556799fa43804c3008c00011a6a263e3480395db13daa8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a26a84f17c3b07be519a12417d76455c6a1498d2e027ed7a0ca48e447b1d9af
MD5 ff376ad7ba2ae7866b8f096bee9be910
BLAKE2b-256 cdb975b8a0c5228f2d760959b36410eaa463476bcd3c257e1c0e85a8a0f1bd2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 92d43b836433397ab637ec81fbb6283c17100ffabe76f157b40c2ac9bcaa8759
MD5 e956fd68acfd9a894893c0f2368902a0
BLAKE2b-256 67b67e97c7874937234e10ca75e66ab633e72a804776787709e6c6359fefbada

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 65b89c04389d87528d24d1b70e147190e152b8ed90eeb84142934fe467bca8f8
MD5 3e6aba2ddc259542745001880aff2e1d
BLAKE2b-256 497efd4b34af56bd1165c90f34e91673267e876f1625acb62f32b7444c7b3a5f

See more details on using hashes here.

File details

Details for the file mqt.ddsim-1.12.0-cp37-cp37m-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6632f004e85acd54c58897d47526064eea1da962b466fbccc7684768d9e85d2d
MD5 e0fae7afcb1f3dcfa3f624dbe887ad47
BLAKE2b-256 ae239022fecede669889280bccfb8f7487e917545d4ff8ca5f1c3298cf32d331

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4c94af31f0c2dce01c87dc6b394fed6680b40ee2b50b91f553b72e5a03bb7e51
MD5 a28f874114cf1eccb03535a09b57653b
BLAKE2b-256 fc6df108fb3349e09919291ceae73b3589063925c88ad3ee855d84bf1720a906

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mqt.ddsim-1.12.0-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c75c659b047d0df2efd9668f85cb3050e50156f2bc3cc9bbebefa0c55fde6eed
MD5 9ae0596b38ee38930a030cec57dccf5c
BLAKE2b-256 5c0c737cdcbe07e789a17aa8521693ecfc2143e3fabe70c196c949e33bd5a39b

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