- Open Access
Hypergraph-based approximate maximum likelihood decoding for quantum codes under circuit-level noise
Phys. Rev. Research 8, 023191 – Published 20 May, 2026
DOI: https://doi.org/10.1103/ydb8-vd3x
Abstract
Maximum likelihood decoding (MLD) achieves optimal accuracy but is computationally infeasible for large-distance codes. Tensor-network-based MLD (TN-MLD) improves efficiency but has so far only been shown to work for small-distance surface codes. We introduce a hypergraph-based approximate MLD (HAMLD) that enables more efficient decoding of more general codes under circuit-level noise. Unlike TN-MLD, our HAMLD employs syndrome-guided hyperedge selection and probability-based truncation to reduce redundant computation. We benchmarked our approach on surface codes, color codes, and bivariate-bicycle (BB) codes under a circuit-level noise model. Numerical results demonstrate that HAMLD can decode BB codes with hundreds of qubits, which MLD and TN-MLD cannot handle. For a surface code with distance and repetition rounds both equal to 3, HAMLD achieves optimal decoding accuracy while being about faster than MLD and about faster than TN-MLD. HAMLD also achieves higher accuracy than common decoders—minimum-weight perfect matching, Chromobius, and —in the two smallest parameter settings we considered, reducing logical error rates by an average of 27.8% for surface codes, 58.5% for color codes, and 74.4% for BB codes through degeneracy-aware and precise hypergraph selection.
Physics Subject Headings (PhySH)
Article Text
References (41)
- D. Gao et al., Establishing a new benchmark in quantum computational advantage with 105-qubit Zuchongzhi 3.0 processor, Phys. Rev. Lett. 134, 090601 (2025).
- Google Quantum AI and Collaborators, Quantum error correction below the surface code threshold, Nature (London) 638, 920 (2024).
- A. G. Fowler, M. Mariantoni, J. M. Martinis, and A. N. Cleland, Surface codes: Towards practical large-scale quantum computation, Phys. Rev. A 86, 032324 (2012).
- R. Acharya, I. Aleiner, R. Allen, T. I. Andersen, and M. Ansmann, Suppressing quantum errors by scaling a surface code logical qubit, Nature (London) 614, 676 (2023).
- A. J. Landahl, J. T. Anderson, and P. R. Rice, Fault-tolerant quantum computing with color codes, arXiv:1108.5738.
- N. Lacroix, A. Bourassa, F. J. Heras, L. M. Zhang, J. Bausch, A. W. Senior, T. Edlich, N. Shutty, V. Sivak, A. Bengtsson, et al., Scaling and logic in the color code on a superconducting quantum processor, Nature (London) 645, 614 (2025).
- S. Bravyi, A. W. Cross, J. M. Gambetta, D. Maslov, P. Rall, and T. J. Yoder, High-threshold and low-overhead fault-tolerant quantum memory, Nature (London) 627, 778 (2024).
- L. Skoric, D. E. Browne, K. M. Barnes, N. I. Gillespie, and E. T. Campbell, Parallel window decoding enables scalable fault tolerant quantum computation, Nat. Commun. 14, 7040 (2023).
- X. Tan, F. Zhang, R. Chao, Y. Shi, and J. Chen, Scalable surface-code decoders with parallelization in time, PRX Quantum 4, 040344 (2023).
- P. Das, A. Locharla, and C. Jones, Lilliput: A lightweight low-latency lookup-table decoder for near-term quantum error correction, in Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (Association for Computing Machinery, New York, 2022), pp. 541–553.
- G. S. Ravi, J. M. Baker, A. Fayyazi, S. F. Lin, A. Javadi-Abhari, M. Pedram, and F. T. Chong, Better than worst-case decoding for quantum error correction, in Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (Association for Computing Machinery, New York, 2023), Vol. 2, pp. 88–102.
- Y. Wu and L. Zhong, Fusion blossom: Fast MWPM decoders for QEC, in 2023 IEEE International Conference on Quantum Computing and Engineering (QCE) (IEEE, New York, 2023), Vol. 1, pp. 928–938.
- N. Alavisamani, S. Vittal, R. Ayanzadeh, P. Das, and M. Qureshi, Promatch: Extending the reach of real-time quantum error correction with adaptive predecoding, in Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (Association for Computing Machinery, New York, 2024), Vol. 3, pp. 818–833.
- T. Müller, T. Alexander, M. E. Beverland, M. Bühler, B. R. Johnson, T. Maurer, and D. Vandeth, Improved belief propagation is sufficient for real-time decoding of quantum memory, arXiv:2506.01779.
- S. Bravyi, M. Suchara, and A. Vargo, Efficient algorithms for maximum likelihood decoding in the surface code, Phys. Rev. A 90, 032326 (2014).
- N. Sundaresan, T. J. Yoder, Y. Kim, M. Li, and E. H. Chen, Demonstrating multi-round subsystem quantum error correction using matching and maximum likelihood decoders, Nat. Commun. 14, 2852 (2023).
- C. Piveteau, C. T. Chubb, and J. M. Renes, Tensor-network decoding beyond 2D, PRX Quantum 5, 040303 (2024).
- H. Cao, S. Zhao, D. Feng, Z. Shen, H. Yan, T. Su, W. Sun, H. Xu, F. Pan, H. Yu, and P. Zhang, Exact decoding of quantum error-correcting codes, Phys. Rev. Lett. 134, 190603 (2025).
- P. Fuentes, J. E. Martinez, P. M. Crespo, and J. Garcia-Frías, Degeneracy and its impact on the decoding of sparse quantum codes, IEEE Access 9, 89093 (2021).
- K.-Y. Kuo and C.-Y. Lai, Exploiting degeneracy in belief propagation decoding of quantum codes, npj Quantum Inf. 8, 111 (2022).
- O. Higgott, Pymatching: A Python package for decoding quantum codes with minimum-weight perfect matching, ACM Trans. Quantum Comput. 3, 1 (2022).
- N. Raveendran and B. Vasić, Trapping sets of quantum LDPC codes, Quantum 5, 562 (2021).
- O. Higgott, stimbposd: A package for decoding Stim circuits using belief propagation with ordered statistics decoding, GitHub (2024), available at: https://github.com/oscarhiggott/stimbposd.
- L. A. Beni, O. Higgott, and N. Shutty, Tesseract: A search-based decoder for quantum error correction, arXiv:2503.10988.
- K. R. Ott, B. Hetényi, and M. E. Beverland, Decision-tree decoders for general quantum LDPC codes, arXiv:2502.16408.
- In recent literature, the term “syndrome measurement circuit” is most commonly used, though some works also refer to it as a “syndrome extraction circuit” or simply a QECC circuit.
- A. G. Fowler, Minimum weight perfect matching of fault-tolerant topological quantum error correction in average o(1) parallel time, Quantum Info. Comput. 15, 145 (2015).
- A. deMarti iOlius, J. E. Martinez, P. Fuentes, P. M. Crespo, and J. Garcia-Frias, Performance of surface codes in realistic quantum hardware, Phys. Rev. A 106, 062428 (2022).
- A. iOlius, P. Fuentes, R. Orús, P. M. Crespo, and J. E. Martinez, Decoding algorithms for surface codes, Quantum 8, 1498 (2024).
- C. Gidney, Stim: A fast stabilizer circuit simulator, Quantum 5, 497 (2021).
- C. Gidney, M. Newman, A. Fowler, and M. Broughton, A fault-tolerant honeycomb memory, Quantum 5, 605 (2021).
- D. Gottesman, Stabilizer Codes and Quantum Error Correction (California Institute of Technology, Pasadena, California, 1997).
- In practical implementations of MLD, contractions are typically performed sequentially over individual detectors. Therefore, we assume in the following discussion.
- The MLD referred to in this paper specifically denotes online MLD, as actual decoding only requires decoding based on the measured syndrome, without the need to compute decoding results for all possible syndromes.
- C. Gidney and C. Jones, New circuits and an open source decoder for the color code, arXiv:2312.08813.
- J. Roffe, D. R. White, S. Burton, and E. Campbell, Decoding across the quantum low-density parity-check code landscape, Phys. Rev. Res. 2, 043423 (2020).
- J. C. Bridgeman and C. T. Chubb, Hand-waving and interpretive dance: An introductory course on tensor networks, J. Phys. A: Math. Theor. 50, 223001 (2017).
- C. Huang, F. Zhang, M. Newman, X. Ni, and D. Ding, Efficient parallelization of tensor network contraction for simulating quantum computation, Nat. Comput. Sci. 1, 578 (2021).
- J. Gray and S. Kourtis, Hyper-optimized tensor network contraction, Quantum 5, 410 (2021).
- K. Chen, HAMLD (hypergraph-based approximate maximum likelihood decoding), GitHub (2025), available at: https://github.com/kechen666/hamld.
- D. Gottesman, Surviving as a Quantum Computer in a Classical World (2024), https://www.cs.umd.edu/class/spring2024/cmsc858G/.