Skip to main content

PyPI OS License: MIT CI CD Documentation codecov

MQT Logo

MQT QECC - A tool for Quantum Error Correcting Codes

MQT QECC is a tool for quantum error correcting codes and numerical simulations. It is part of the Munich Quantum Toolkit (MQT).

Documentation

Key Features

  • 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.
  • Find the minimum number of code switching operations and their placement in a given quantum circuit that employs code switching as a way to implement logical operations fault-tolerantly.
  • Performing lattice surgery compilation for the color code for CNOT + T circuits with static or movable qubits.

If you have any questions, feel free to create a discussion or an issue on GitHub.

Contributors and Supporters

The Munich Quantum Toolkit (MQT) is developed by the Chair for Design Automation at the Technical University of Munich and supported by 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.

MQT Partner Logos

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

Getting Started

mqt.qecc is available via PyPI.

uv pip install mqt.qecc

Detailed documentation and examples are available at ReadTheDocs.

System Requirements

MQT QECC can be installed on all major operating systems with all officially supported Python versions. Building (and running) is continuously tested under Linux, macOS, and Windows using the latest available system versions for GitHub Actions.

Cite This

Please cite the work that best fits your use case.

The Munich Quantum Toolkit (the project)

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}}
}

Peer-Reviewed Research

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.


Acknowledgements

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.

MQT Funding Footer

Metadata

Release files for mqt.qecc 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mqt.qecc 2.0.0
File Size Uploaded
mqt_qecc-2.0.0.tar.gz 2.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mqt.qecc 2.0.0
File Interpreter ABI Platform
mqt_qecc-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.1 MB

Release files / mqt_qecc-2.0.0.tar.gz

Download URL mqt_qecc-2.0.0.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
7c9fc59912bfc142f0446264b1ee523cf6293288542311748b583b7e6ea0ce36
BLAKE2b-256 checksum
How to use checksums
89dcd40bc6f3354e95f6dbbed6ebb730e550721d835602c740a14b480e11ea9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / mqt_qecc-2.0.0-py3-none-any.whl

Download URL mqt_qecc-2.0.0-py3-none-any.whl
Size 667.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dd54b320aef9c6a4df34ca4ad2a13674c77fe9f812adf0cfdb845d1b8ff652d
BLAKE2b-256 checksum
How to use checksums
cb6346b31e3413b34e56cc936bda37fc1e40fd706fa426f5d6cdf7866558b258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.9.0

43 release files

1.8.0

43 release files

1.7.1

16 release files

1.7.0

16 release files

1.6.0

16 release files

1.4.0

11 release files

1.3.1

9 release files

1.3.0

9 release files

1.2.1

11 release files

1.1.0

11 release files

1.0.2

11 release files

1.0.1

11 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page