This release is a pre-release and may not be stable for production use.
MQT QCEC - A tool for Quantum Circuit Equivalence Checking
A tool for quantum circuit equivalence checking developed as part of the Munich Quantum Toolkit (MQT)[^1] by the Chair for Design Automation at the Technical University of Munich. It builds upon our quantum functionality representation (QFR), our decision diagram (DD) package, and our ZX-diagram 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 quantum.cda@xcit.tum.de 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
# verify the equivalence of two circuits provided as qasm files
result = qcec.verify("circ1.qasm", "circ2.qasm")
# print the result
print(result.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:
L. Burgholzer and R. Wille, "Advanced Equivalence Checking for Quantum Circuits," Transactions on CAD of Integrated Circuits and Systems (TCAD), 2021
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
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
L. Burgholzer and R. Wille, "Handling Non-Unitaries in Quantum Circuit Equivalence Checking," in Design Automation Conference (DAC), 2022
[^1] The Munich Quantum Toolkit was formerly known under the acronym JKQ and developed by the Institute for Integrated Circuits at the Johannes Kepler University Linz).
Metadata
Release files for mqt-qcec 2.0.0rc7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mqt.qcec-2.0.0rc7.tar.gz | 1.8 MB | Details |
Built distributions (wheels)
Total release size: 23.2 MB
Release files / mqt.qcec-2.0.0rc7.tar.gz
| Download URL | mqt.qcec-2.0.0rc7.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5161c7b926c6ec5e73075701a1c318be2799444fb2b44eeb3897a960bd228c82
|
|
BLAKE2b-256 checksum How to use checksums |
ff3f902ef062969b3086792005dbb5d2dbba08d6c53cc0678002df7b6fbcdd27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp311-cp311-win_amd64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 603.4 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
81866c78c5c549759e14b7f506f7c20596a7ba14dfc30fbd55440a100ebfe058
|
|
BLAKE2b-256 checksum How to use checksums |
1154a7a7edafe65882a6c4d7a9f391f5ae324c273a77a1f8e64de937b7a49c69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp311-cp311-musllinux_1_1_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp311-cp311-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.11 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
469305406d29addfe996ddbc463c9e2d407d19560ab3758332729f7e725d575a
|
|
BLAKE2b-256 checksum How to use checksums |
b3587e9d45781f5be9b111f9d791de6d3d62f2be102eaa1f72eb8664730f8cda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 861.0 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e6d81a60844c0225ac5c9afec3a4c30e797299626233dce629e0cedd30fecbbd
|
|
BLAKE2b-256 checksum How to use checksums |
9f98b90ecbe510d9bd57c4720e230e38c6fdd9a6a8546207b0bd36e1ad4a6a74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 632.5 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2f0531c16d95a3207053f4e81d2defb0f26cd087b435cbf42c39878bf057310b
|
|
BLAKE2b-256 checksum How to use checksums |
c9e813a16703397525cc1cc71837de4f0788c12eb368b4a735dcb06030b5de3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp311-cp311-macosx_10_15_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp311-cp311-macosx_10_15_x86_64.whl |
|---|---|
| Size | 949.0 kB |
| Tags | CPython 3.11 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
e9674d3dfe9eebd86b9553b6658b3f9d283d65d3fcc9478826f0eb08f80602fe
|
|
BLAKE2b-256 checksum How to use checksums |
019ea3298fc4723e831966c1e37538a4346e7230b73d9d7e28b2587727647db2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp310-cp310-win_amd64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 603.5 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
039f55d621323046479cc97c6486b837c7b026f6c5d3346a6c8e4002485b375f
|
|
BLAKE2b-256 checksum How to use checksums |
7e16351a89fe119953a9f538a5630831e532a84f2a21e259742327cdd18c486e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp310-cp310-musllinux_1_1_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp310-cp310-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.10 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
1cda088166427ab80ca9142c18a9b3838afb51494ba2864ac8e454673abf85a4
|
|
BLAKE2b-256 checksum How to use checksums |
0af49b4de7586f39e411957eac4fde4ad9b5d9e2420853b4fe4e5031ca34faf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 861.0 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
050d6ab592a4f5176838b049475ba438574fcfcc6709045d56f01cf83cfeb4d0
|
|
BLAKE2b-256 checksum How to use checksums |
82d566cc9cbf9101edf660b38591b3a7d191e76eb589d0c8963bd96eb07195f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 632.6 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9db6ed606a2747e63042cc408ec016faf978af0e3458d6d524938b9a0230b475
|
|
BLAKE2b-256 checksum How to use checksums |
50ff27faa973de93126d2f12b5ae81a620327037b1ad19663eef609b57745cb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp310-cp310-macosx_10_15_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp310-cp310-macosx_10_15_x86_64.whl |
|---|---|
| Size | 949.0 kB |
| Tags | CPython 3.10 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
910e8bf6ec8b473841afb4186438e366d1ce423f1fb521f8424743fe6797cc98
|
|
BLAKE2b-256 checksum How to use checksums |
14f857e1d9e30772228f9d2b698b88408177ff78badd5ef4826b97687da9b2b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp39-cp39-win_amd64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 603.5 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dfb651d135f1fac3f3e529e59046e3052846c979a16aec516e1783b49564dfe2
|
|
BLAKE2b-256 checksum How to use checksums |
e13cfe37cc492c3eb0e60a60f9944a70f249200762353d35c56ac13f453c267b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp39-cp39-musllinux_1_1_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp39-cp39-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.9 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
a615b9ad44d083c9b164cf91c2884f73911615e2d43dbd4610a3377ae14dfcb2
|
|
BLAKE2b-256 checksum How to use checksums |
39ed37c52cb01abb252397fcf30081356deb6db963000494dd910fb74f2b143b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 861.7 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7ac6302169575bd11c255403553d5ac6353e6599c83759fee2c107a6f8d0893e
|
|
BLAKE2b-256 checksum How to use checksums |
93fbef6896286fbafd98a0603567bc2cfa2c692e45aefc90f744053a55b5ca90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 632.6 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
68eb708be6b2bc9e9188d32659f0c59dda1bcdb99cf2ea29a20355f542a741bb
|
|
BLAKE2b-256 checksum How to use checksums |
7feca9a30c7d82eaebc34b595ec488ae9493995328ef8ba53a000511828073f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp39-cp39-macosx_10_15_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp39-cp39-macosx_10_15_x86_64.whl |
|---|---|
| Size | 949.1 kB |
| Tags | CPython 3.9 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
f4b559bf5eb668d28e93222cba8fe2c822ebbea6293782b2f9f6c5747bfb9c86
|
|
BLAKE2b-256 checksum How to use checksums |
2a6b185a057415635b337520c7c577325811b622f69c979d27ecf9be74202a16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp38-cp38-win_amd64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 603.5 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
686fe8efa459ceb4eaff2bfb31601f9d8677bdb5f49d16f18856aad7c3020c91
|
|
BLAKE2b-256 checksum How to use checksums |
930f1553de95225d7ba9d5ed8807bacb66babeb1459b66830b36fe4a4bf3eafb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp38-cp38-musllinux_1_1_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp38-cp38-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.8 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
08603f1b775192b4e1b717118879638279ad70201738b7c85657679aced777ae
|
|
BLAKE2b-256 checksum How to use checksums |
93e02751f065de75185d38fdbf6ae29835c3e28429103067f497322d19467cc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 860.9 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
cee65e0c5293c8ae39980231813033f311de03d0c8de04cbbc31d75ec8070ad7
|
|
BLAKE2b-256 checksum How to use checksums |
cb239ec0e4b6cb26975e3734427c939e135e564c21689e904c3ae1a8c2bfc962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp38-cp38-macosx_11_0_arm64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp38-cp38-macosx_11_0_arm64.whl |
|---|---|
| Size | 632.6 kB |
| Tags | CPython 3.8 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d09c637d7449e8eaa0cba425d6c8a14619f3bb37716f70770eefbc4225c8754b
|
|
BLAKE2b-256 checksum How to use checksums |
e217c2a3a49619aa5010c01b5eee08cacde7fb9ea5b56f6d035eedf4170ea629
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp38-cp38-macosx_10_15_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp38-cp38-macosx_10_15_x86_64.whl |
|---|---|
| Size | 949.1 kB |
| Tags | CPython 3.8 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
bbfc1a3991768c4938d8f9085932820e0d96b0f95f01557368dfa07d512902ab
|
|
BLAKE2b-256 checksum How to use checksums |
9c861e4e5ec004a49b7e674812ef39b958eefc2f28d01ee6838d9dc13aacd355
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp37-cp37m-win_amd64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 616.1 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a8a7f3f03ad03ecd2464a625770c882a97fd3eb5ec13598f51afede3aefdac96
|
|
BLAKE2b-256 checksum How to use checksums |
3239b9319b010a4eb34390240f6b90a3b3fa56b91ce33f556b33a9759834f7b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp37-cp37m-musllinux_1_1_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp37-cp37m-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
631ee7833ee5a97cdc4c7de43e2826c24b64110bd11da2de119a8142db3c8ae1
|
|
BLAKE2b-256 checksum How to use checksums |
2b3ec408622f8e3037e97222723228f9b09598e27bbaae293279da15e9a32e8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 872.6 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
290fe91c559ae2eb224eca041243a0170e0224b76ffa42058dd5763cfcb57728
|
|
BLAKE2b-256 checksum How to use checksums |
55ccbb148f202e4abfc5d7e0aca4836eeaefbd249c377d194d420d6f7a896a4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / mqt.qcec-2.0.0rc7-cp37-cp37m-macosx_10_15_x86_64.whl
| Download URL | mqt.qcec-2.0.0rc7-cp37-cp37m-macosx_10_15_x86_64.whl |
|---|---|
| Size | 944.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
581533029f76b8c4027c2483ff20117acd3078489c1f4a86d3c337f65f1a2fcb
|
|
BLAKE2b-256 checksum How to use checksums |
39caa8b4bfcf2171107cb8ca772092ed8c3ab3ad273a489599c253677bb23389
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|