Neural Minimum Weight Perfect Matching for Quantum Error Codes
Yotam Peled, David Zenati, Eliya Nachmani
Abstract
Realizing the full potential of quantum computation requires Quantum Error Correction (QEC). QEC reduces error rates by encoding logical information across redundant physical qubits, enabling errors to be detected and corrected. A common decoder used for this task is Minimum Weight Perfect Matching (MWPM) a graph-based algorithm that relies on edge weights to identify the most likely error chains. In this work, we propose a data-driven decoder named Neural Minimum Weight Perfect Matching (NMWPM). Our decoder utilizes a hybrid architecture that integrates Graph Neural Networks (GNNs) to extract local syndrome features and Transformers to capture long-range global dependencies, which are then used to predict dynamic edge weights for the MWPM decoder. To facilitate training through the non-differentiable MWPM algorithm, we formulate a novel proxy loss function that enables end-to-end optimization. Our findings on the toric code under depolarizing noise demonstrate thresholds of 17.9% and 10.95%, nearing the 18.9% and 11.0% maximum likelihood bounds, highlighting the advantage of hybrid decoders that combine the predictive capabilities of neural networks with the algorithmic structure of classical matching.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on2
Related papers
- SAQ: Stabilizer-Aware Quantum Error Correction DecoderDavid Zenati, Eliya NachmaniICLR 2026
- Promatch: Extending the Reach of Real-Time Quantum Error Correction with Adaptive PredecodingNarges Alavisamani, Suhas Vittal, Ramin Ayanzadeh, Poulami Das et al.ASPLOS 2024 · 14 citations
- Astrea: Accurate Quantum Error-Decoding via Practical Minimum-Weight Perfect-MatchingSuhas Vittal, Poulami Das, Moinuddin K. QureshiISCA 2023 · 47 citations
- Micro Blossom: Accelerated Minimum-Weight Perfect Matching Decoding for Quantum Error CorrectionYue Wu, Namitha Liyanage, Lin ZhongASPLOS 2025 · 10 citations
- Weighted Range-Constrained Ising-Model Decoder for Quantum Error CorrectionXinyi Guo, Hiromitsu Awano, Takashi SatoDAC 2025
