Neural Minimum Weight Perfect Matching for Quantum Error Codes
Yotam Peled, David Zenati, Eliya Nachmani
TL;DR
This work tackles decoding in quantum error correction by augmenting the classical Minimum Weight Perfect Matching (MWPM) with a neural predictor that assigns dynamic edge weights based on syndrome data. The Neural Minimum Weight Perfect Matching (NMWPM) architecture combines a Graph Neural Network for local topology and a Transformer for global correlations, trained via a differentiable proxy loss to guide an MWPM step. Empirical results on Toric and Rotated Surface Codes under depolarizing and independent noise show meaningful reductions in logical error rate (LER) and competitive thresholds, with favorable parameter efficiency relative to strong baselines. The approach demonstrates the viability and practical impact of hybrid, data-driven decoders that preserve algorithmic structure while leveraging learned priors to exploit syndrome information. This work thus advances scalable, high-accuracy decoding for fault-tolerant quantum computation.
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 demonstrate significant performance reduction in the Logical Error Rate (LER) over standard baselines, highlighting the advantage of hybrid decoders that combine the predictive capabilities of neural networks with the algorithmic structure of classical matching.
