Published April 1, 2026 | Journal article | Version v1 | https://doi.org/10.21105/joss.09142

tqec: A Python package for topological quantum error correction

  • 1. Qraftware, Toulouse, France
  • 2. University of Science and Technology of China, China
  • 3. Stairway Invest, Los Angeles, California, USA
  • 4. School of Physics and Applied Physics, Southern Illinois University, Carbondale, USA
  • 5. Institute of Computing Technology, Chinese Academy of Sciences, China
  • 6. Department of Computer Science, Northwestern University, USA
  • 7. Independent Consultant, Finland
  • 8. Independent Researcher, UK
  • 9. University of Wisconsin-Madison, USA
  • 10. Technical University of Munich, TUM School of Computation, Information and Technology, Germany
  • 11. Intel Corporation, Technology Research Group, Santa Clara, USA
  • 12. Solvy, Spain
  • 13. Parity Quantum Computing Germany GmbH, Hamburg, Germany
  • 14. VTT, Finland
  • 15. PsiQuantum, Palo Alto, California, USA

Files

joss.09142.pdf

Files (3.3 MB)

Name Size Download all
md5:d8efb58137a2a4f9dc44d7059f4a9f3a
217.4 kB Preview Download
md5:1bb7d5fd89502e2d64b0d1b8615b6074
3.1 MB Preview Download

Additional details

Dates

Issued
April 1, 2026

References

  1. Suau, A., Zhang, Y., Thakre, P., Zhao, Y., Dubey, K., Bolanos, J. A., Schelpe, A., Hao, T., Seitz, P., Guerreschi, G. G., Alvarez Perez, Á. E., Stahn, R., Lenssen, J., Reid, B., Fowler, A., Thakre, P., Guerreschi, G. G., & Reid, B. (2026). tqec: A Python package for topological quantum error correction (Version 0.2.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.18927232
  2. Polian, I., & Fowler, A. G. (2015). Design automation challenges for scalable quantum architectures. Proceedings of the 52nd Annual Design Automation Conference, 1–6. https://doi.org/10.1145/2744769.2747921
  3. Fowler, A. G., Mariantoni, M., Martinis, J. M., & Cleland, A. N. (2012). Surface codes: Towards practical large-scale quantum computation. Physical Review A, 86(3). https://doi.org/10.1103/physreva.86.032324
  4. McEwen, M., Bacon, D., & Gidney, C. (2023). Relaxing Hardware Requirements for Surface Code Circuits using Time-dynamics. Quantum, 7, 1172. https://doi.org/10.22331/q-2023-11-07-1172
  5. Gidney, C., Newman, M., Brooks, P., & Jones, C. (2025). Yoked surface codes. Nature Communications, 16(1). https://doi.org/10.1038/s41467-025-59714-1
  6. Kissinger, A., & van de Wetering, J. (2020). PyZX: Large Scale Automated Diagrammatic Reasoning. Electronic Proceedings in Theoretical Computer Science, 318, 229–241. https://doi.org/10.4204/eptcs.318.14
  7. Gidney, C. (2021). Stim: a fast stabilizer circuit simulator. Quantum, 5, 497. https://doi.org/10.22331/q-2021-07-06-497
  8. Watkins, G., Nguyen, H. M., Watkins, K., Pearce, S., Lau, H.-K., & Paler, A. (2024). A High Performance Compiler for Very Large Scale Surface Code Computations. Quantum, 8, 1354. https://doi.org/10.22331/q-2024-05-22-1354
  9. Litinski, D. (2019). A Game of Surface Codes: Large-Scale Quantum Computing with Lattice Surgery. Quantum, 3, 128. https://doi.org/10.22331/q-2019-03-05-128
  10. Leblond, T., Dean, C., Watkins, G., & Bennink, R. (2024). Realistic Cost to Execute Practical Quantum Circuits using Direct Clifford+T Lattice Surgery Compilation. ACM Transactions on Quantum Computing, 5(4), 1–28. https://doi.org/10.1145/3689826
  11. Kan, S., Thakre, P., Dubey, K., Suau, A., Zhang, Y., Fowler, A., Li, A., Stein, S., & Mao, Y. (2025). TUT 12 – automated topological quantum error correction using 3D primitives. 2025 IEEE International Conference on Quantum Computing and Engineering. https://qce.quantum.ieee.org/2025/tutorials-abstracts
  12. Dubey, K., & Smith, K. N. (2025). Access Improvements to Densely Packed Quantum Memory. 2025 IEEE International Conference on Quantum Computing and Engineering (QCE), 636–637. https://doi.org/10.1109/qce65121.2025.10483
  13. Fowler, A. (2023). Computing with fewer qubits: pitfalls and tools to keep you safe. Munich Quantum Software Forum. https://www.youtube.com/watch?v=aUtH7wdwBAM&t=6s
  14. Robertson, A., Gao, H., & Sanders, Y. R. (2025). A resource allocating compiler for lattice surgery. https://arxiv.org/abs/2506.04620
  15. Bolanos, J. A., & Fowler, A. G. (2025). Topologiq: Algorithmic lattice surgery. https://github.com/jbolns/topologiq
  16. Entropica Labs. (2025). Loom: Python library for the simplified setup of quantum error correction codes. https://github.com/entropicalabs/el-loom
  17. Watkins, G., Nguyen, H. M., Watkins, K., Pearce, S., Lau, H.-K., & Paler, A. (2024). Lattice surgery compiler: Lattice surgery quantum error correction compiler. https://github.com/latticesurgery-com/lattice-surgery-compiler
  18. Liu, S., Benchasattabuse, N., & Morawiec, S. (2023). Substrate scheduler: A compiler to generate fault-tolerant graph states using the stabilizer formalism. https://github.com/sfc-aqua/gosc-graph-state-generation