Research
Local autonomous inference machines for quantum LDPC codes
Overview Research area: Quantum error correction — specifically decoding of quantum low-density parity-check (LDPC) codes using local, distributed, autonomous classical processing. Technical level: Ad

- arXiv
- 2609.38139
- Published
- 2026-09-29
- Authors
- Siddhant Midha, Dmitry A. Abanin
AI summary
Overview
Research area: Quantum error correction — specifically decoding of quantum low-density parity-check (LDPC) codes using local, distributed, autonomous classical processing.
Technical level: Advanced. The paper assumes familiarity with CSS codes, Tanner graphs, syndromes, and belief propagation (BP), though its central architectural idea can be grasped without following the message-passing equations.
Scope: The paper proposes and numerically benchmarks a local, autonomous measurement-and-feedback "inference machine," built on belief propagation, for decoding quantum LDPC codes — including codes such as the toric code where standard BP decoding shows no threshold.
What This Paper Is About
Decoding a quantum code means inferring an error correction from measured syndrome data, and as quantum processors grow, that inference must itself stay efficient and local. Most high-performance decoders (matching, clustering, renormalization-group methods, or BP plus nonlocal post-processing) require processing information over length scales that grow with system size, and they typically run in a "decode-then-correct" fashion where a classical algorithm finishes before any correction is applied. The authors ask whether decoding can instead be done by strictly local classical processors that continuously exchange messages with their neighbors and apply corrective feedback to the device on the fly, with no global overseer.
Key Contributions
-
A local, distributed decoding architecture. Classical processors are laid out on the geometry of the code's Tanner graph, one per data and check node, performing only local syndrome measurement, neighbor-to-neighbor message passing, and local feedback onto the quantum device.
-
A discrete-time inference machine with a threshold-preservation theorem. The authors show that any code already exhibiting a threshold under ordinary BP can be promoted to an autonomous local measurement-and-feedback dynamics that preserves that threshold. They prove this concretely for the one-dimensional repetition code: the machine achieves the optimal threshold $p_{\text{th}} = 0.5$ with average clearing time $\mathbb{E}[i_{\text{clr}}] = O(\log d)$.
-
A continuous-time, check-centric inference machine for codes where naive BP fails. The key conceptual move is to stop demanding a globally consistent solution from BP and instead use BP only as a source of reliable local marginals that tell active syndrome defects which direction to move. Each check node carries an independent Poisson clock; when its clock rings and it is active and has "evidence," it flips one neighboring qubit according to the local beliefs.
-
Numerical demonstration of threshold behavior beyond standard BP. The construction shows threshold behavior in the point-like sectors of the two- and three-dimensional toric codes (where conventional BP decoding fails), and is then extended via the graph-generality of BP to the membrane-like sector of the 3D toric code and to a family of bivariate-bicycle quantum LDPC codes including the Gross code.
Main Findings
-
Repetition code: The discrete inference machine achieves threshold $p_{\text{th}} = 0.5$ with $\mathbb{E}[i_{\text{clr}}] = O(\log d)$; numerics for $d \in {20, 40, 80, 160}$ show logical error rate curves intersecting at $p = 0.5$ and a logarithmic trend in average clearing time. Figure 1(b) shows a trajectory of residual error versus decoder time for the repetition code with $d = 2000$ at $p = 0.45$.
-
Two-dimensional toric code: Finite-size crossings are consistent with a decoding threshold of approximately $p_{\text{th}} \simeq 8%$, using $\tau = 0.1$ in units of rate-one clocks.
-
Three-dimensional toric code, point-like sector: Finite-size crossings are consistent with a threshold of approximately $p_{\text{th}} \simeq 2%$.
-
Three-dimensional toric code, membrane-like sector: With variable degree $\Delta_v = 4$, logical error rates for $d \in {4,6,8,10,12}$ give crossings consistent with a finite threshold of approximately $p_{\text{th}} \simeq 19%$.
-
Bivariate-bicycle codes: Using the Gross-code polynomial pair $A = x^3 + y + y^2$, $B = y^3 + x + x^2$ on tori with $(\ell,m) \in {(6,6),(12,6),(18,9),(24,12),(30,15)}$ — the first two being the $[[72,12,6]]$ half-Gross code and the $[[144,12,12]]$ Gross code — finite-size crossings indicate a threshold near $p_{\text{th}} \simeq 6%$.
-
Why standard BP fails on the toric code: For a plaquette with a syndrome on diagonally opposite corners, the individual posterior of the qubits is (nearly) fully mixed, so a simultaneous hard decision cannot yield a consistent error. BP can nonetheless supply the degenerate directions a check needs in order to move and annihilate, so the required change is from a bit-centric feedback rule to a check-centric one.
-
Evidence criterion: An active check moves only when $\text{Evidence}(c) = \max_{v \in \mathcal{N}(c)} \Pr_{\text{BP}}(e_v | s) \geq 1/d_c$, derived from a simple union bound and serving as a local confidence metric.
-
Scaling of decoding time: For the toric codes, expected clearing time is fitted as $\mathbb{E}[t_{\text{clr}}] = a_p(\log d)^2 + b_p$; for the membrane-like sector as $a_p \log d + b_p$; for the BB family as $a_p(\log\sqrt{2\ell m})^2 + b_p$ using $\sqrt{n}$ with $n = 2\ell m$ as a distance proxy.
-
Finite-size regime from girth: Because BP stays tree-like only up to distance $O(g)$ in a Tanner graph of girth $g$, and threshold performance requires clearing clusters only up to diameter $O(\log d)$, the machine is argued to operate well up to code sizes $d \leq e^{O(g)}$ — precisely the regime probed numerically.
-
Convergence cutoff: For codes where the syndrome need not clear for every realization, a maximum decoding time $t_{\max} = 1000$ is imposed; nonconvergent samples count as failures, and mean clearing time is reported conditioned on convergence within the window, written $\mathbb{E}[t_{\text{clr}} | t_{\max}]$.
Methodology in Plain English
The authors imagine laying out small classical computers in the same pattern as the quantum code's check structure: one next to each data qubit and one next to each syndrome measurement. Each processor only talks to its immediate neighbors, exchanging belief-propagation messages that estimate how likely each qubit is to be in error given the syndrome.
In the discrete version, each data processor applies a correction bit whenever its local log-likelihood $L_v$ exceeds zero, and neighboring check processors update their stored syndrome accordingly. No global convergence check is ever performed, so inference and correction proceed concurrently.
In the continuous version, the messages evolve by a relaxation equation, $\tau \frac{dm}{dt} = F_{\text{BP}}(m; s(t)) - m$, while each check carries its own independent unit-rate Poisson clock. When a check's clock rings, it acts only if it is currently active ($s_c(t) = 1$) and has enough local evidence; it then flips the neighboring qubit with the highest inferred error probability, breaking ties randomly, and updates the syndrome. Active defects thus drift, pair, and annihilate. All numerics are in the code-capacity setting with perfect syndrome measurements and $Z$-only noise.
The performance is assessed by logical error rate versus physical error rate for increasing code distance (looking for crossings that indicate a threshold) and by the expected clearing or convergence time. The repetition-code guarantee is proven by mapping the local dynamics exactly onto ordinary BP, which is exact on trees and in one dimension, and using clustering properties of i.i.d. noise.
Why This Matters
The work reframes decoding as a dynamical nonequilibrium process rather than a global classical computation, which matters both for building scalable fault-tolerant hardware and for connecting error correction to the physics of actively stabilized quantum phases.
-
Hardware-compatible decoding: Processors that only communicate with neighbors avoid the long-range data movement and global aggregation that grow with system size in matching, union-find, or renormalization-group decoders.
-
Continuous operation: Because feedback is applied as inference proceeds, the architecture is naturally suited to settings where syndrome data arrive continuously, which is what a real device produces.
-
Codes without matching structure: The construction is defined directly on the Tanner graph, so it applies to quantum LDPC codes whose decoding does not reduce to pairwise defect matching.
-
Hierarchical decoding: A fast local stage that clears simple error configurations could reduce how often a slower global decoder must be invoked.
Industry relevance: The results are numerical and theoretical — no hardware implementation or runtime benchmark on real control electronics is reported — but the architecture targets exactly the locality and timing constraints that superconducting and other qubit platforms impose on classical decoding electronics.
Future Directions
-
Online decoding. The present results are offline: an error is sampled at $t=0$ and inference then runs with no further noise. A natural extension is promoting the Tanner graph to a spacetime decoding graph and running the local dynamics in overlapping spacetime windows sized to capture growing error clusters.
-
Improving the inference engine. The authors use standard BP with no code-specific tuning, and note that memory, damping, alternative update schedules, or decimation could improve both threshold and convergence time while preserving the distributed character.
-
Rigorous analysis of cluster annihilation. The argument that an isolated error cluster of diameter $w$ clears in $O(w)$ time except with probability at most $O(e^{-w})$ is deferred to a companion work.
-
Embedding in hierarchical decoders. Using the inference dynamics as the fast first stage of a two-stage scheme, with a global decoder called only for atypical residual syndromes.
Target Audience
Quantum error correction researchers and graduate students working on decoding algorithms, quantum LDPC codes, and fault-tolerant architectures; physicists interested in active error correction as a driven nonequilibrium phase; and hardware or control engineers who need decoders whose communication and latency scale locally with device size. Readers without a background in Tanner graphs and belief propagation will need to consult the preliminaries and supplementary material, which formalize the inference tensor network and message-passing equations.
Authors’ abstract
We introduce a local and distributed framework for decoding quantum LDPC codes. Built atop belief propagation (BP), the architecture combines strictly local processing of syndrome information, local feedback, autonomous operation, and highly parallelized decoding. We establish the framework at two complementary levels. First, we show that any code exhibiting a threshold under iterative BP decoding can be promoted to an autonomous local measurement-and-feedback dynamics while preserving that threshold. We then turn to codes for which naive BP does not itself exhibit threshold behavior. Our key observation is that BP can nevertheless provide sufficiently accurate \emph{local} marginal information: active syndrome defects use these local beliefs to \emph{move}, pair, and annihilate through asynchronous feedback. We demonstrate numerically that this construction exhibits threshold behavior in the point-like sectors of the two- and three-dimensional toric codes, where conventional BP decoding fails. Exploiting the graph-generality of BP, we then study the inference dynamics on the membrane-like sector of the three-dimensional toric code and in a family of bivariate-bicycle quantum LDPC codes.