arXiv:2611.06818quant-phNov 2026

Manuscript Offprint

arXiv:2611.06818

Linear-time erasure recovery for quantum expander codes

Anirudh Krishna, Christopher A. Pattison

Abstract

Erasures are used to model faults at a subset of known locations in various platforms used to construct fault-tolerant quantum computers. Beyond the utility in erasure recovery, efficient decoders for erasures are useful to both understand error decoders and as a subroutine for error decoding. Classical expander codes, which belong to the family of low-density parity-check (LDPC) codes, can be equipped with the Peeling decoder which works in linear time. Our main result is the algorithm Small-Set-Peeling, a quantum generalization of the classical Peeling decoder for erasures, that applies to quantum expander codes (Tillich, Zémor, IEEE T-IT 2013; Leverrier, Tillich, Zémor, FOCS 2015). This decoder can correct up to D−1D-1 erasures, where DD is the (design) distance of the code and, importantly, is the first decoder that is guaranteed to do so in linear time. Combining with the erasure-conversion algorithm Small-Set-Find (Krishna, Livni-Navon, Wootters, SODA 2024), our result also implies the existence of a novel graph-local linear-time decoder for Pauli errors.

1 Introduction

An erasure is a model for the loss of information during storage and transmission. On nn bits, an erasure is abstractly represented by a set L⊆[n]L \subseteq [n] which is interpreted to mean that the bits in LL are just as likely to be flipped as not, and therefore completely unreliable; bits outside LL are completely unaffected. As LL itself is known in this model, recovering from erasures is easier than recovering from errors whose location is unknown: In worst-case settings, a (binary linear) code C⊆F2n\mathcal{C} \subseteq \mathbb{F}_2^n that is robust to at most d−1d-1 erasures is only robust to ⌊(d−1)/2⌋\lfloor (d-1)/2 \rfloor errors. For real-world implementation, we can equip a code with an efficient decoder, an algorithm to repair corrupted codewords. Expander codes are a class of constant-rate low-density parity-check (LDPC) codes that can be equipped with the Peeling decoder that can correct a constant-fraction of erasures and only requires O(n)O(n) time.

Erasures are also used to model the loss of quantum information. One way erasures manifest is as depolarizing noise on known locations [GBP97]. Similar to the classical erasure, this is interpreted to mean that qubits in some (known) locations are completely unreliable. In photonic architectures, erasures are used to model lost photons which manifest as a missing detection [BBB+23]. Erasures in the quantum setting are easier to correct than the more general case of Pauli errors on unknown locations: Erasures on an NN-qubit quantum code can be decoded in O(N3)O(N^3) time. Motivated by this observation, several qubit platforms, including neutral atoms [WKPT22], superconducting circuits [KHV+23] and trapped ions [KCB23], can be engineered so that erasures are their dominant failure mode: The qubit leaves its computational subspace, and this event can be detected without disturbing the encoded state. At the same time, quantum LDPC codes, are being explored as avenues for efficient quantum error correction in practice [XBAP⁺²⁴, BCG⁺²⁴]. Constant-rate quantum expander codes, a family of [N,K,D][N, K, D] quantum LDPC codes where K=Θ(N)K = \Theta(N) and distance D=Θ(N)D = \Theta(\sqrt{N}), serve as a useful theoretical testbed for more practically relevant code families where progress is naturally more numerical in nature [KP13, PK21, BCG⁺²⁴, LOM⁺²⁶]. To this end, the complexity of the decoder is crucial for enabling real-time decoding [Ter15], and we would like to do better than the generic cubic time O(N3)O(N^3) time algorithm. With this motivation, and inspired by the classical setting, it is natural to ask whether we can equip quantum expander codes with linear-time decoders for erasures.

Our main result is a linear-time erasure decoder for constant-rate quantum expander codes. We propose and analyze a decoder called SSPeeling for quantum expander codes which generalizes the classical Peeling decoder. We highlight some implications of our result.

  1. A novel decoder for erasures. Our result represents the first provable linear-time algorithm for correcting erasures on constant-rate quantum LDPC codes that can correct erasures of any size less than the design distance DD. 1^{1} This stands in contrast to the use of a linear-time error decoding algorithm such as SSFlip [LTZ15, FGL18, FGL20] as an erasure decoding algorithm: A decoding algorithm correcting t errors can correct t erasures, but such algorithms may only guarantee the ability to correct a number of errors less than half of the distance D. In contrast, we can correct all erasures of size up to D - 1.

  2. A linear-time decoder for Pauli errors. The fact that recovery from erasures is easier than recovery from errors whose location is unknown also motivates a way to design decoders for errors: Given an unknown error E\mathcal{E}, suppose we can efficiently find an envelope L⊆Q\mathcal{L} \subseteq \mathcal{Q} such that E⊆L\mathcal{E} \subseteq \mathcal{L}. Error correction then becomes a two-stage process: First, use an envelope-finding algorithm, and then implement an erasure-recovery algorithm. Most famous among these is the UnionFind decoder [DN21, DH21, DLB22] which works in (almost) linear time. The first work to design and study an envelope-finding algorithm for constant-rate quantum LDPC codes was [KLNW24] which proposed and analyzed an algorithm called SSFind for quantum expander codes. Given the syndrome s(E)\mathbf{s}(\mathcal{E}) of an error E\mathcal{E}, this algorithm can find an envelope L\mathcal{L} that is guaranteed to contain E\mathcal{E} in O(N)O(N) time. However, an O(N)O(N)-time decoder for erasures was not known at the time. Combining with our result implies the existence of a graph-local linear-time decoder SSFind + SSPeeling for correcting errors.2^{2}

  3. Low-complexity and graph-locality. Our algorithm is an iterative, graph-local algorithm: In each iteration, it makes an elementary decision which only involves a small (constant) number of qubits. Graph-local processing is frequently a useful property for constructing and analyzing decoders in the stochastic-noise setting [FGL18]. In particular, our decoder retains its linear runtime under stochastic noise. 3^{3}

  4. Parameters for guarantee. Our guarantee for correcting erasures with SSPeeling holds under a weaker expansion assumption than that needed for SSFlip. Note, however, that the expansion requirement for SSFind+SSPeeling that corrects Pauli errors is determined by SSFind whose expansion requirements are more demanding than SSFlip. Oftentimes, decoders for quantum expander codes are later shown to work well on practically relevant code families, and we expect this to be the case for our algorithm.

1^{1}Our result is stated in terms of the design distance rather than the code distance, as the latter often cannot be directly computed (See Lemma 12). Analyses of SSFlip are also measured against the design distance, so this does not affect our comparisons.

2^{2}See also the recent work [Ost26] discussed in related work.

3^{3}Each connected component of the erasure may be corrected independently by invoking the algorithm on each connected component with the syndrome outside of the erasure set to zero. Since the number of iterations scales as the component size, the overall runtime is linear in the block length.

With the motivation for our work in hand, we now describe it in further detail.

References (29)