MQT QECC is a tool for quantum error correcting codes and numerical simulations. It is part of the Munich Quantum Toolkit (MQT).
- Decode (triangular) color codes and conduct respective numerical simulations.
- The decoder is based on an analogy to the classical LightsOut puzzle and formulated as a MaxSAT problem. The SMT solver Z3 is used to determine minimal solutions of the MaxSAT problem, resulting in minimum-weight decoding estimates.
- Decode bosonic quantum LDPC codes and conduct numerical simulations for analog information decoding under phenomenological (cat qubit) noise.
- Synthesize non-deterministic and deterministic fault-tolerant state preparation circuits for qubit CSS codes.
Note
Basic usage for lattice surgery compilation beyond the surface code is described in docs/Co3.rst
in the ls-compilation
branch.
The code quality in the branch is actively being improved.
Warning
The C++ implementation of the union find decoder for LDPC codes and the circuit transpilation framework have been removed with v2.0.0
and are no longer available.
QECC is now entirely a Python package.
For up-to-date software for decoding LDPC codes we refer to quantumgizmos/ldpc.
If you would still like to use these features, they are available in mqt.qecc
versions v2.0.0
.
If you have any questions, feel free to create a discussion or an issue on GitHub.
The Munich Quantum Toolkit (MQT) is developed by the Chair for Design Automation at the Technical University of Munich and supported by the Munich Quantum Software Company (MQSC). Among others, it is part of the Munich Quantum Software Stack (MQSS) ecosystem, which is being developed as part of the Munich Quantum Valley (MQV) initiative.
Thank you to all the contributors who have helped make MQT QECC a reality!
The MQT will remain free, open-source, and permissively licensed—now and in the future. We are firmly committed to keeping it open and actively maintained for the quantum computing community.
To support this endeavor, please consider:
- Starring and sharing our repositories: https://github.com/munich-quantum-toolkit
- Contributing code, documentation, tests, or examples via issues and pull requests
- Citing the MQT in your publications (see Cite This)
- Citing our research in your publications (see References)
- Using the MQT in research and teaching, and sharing feedback and use cases
mqt.qecc
is available via PyPI.
(venv) $ pip install mqt.qecc
Detailed documentation and examples are available at ReadTheDocs.
MQT QECC can be installed on all major operating systems with all supported Python versions. Building (and running) is continuously tested under Linux, macOS, and Windows using the latest available system versions for GitHub Actions.
Please cite the work that best fits your use case.
When discussing the overall MQT project or its ecosystem, cite the MQT Handbook:
@inproceedings{mqt,
title = {The {{MQT}} Handbook: {{A}} Summary of Design Automation Tools and Software for Quantum Computing},
shorttitle = {{The MQT Handbook}},
author = {Wille, Robert and Berent, Lucas and Forster, Tobias and Kunasaikaran, Jagatheesan and Mato, Kevin and Peham, Tom and Quetschlich, Nils and Rovara, Damian and Sander, Aaron and Schmid, Ludwig and Schoenberger, Daniel and Stade, Yannick and Burgholzer, Lukas},
year = 2024,
booktitle = {IEEE International Conference on Quantum Software (QSW)},
doi = {10.1109/QSW62656.2024.00013},
eprint = {2405.17543},
eprinttype = {arxiv},
addendum = {A live version of this document is available at \url{https://mqt.readthedocs.io}}
}
When citing the underlying methods and research, please reference the most relevant peer-reviewed publications from the list below:
[1] L. Schmid, T.Peham, L. Berent, M. Müller, and R. Wille. Deterministic Fault-Tolerant State Preparation for Near-Term Quantum Error Correction: Automatic Synthesis Using Boolean Satisfiability
[2] T. Peham, L. Schmid, L. Berent, M. Müller, and R. Wille. Automated Synthesis of Fault-Tolerant State Preparation Circuits for Quantum Error Correction Codes PRX Quantum 6, 020330, 2025.
[3] L. Berent, T. Hillmann, J. Eisert, R. Wille, and J. Roffe. Analog information decoding of bosonic quantum LDPC codes. PRX Quantum 5, 020349, 2024.
[4] L. Berent, L. Burgholzer, P. J. Derks, J. Eisert, and R. Wille. Decoding quantum color codes with MaxSAT. Quantum 8, 1506, 2024.
[5] T. Grurl, C. Pichler, J. Fuss, and R. Wille. Automatic Implementation and Evaluation of Error-Correcting Codes for Quantum Computing: An Open-Source Framework for Quantum Error-Correction. International Conference on VLSI Design and International Conference on Embedded Systems (VLSID), 2023.
[6] L. Berent, L. Burgholzer, and R. Wille. Software Tools for Decoding Quantum Low-Density Parity Check Codes. Asia and South Pacific Design Automation Conference (ASP-DAC), 2023.
The Munich Quantum Toolkit has been supported by the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation program (grant agreement No. 101001318), the Bavarian State Ministry for Science and Arts through the Distinguished Professorship Program, as well as the Munich Quantum Valley, which is supported by the Bavarian state government with funds from the Hightech Agenda Bayern Plus.