Skip to content
Quantum.world

Research

Multistage Rewinding Decoder for QLDPC Codes

Overview Research area: Quantum error correction, specifically decoding of quantum low-density parity-check (QLDPC) codes. Technical level: Intermediate. The paper assumes familiarity with belief prop

Multistage Rewinding Decoder for QLDPC Codes
arXiv
2608.07783
Published
2026-08-07
Authors
Milad Taghipour, Dimitris Chytas, Bane Vasić

AI summary

Overview

Research area: Quantum error correction, specifically decoding of quantum low-density parity-check (QLDPC) codes.

Technical level: Intermediate. The paper assumes familiarity with belief propagation and Tanner graphs, but the core idea (retry decoding while forcing suspicious qubits) is explainable without the algebra.

Scope: The paper proposes and benchmarks a multistage, beam-search-based "rewinding" decoder that reuses internal message-passing statistics to escape trapping sets in BB and lifted-product QLDPC codes.

What This Paper Is About

Iterative decoders such as belief propagation and min-sum work well for classical LDPC codes but stall on QLDPC codes, for two reasons: ordinary trapping sets inherited from the code's Tanner graph, and quantum-specific ambiguities where different errors are equivalent up to a stabilizer (degeneracy). The authors build a decoder that detects which qubits the message-passing decoder is least sure about, forces those qubits to specific values, and restarts decoding, repeating this over a bounded tree of alternatives. The goal is to reach or beat the logical error rate of the much more expensive nMS-OSD-10 post-processing baseline while keeping the search tractable.

Key Contributions

  1. A composite unreliability metric for variable nodes. The metric M_j combines four decoder-internal signals into one score: how many adjacent checks remain unsatisfied, how strongly incoming check messages contradict the final a posteriori decision, how often the hard decision oscillated during decoding, and the final a posteriori reliability magnitude (used as a denominator to discount confident nodes).

  2. A guided rewinding mechanism. Rather than perturbing the decoder randomly, the method forces the initial log-likelihood ratio values of the top-ranked suspicious variable nodes to a fixed magnitude ±A and restarts normalized min-sum under that forced configuration.

  3. A beam-search formulation with pruning. Since forcing t variable nodes yields up to 2K children per node and combinatorial growth with depth, the search is bounded by a beam width W and pruned by a score combining residual syndrome Hamming weight and average a posteriori magnitude.

  4. Empirical validation on five codes across two families. Four bivariate bicycle codes ([[72,12,6]], [[108,8,10]], [[144,12,12]], [[288,12,18]]) and the lifted-product Tanner code [[1054,124,20]], benchmarked against nMS and nMS-OSD-10.

Main Findings

  • Large gains over plain nMS: At crossover probability α = 0.03, the multistage decoder reduces the logical error rate by two orders of magnitude for the [[288,12,18]] BB code. This is stated more precisely as a 286× improvement over nMS at that point.

  • Beats the OSD-10 baseline on BB-288: At α = 0.03 the method gives a 3.2× improvement over nMS-OSD-10, and the paper reports that for BB codes it can match and in some cases surpass BP-OSD performance.

  • Large gains on the LP Tanner code: At α = 0.04, the method achieves two orders of magnitude improvement for the [[1054,124,20]] code.

  • Failure modes addressed are both classical and quantum: For BB codes, the dominant uncorrectable nMS errors are degenerate errors supported on symmetric stabilizers; the proposed decoder corrects these as well as classical trapping set configurations inherent to the code structure.

  • Most corrections happen early: For BB-288 at α = 0.03 with 11 maximum stages, beam width 64, and top-K = 1, the stage-correction plot shows most decoding failures corrected in the first few stages, with only a small fraction requiring deeper stages.

  • Stage count matters: A separate study on the LP Tanner code varies the maximum number of stages over 1, 3, 5, 7, 9, and 11.

  • Simulation settings: Maximum of 100 nMS iterations, parallel scheduling throughout, normalization factor 0.875, binary symmetric channel with crossover probability α producing X errors, and metric weights c_U = 0.5, c_E = 0.3, c_O = 0.2.

Methodology in Plain English

The decoder starts by running standard normalized min-sum decoding on the measured syndrome. When that fails, it does not start over blindly. Instead it inspects the decoder's own behaviour: which checks are still unhappy, which incoming messages disagree with the decoder's final answer, which qubit decisions kept flipping back and forth, and which qubits ended up with weak confidence.

These signals are combined into a single score per qubit, and the top candidates are selected. The decoder then makes a deliberate guess about one of them, pinning its initial log-likelihood ratio to a strong value in either the +A or −A direction, and reruns message passing from scratch under that constraint. Each such guess is a node in a search tree. Because the number of possible combinations explodes with depth, the tree is kept narrow: only the W most promising nodes survive at each stage, ranked by a score that rewards a small residual syndrome and high average confidence. The search stops at the first stage where any node produces a zero residual syndrome, and among those successes the decoder picks the estimated error with the smallest Hamming weight. If nothing succeeds within the maximum stage count, the decoding is declared a failure. The authors restrict attention to CSS codes and, without loss of generality, to X errors decoded against H_Z.

Why This Matters

Impact on research: The paper reframes post-processing for QLDPC codes as a search problem guided by decoder dynamics rather than by a single reliability number. It explicitly targets the two distinct failure mechanisms, inherited classical trapping sets and stabilizer-induced degeneracy, that the introduction argues existing BP variants and post-processing methods do not jointly address.

Real-world applications:

  • Fault-tolerant quantum computing with bivariate bicycle codes on superconducting hardware, where BB codes are considered natural candidates and their Tanner graphs admit embedding in two interconnected planar layers.
  • Neutral-atom quantum processors, where hypergraph-product and lifted-product codes have been identified as promising.
  • Quantum memory and logical-qubit architectures that must run real-time error correction within coherence budgets.
  • Storage and communication layers in future quantum data centres, where logical error rate, not physical error rate, sets the system spec.

Industry relevance: Decoder complexity and latency are the practical bottleneck for adopting QLDPC codes over surface codes, since the codes buy better rate and distance at the cost of harder decoding. A method that reaches BP-OSD-level logical error rates while remaining a bounded beam search is directly relevant to hardware decoder design, which the paper frames as motivation. The authors disclose an outside interest in a startup, QEC Labs, and acknowledge NSF support under grants CIF-2420424, CIF-2106189, and CCF-2100013.

Future Directions

  • Noise-free syndrome assumption: The decoder model assumes a noise-free syndrome measurement. Extending it to faulty syndrome extraction, which is unavoidable in hardware, is not addressed.
  • Complexity and latency quantification: The paper bounds the search with beam width W, top-K, and maximum stages T_max, but the summary content reports no explicit complexity or runtime comparison against OSD's O(n³), stabilizer inactivation's O(n² log n), or decimation's O(n²). A like-for-like cost analysis is a clear open item.
  • Hyperparameter sensitivity: The weights c_U, c_E, c_O, the forced magnitude A, the pruning weights λ_s and λ_ξ, and the beam width are given fixed values. Whether these transfer across code families and channel models, or can be set adaptively, is untested here.
  • Extension beyond one error type and these code families: Results cover X-error decoding on four BB codes and one LP Tanner code. Generalization to full depolarizing noise, non-binary QLDPC constructions, and other code families remains open.

Target Audience

Quantum error correction researchers and graduate students working on decoders for QLDPC codes; hardware and architecture engineers evaluating whether BB or lifted-product codes are decodable within realistic latency budgets; and classical coding theorists interested in how trapping-set mitigation techniques from LDPC decoding translate into the quantum setting.

Authors’ abstract

In this paper, we propose a multistage decoding framework that leverages internal information produced by an underlying message-passing decoder. The proposed method targets the failure dynamics caused by both classical trapping sets and degenerate errors supported on symmetric stabilizers, which are among the primary limitations of iterative decoding for QLDPC codes. To identify unreliable variable nodes, we introduce a heuristic metric that combines several dynamical features of the decoder, including variable-node log likelihood reliabilities, hard-decision oscillations, the number of adjacent unsatisfied checks, and the soft information contributed by unsatisfied checks. Based on this ranking metric, the decoder performs guided rewinds by selectively forcing the initial log likelihood ratio values of the most suspicious variable nodes and restarting the message-passing decoder under the corresponding forced configuration. To manage the combinatorial growth of candidate configurations, the search is formulated within a beam- search framework with controlled beam width. In addition, we introduce a pruning metric based on the combination of the residual syndrome weight and a posteriori reliability of the decoder output, thereby retaining only the most promising search paths. Logical error rate results demonstrate that the proposed decoder significantly outperforms the normalized min- sum decoder and achieves competitive performance with belief propagation enhanced by order-10 ordered statistics decoding.

Read the original paper