Research
Integer Linear Programming Decoder for Abelian and Non-Abelian Topological Codes
Overview Research area: Quantum error correction and topological order—specifically, decoding algorithms for anyon-based topological codes (Abelian and non-Abelian), with fault-tolerant quantum comput

- arXiv
- 2608.18512
- Published
- 2026-08-19
- Authors
- Dian Jing, Aubrey Zhang, Liang Jiang, Ruben Verresen
AI summary
Overview
Research area: Quantum error correction and topological order—specifically, decoding algorithms for anyon-based topological codes (Abelian and non-Abelian), with fault-tolerant quantum computation as the motivating application.
Technical level: Advanced. The paper assumes familiarity with anyon models, fusion rules, homology-based error correction, and classical optimization (integer/binary linear programming). The conceptual message is accessible, but the formulation is technical.
Scope (one sentence): The paper introduces an integer linear programming (ILP) decoder that encodes anyon fusion rules and noise correlations as linear constraints, and benchmarks error-correction thresholds for the Abelian ℤ₂ and ℤ₃ topological orders and the non-Abelian D₄ topological order.
What This Paper Is About
Topological orders store quantum information nonlocally, and errors show up as anyon excitations whose measured pattern (the syndrome) must be decoded back to a likely physical error. Existing decoders are split: matching-based decoders work only for special Abelian cases (particle–antiparticle annihilation of a single species), while clustering decoders apply broadly but largely ignore anyon fusion data and therefore perform poorly. The authors' goal is a single general-purpose decoder that handles arbitrary fusion rules—including non-Abelian and cyclic ones—and correlated noise across anyon species, while retaining the near-optimal performance associated with minimum-weight perfect matching.
Key Contributions
- An ILP formulation of minimum-weight decoding for arbitrary topological orders. Fusion rules are written as linear constraints, and auxiliary integer variables linearize the problem (including the modulo arithmetic needed for parity-type constraints), so a classical optimizer can find the minimum-weight error configuration consistent with the measured syndrome.
- Explicit decoder constructions for three concrete models: the Abelian ℤ₂ topological order under single-qubit depolarizing noise with correlated charge–flux (e/m) errors; the Abelian ℤ₃ topological order in the charge sector, whose fusion rules (e × e = ē, e × ē = 1) forbid a matching-based decoder; and the non-Abelian D₄ ≅ ℤ₄ ⋊ ℤ₂ topological order under noise creating all anyon species.
- A general anyon-model formulation in which binary fusion variables g_{f→a,s} select one fusion channel per site (Σ_f g_{f→a,s} = 1) and multiplicity constraints equate the number of incident b-anyons to Σ_f N_{f,b} g_{f→a,s}; the decision-variable count scales approximately linearly with code distance times the number of fusion channels.
- Extensions toward practical fault tolerance: incorporation of noisy syndrome measurements (continuous spacetime decoding) and a just-in-time variant for continuous error correction, as stated in the abstract.
Main Findings
- ℤ₂ topological order, depolarizing noise: the ILP decoder reaches a threshold of 18.039(7)%, above most existing decoders and well above the uncorrelated MWPM value of 15.5(5)%, and close to the optimal depolarizing threshold of 18.9(3)%.
- Benchmarked comparisons for ℤ₂: the paper compares against uncorrelated MWPM, union-intersection union-find (UIUF), renormalization group with belief propagation (RG-BP), deep Q-learning, belief propagation with approximate degenerate ordered-statistics decoding (BP-ADOSD), matrix product states (MPS), and belief propagation with MWPM (BP-MWPM).
- ℤ₃ topological order, incoherent charge noise: threshold of 15.346(5)%, close to the Monte Carlo–estimated optimal value of 15.8(2)%, and substantially above previously reported renormalization-group thresholds, none of which exceed 13% (compared against hard-decision RG, MWPM-based HDRG, and soft-decision RG).
- D₄ topological order: the specific numerical threshold is not reported in the portion of the paper available here (the text is truncated at the start of Section VI); the abstract states that the ILP decoder shows a clear performance advantage over most existing decoders in all three cases. The D₄ model is described as acyclic and self-antiparticle, so matching-based decoding is possible and provides a direct comparison baseline.
- Runtime behavior: the ℤ₂ minimum-weight decoding problem under single-qubit Pauli noise is NP-hard, and ILP is NP-hard in general, so worst-case polynomial scaling is not guaranteed. In practice, below threshold both mean and median runtimes are consistent with polynomial scaling over the numerically accessible code distances; at threshold runtime grows substantially, but the observed scaling is inconsistent with a simple exponential dependence on the number of qubits over the accessible range.
- Speed compared with approximate optimal decoding: the ILP decoder typically runs orders of magnitude faster than the approximately optimal Monte Carlo decoder at numerically relevant code distances while retaining near-optimal performance, and it avoids Monte Carlo convergence criteria.
- Role of fusion constraints: the key qualitative gain is that error strings may terminate on syndromes and on other anyon strings according to fusion rules—configurations that matching and clustering decoders do not capture; linear constraints can also encode cross-species noise correlations such as those from Pauli Y errors.
- Global consistency is approximated: for non-Abelian topological orders, the likelihood is approximated by a product of local fusion probabilities p_{f→a}; global conditions requiring anyons inside isolated homologically trivial components to fuse to the vacuum are not fully encoded, and the authors state this has minimal effect on performance.
- Solver: the optimization is carried out with a commercial solver (Gurobi).
Methodology in Plain English
The decoder treats error correction as a constrained optimization problem. Each possible local error event (for example, a Pauli X, Y or Z on a given qubit, or an e–ē pair creation on a given qutrit in a given orientation) gets a binary variable that is 1 if the error happened. Additional integer variables absorb the "wrapping" needed to express parity or mod-3 conditions as ordinary linear equations, so the same framework can encode rules like "an odd number of these errors must touch this site."
Two kinds of constraints are imposed. The first links the error variables to the measured syndrome through the fusion rules: at each site the incident anyons must be able to fuse to the measured anyon label. For general (including non-Abelian) models, extra binary variables pick exactly one fusion channel per site, and further equations force the number of incident anyons of each species to match the multiplicities of the chosen channel—this is what lets strings branch and terminate on other strings rather than only annihilate in pairs.
The second kind comes from the noise model itself (for instance, that two error orientations on one qutrit are mutually exclusive). Each variable is given a weight equal to a log-probability ratio, so that the additive objective equals the log of the error configuration's probability; the optimizer then searches for the configuration with the best objective. Because this is a linear objective over linear constraints with integer variables, standard ILP solvers can attack it directly, giving a minimum-weight decoder that is the analogue of MWPM but valid for general fusion rules.
Benchmarking consists of simulating the three models on a square lattice with periodic boundary conditions (qubits or qutrits on links, four per vertex or plaquette) at increasing system sizes and error rates, extracting the threshold where the logical error rate curves cross.
Why This Matters
Impact on research. The work reframes decoding as constraint satisfaction over fusion data rather than as geometric pairing or clustering. That gives a principled route to near-optimal decoding for non-Abelian topological orders, which previously relied almost exclusively on renormalization-group clustering decoders whose numerical thresholds were much lower than Abelian MWPM thresholds. It also directly handles correlated noise—such as a single physical error generating both charge and flux—which matching decoders cannot represent.
Real-world applications (as motivated by the paper):
- Fault-tolerant quantum computation with topologically protected hardware, where decoding speed and threshold accuracy determine viable overhead.
- Non-Abelian topological orders as a platform for universal quantum computation via braiding and fusion, which requires decoding that respects non-Abelian fusion.
- Trapped-ion implementations of the D₄ topological order, cited as a recent experimental realization.
- Quantum low-density parity-check codes, where linear-programming decoders have already been explored, though the authors argue ILP's expressive power is better suited to general anyon models.
Industry relevance. Thresholds near the optimal values (18.039(7)% versus 18.9(3)%; 15.346(5)% versus 15.8(2)%) translate into hardware requirements, and the use of a commercial ILP solver (Gurobi) shows that off-the-shelf classical optimization can be targeted at decoders. The reported orders-of-magnitude speedup over approximate Monte Carlo optimal decoding at relevant code distances, plus the continuous-time and just-in-time variants, points toward real-time decoding pipelines.
Future Directions
- Full non-Abelian benchmarks. Section VI's D₄ threshold results are not contained in the available text; a natural follow-up is extending such benchmarks to cyclic non-Abelian topological orders (such as those supporting universal braiding) that admit no matching decoder at all.
- Encoding global consistency conditions. The current objective uses a product of local fusion probabilities and neglects conditions requiring anyons in isolated trivial components to fuse to the vacuum; recovering these exactly is an open modeling problem.
- Scaling and runtime guarantees. Since the problem is NP-hard, understanding when the empirically polynomial subthreshold runtime breaks down—and whether problem-specific reformulations (as done for D₄ in the appendix) can be automated—is an open engineering question.
- Measurement noise and streaming operation. The abstract promises noisy-syndrome decoding and a just-in-time continuous variant; validating these against established spacetime decoders and characterizing latency in realistic measurement schedules is the next practical step.
Target Audience
Researchers and graduate students in quantum information working on quantum error correction, topological phases, and anyon models; decoder engineers interested in classical-optimization approaches to syndrome decoding; and experimentalists building topological or topologically inspired quantum hardware who need to know what thresholds are achievable with near-optimal decoding. Readers without background in fusion rules and integer programming will find the framing accessible but the details demanding.
Authors’ abstract
Topological orders (TOs) are widely used as quantum error-correcting codes, with anyon excitations serving as error syndromes. For certain Abelian TOs, decoding can be performed by independently matching particle-antiparticle pairs of each species. However, matching-based decoders cannot handle more general fusion rules in either Abelian or non-Abelian TOs, nor account for noise that correlates different anyon species. While clustering decoders are more broadly applicable, they typically neglect anyon data and fusion properties, leading to poor performance in practice. In this work, we introduce a fundamentally different decoder for arbitrary TOs based on integer linear programming (ILP). The ILP formulation linearizes the error-correction problem through the introduction of auxiliary variables and encodes fusion rules as linear constraints. Classical optimization then identifies the minimum-weight error configuration. As concrete examples, we determine error-correction thresholds for three TOs: the Abelian $\mathbb{Z}_2$ TO under depolarizing noise, where charge and flux errors are correlated; the Abelian $\mathbb{Z}_3$ TO, which does not admit a pairwise matching decoder; and the non-Abelian $D_4$ TO under noise channels that generate all anyon species. We demonstrate the versatility of the ILP decoder by showing a clear performance advantage over most existing decoders in all three cases. We further extend the method to incorporate noisy syndrome measurements and propose a just-in-time variant for continuous error correction. Our results establish ILP as a natural framework for handling correlated errors and general anyon fusion rules, and as a powerful and flexible general-purpose decoder for incoherent anyon noise in arbitrary TOs, with applications to fault-tolerant quantum computation.