Skip to main content

MQT QCEC - A tool for Quantum Circuit Equivalence Checking

Project description

PyPI OS License: MIT CI Bindings Documentation codecov

MQT QCEC - A tool for Quantum Circuit Equivalence Checking

A tool for quantum circuit equivalence checking developed by the Institute for Integrated Circuits at the Johannes Kepler University Linz and the Chair for Design Automation at the Technical University of Munich. QCEC is part of the Munich Quantum Toolkit (formerly known as JKQ). It builds upon our quantum functionality representation (QFR) and our decision diagram (DD) package.

Detailed documentation on all available methods, options, and input formats 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

QCEC is available via PyPI for Linux, macOS, and Windows.

(venv) $ pip install mqt.qcec

The following code gives an example on the usage:

from mqt import qcec

# initialize the equivalence checker
ecm = qcec.EquivalenceCheckingManager("circ1.qasm", "circ2.qasm")

# execute the check
ecm.run()

# obtain the result
print(ecm.equivalence())

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

QCEC has been developed based on methods proposed in the following papers:

a
L. Burgholzer and R. Wille, "Advanced Equivalence Checking for Quantum Circuits," Transactions on CAD of Integrated Circuits and Systems (TCAD), 2021

a
L. Burgholzer, R. Raymond, and R. Wille, "Verifying Results of the IBM Qiskit Quantum Circuit Compilation Flow," in IEEE International Conference on Quantum Computing (QCE), 2020

a
L. Burgholzer, R. Kueng, and R. Wille, "Random Stimuli Generation for the Verification of Quantum Circuits," in Asia and South Pacific Design Automation Conference (ASP-DAC), 2021

a
L. Burgholzer and R. Wille, "Handling Non-Unitaries in Quantum Circuit Equivalence Checking," in Design Automation Conference (DAC), 2022

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.qcec-2.0.0rc1.tar.gz (600.4 kB view hashes)

Uploaded Source

Built Distributions

mqt.qcec-2.0.0rc1-cp310-cp310-win_amd64.whl (511.9 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

mqt.qcec-2.0.0rc1-cp310-cp310-musllinux_1_1_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

mqt.qcec-2.0.0rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (688.3 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mqt.qcec-2.0.0rc1-cp310-cp310-macosx_11_0_arm64.whl (546.4 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mqt.qcec-2.0.0rc1-cp310-cp310-macosx_10_15_x86_64.whl (600.4 kB view hashes)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mqt.qcec-2.0.0rc1-cp39-cp39-win_amd64.whl (512.1 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

mqt.qcec-2.0.0rc1-cp39-cp39-musllinux_1_1_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

mqt.qcec-2.0.0rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (688.6 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mqt.qcec-2.0.0rc1-cp39-cp39-macosx_11_0_arm64.whl (546.6 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mqt.qcec-2.0.0rc1-cp39-cp39-macosx_10_15_x86_64.whl (600.6 kB view hashes)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mqt.qcec-2.0.0rc1-cp38-cp38-win_amd64.whl (511.9 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

mqt.qcec-2.0.0rc1-cp38-cp38-musllinux_1_1_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

mqt.qcec-2.0.0rc1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (688.1 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mqt.qcec-2.0.0rc1-cp38-cp38-macosx_11_0_arm64.whl (546.5 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mqt.qcec-2.0.0rc1-cp38-cp38-macosx_10_15_x86_64.whl (600.5 kB view hashes)

Uploaded CPython 3.8 macOS 10.15+ x86-64

mqt.qcec-2.0.0rc1-cp37-cp37m-win_amd64.whl (524.3 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

mqt.qcec-2.0.0rc1-cp37-cp37m-musllinux_1_1_x86_64.whl (1.2 MB view hashes)

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

mqt.qcec-2.0.0rc1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (699.0 kB view hashes)

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

mqt.qcec-2.0.0rc1-cp37-cp37m-macosx_10_15_x86_64.whl (594.4 kB view hashes)

Uploaded CPython 3.7m 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