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. The required dependencies are OpenMP >= 4.0 and Threads::Threads. 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.11.1.tar.gz (40.3 MB view hashes)

Uploaded Source

Built Distributions

mqt.ddsim-1.11.1-cp310-cp310-win_amd64.whl (489.0 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

mqt.ddsim-1.11.1-cp310-cp310-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

mqt.ddsim-1.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (751.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.11.1-cp310-cp310-macosx_10_15_x86_64.whl (819.7 kB view hashes)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mqt.ddsim-1.11.1-cp39-cp39-win_amd64.whl (489.1 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

mqt.ddsim-1.11.1-cp39-cp39-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

mqt.ddsim-1.11.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (752.0 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.11.1-cp39-cp39-macosx_10_15_x86_64.whl (819.6 kB view hashes)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mqt.ddsim-1.11.1-cp38-cp38-win_amd64.whl (489.1 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

mqt.ddsim-1.11.1-cp38-cp38-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

mqt.ddsim-1.11.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (751.6 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mqt.ddsim-1.11.1-cp38-cp38-macosx_10_15_x86_64.whl (819.7 kB view hashes)

Uploaded CPython 3.8 macOS 10.15+ x86-64

mqt.ddsim-1.11.1-cp37-cp37m-win_amd64.whl (500.4 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

mqt.ddsim-1.11.1-cp37-cp37m-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

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

mqt.ddsim-1.11.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (758.9 kB view hashes)

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

mqt.ddsim-1.11.1-cp37-cp37m-macosx_10_15_x86_64.whl (816.0 kB view hashes)

Uploaded CPython 3.7m macOS 10.15+ x86-64

mqt.ddsim-1.11.1-cp36-cp36m-win_amd64.whl (500.5 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

mqt.ddsim-1.11.1-cp36-cp36m-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

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

mqt.ddsim-1.11.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (758.7 kB view hashes)

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

mqt.ddsim-1.11.1-cp36-cp36m-macosx_10_15_x86_64.whl (816.1 kB view hashes)

Uploaded CPython 3.6m macOS 10.15+ x86-64

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