arXiv:2608.25545quant-phAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.25545

Certified decoding of quantum LDPC codes

Ragavi Krishnamoorthy, Florian Gerhardt, Johannes Knaute, Thomas Klir, Stefan Raimund Maschek, Erik Schulze, Tomislav Maras, Alexander Dotterweich, Loong Kuan Lee, Christian Bauckhage, Nico Piatkowski

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Ragavi Krishnamoorthy 1^{1}, Florian Gerhardt 2^{2}, Johannes Knaute 2^{2}, Thomas Klir 3^{3}, Stefan Raimund Maschek 4^{4}, Erik Schulze 4^{4}, Tomislav Maras 2^{2}, Alexander Dotterweich 2^{2}, Loong Kuan Lee 1^{1}, Christian Bauckhage 1^{1}, and Nico Piatkowski 1^{1}

1^{1}Hybrid Intelligence, Fraunhofer IAIS

2^{2}Actuarial Risk Modeling, Quantum Computing Algorithms & Applications, PricewaterhouseCoopers GmbH

3^{3}Cyber Security, PricewaterhouseCoopers GmbH

4^{4}Quantum Computing, Bull GmbH

Quantum low-density parity-check (qLDPC) codes reduce the qubit overhead of fault-tolerant quantum computation by an order of magnitude, but their decoding is harder than its classical counterpart: because many physical errors are equivalent up to stabilizers, the degenerate maximum-likelihood (ML) decoder must compare the probabilities of entire equivalence classes of errors, that is, partition functions, rather than single errors. The workhorse decoder BP+OSD sidesteps degeneracy heuristically and offers no guarantees. We treat degenerate decoding as probabilistic inference in an undirected graphical model: the probability of each logical class is the partition function of an unconstrained, strictly positive Markov random field over the code's check variables, a construction that generalizes the random-bond Ising mapping of the surface code to arbitrary CSS codes and to spacetime decoding with measurement errors and circuit-level noise. On this model we build two decoders. The first estimates all class partition functions by annealed importance sampling with common random numbers and attaches to every decision a certificate of optimality: a paired bootstrap test, or, composed with constant-factor estimators such as WISH, an exact optimality proof. The second is region-based: the Bethe free energy, whose bias cancels between classes, reproduces exact ML decoding on every tested surface-code instance at millisecond cost, and enlarging the regions to elimination clusters makes exact degenerate ML decoding of the [72,12,6][72, 12, 6] bivariate bicycle code feasible. Across surface codes and the bivariate bicycle codes [72,12,6][72, 12, 6] and [144,12,12][144, 12, 12], under code-capacity, phenomenological, and circuit-level noise, the sampling decoder matches or exceeds BP+OSD while certifying the bulk of its decisions, and the certificate flags exactly the syndromes on which any fast decoder should be distrusted.

1 Introduction

Large-scale quantum computation requires quantum error correction (QEC), because physical qubit error rates ( ∼10−3−10−2\sim 10^{-3}-10^{-2} in current hardware) exceed the requirements of useful algorithms by many orders of magnitude. For over a decade, the surface code [1, 2, 3] has been the de facto standard: it tolerates comparatively high physical error rates ( ∼1%\sim 1\% threshold) and requires only nearest-neighbor interactions on a two-dimensional (2D) qubit lattice. Its main drawback is overhead: a single well-protected logical qubit may consume on the order of 10310^{3} physical qubits. Quantum low-density parity-check (qLDPC) codes attack precisely this bottleneck. By encoding many logical qubits into a single sparse code block, they promise a reduction of the physical-to-logical qubit ratio by an order of magnitude or more [4, 5, 6, 7], with the bivariate bicycle (BB) codes of Bravyi et al. [8] as the currently most prominent hardware-motivated construction.

The price of dense encoding is paid, in part, at the decoder. Decoding a qLDPC code is markedly harder than decoding either classical LDPC codes or the surface code, for a reason that is structural rather than incidental: quantum codes are degenerate. Errors that differ by a stabilizer act identically on the code space, so the optimal degenerate maximum-likelihood (ML) decoder must identify the most probable equivalence class of errors, a sum over exponentially many configurations, rather than the most probable single error. The de facto standard decoder, belief propagation with ordered-statistics post-processing (BP+OSD) [9, 10], handles degeneracy heuristically: it estimates single-error marginals by loopy message passing and repairs their inconsistencies by a greedy matrix-elimination step. It performs well in practice but offers no optimality statement, no error bound, and no indication of which of its decisions are trustworthy.

This paper develops a decoder that takes the structure of the problem seriously. Our starting point is the observation, made precise in Section 3, that syndrome decoding is probabilistic inference in an undirected graphical model (a Markov random field, MRF) whose factor graph is the code's Tanner graph, and that degeneracy moves the relevant inference task from maximum-a-posteriori estimation to partition-function evaluation. Partition-function estimation is a mature subfield of probabilistic machine learning, with estimators whose statistical behavior is well understood [11, 12, 13]. We import this machinery into qLDPC decoding.

References (27)