betaFeedback

WorksComputer Science

Classical Tensor Codes and Quantum Tanner Codes Achieve Capacity on Erasure Channels

Abstract

We show that on the classical erasure channel, the tensor product of two capacity-achieving code families is itself capacity-achieving under mild conditions. We also prove that duals of tensor products of independent uniform random binary linear codes achieve erasure capacity. Using these local codes, for every erasure probability ρ∈(0,1/2)ρ\in(0,1/2) and every rate gap ε>0\varepsilon>0, we obtain a family of binary quantum Tanner codes of rate at least 1−2ρ−ε1-2ρ-\varepsilon. For fixed ρρ and ε\varepsilon, these codes have bounded check weights, minimum distance growing linearly with the blocklength, and a linear-time erasure decoder whose decoding error decays exponentially with the blocklength.

Introduction

There has been considerable progress during the last few years in the theory of Quantum Low-Density Parity-Check (QLDPC) codes. Among the most notable results are the construction of families of asymptotically good QLDPC codes, i.e. whose dimension and minimum distance both scale linearly in the blocklength NN [26, 21, 7] and [19 HLM+25]. These constructions come with linear-time decoders that are guaranteed to correct a constant fraction of adversarial errors. An interesting residual question is how do these decoders behave when confronted with random errors? They can obviously be guaranteed to correct a constant fraction of random errors, but how large can this fraction be? In the present paper we are interested in constructing a variant of quantum Tanner codes [21] that can correct a proportion pp of erasures with a rate RR that is arbitrarily close to the quantum erasure capacity R=1−2pR = 1 - 2p.

Quantum Tanner codes are heavily inspired by their classical counterpart. A classical Tanner code [29], in its bipartite graph version, is a binary linear code that is constructed from two ingredients, a regular bipartite graph (V,E)(V, E) of degree Δ\Delta, and two codes C0C_0 and C1C_1 of length Δ\Delta. Bits are indexed by the edge-set EE of the graph and the two inner codes C0C_0 and C1C_1 serve as sets of local constraints. Codewords of the Tanner code are those functions from EE to {0,1}\{0, 1\} that, restricted to any edge-neighbourhood of a left (respectively right) vertex, represent a codeword of C0C_0 (respectively C1C_1). When the bipartite graph is a sufficiently good expander graph, and when the minimum distances of C0C_0 and C1C_1 are large enough, Tanner codes were famously shown [27] to be asymptotically good. They also come with a natural left-right parallel decoder [Zém01] that can be guaranteed to correct a constant fraction of errors in linear time. If the Tanner code is chosen to be too symmetric, namely if we take the inner codes C0C_0 and C1C_1 to be equal, then we understand that we will not be able to decode close to the capacity of, say, the erasure channel, because almost every inner code will be saturated with a number of erasures that exceeds its capacity. This obstacle can be circumvented however, if we consider a less symmetric version of the Tanner code, namely by using for C1C_1 a code of rate close to 1, which puts few constraints on the overall code, so that the rate of the Tanner code will be close to the rate R0R_0 of the left inner code C0C_0. A first decoding step consisting of decoding in parallel every little code C0C_0 will thus bring down the number of errors to a very small proportion of the block length and the remaining errors can be dealt with by invoking the worst-case guarantees of the iterative decoder. This strategy was pursued in [4] and such Tanner code families were shown to be capacity-achieving.

Our goal is to pursue a similar strategy in the quantum setting. Quantum Tanner codes [21] are instances of binary CSS codes [6, 28]. We may think of CSS codes as a pair (CX,CZ)(C_X,C_Z) of classical codes defined by two parity-check matrices HX\mathbf{H}_X and HZ\mathbf{H}_Z, with the requirement that XX-checks must be orthogonal to ZZ-checks. The graph used to define a classical Tanner code is replaced by a square complex. This is an incidence structure (V,E,Q)(V,E,Q) between a set of vertices, a set of edges, and a set of squares that are 4-cycles of the graph (V,E)(V,E). The square complex is quadripartite, meaning that vertices are partitioned into four sets, V=V00∪V01∪V10∪V11V=V_{00}\cup V_{01}\cup V_{10}\cup V_{11} and every square is incident to a vertex from each of the four sets. Qubits are indexed by squares and very much like in the classical case, the code CXC_X is defined by local constraints that require codewords, when restricted to square-neighbourhoods of vertices of V00∪V11V_{00}\cup V_{11} to coincide with codewords of an inner code C00C_{00}. Similarly, the code CZC_Z is defined by local constraints of the square-neighbourhoods of vertices of V01∪V10V_{01}\cup V_{10}. In fact, when restricting ourselves to two sets of vertices among four, squares become incident to exactly two vertices and the induced incidence structures (V00∪V11,Q)(V_{00}\cup V_{11},Q) and (V01∪V10,Q)(V_{01}\cup V_{10},Q) are bipartite graphs. The classical codes CXC_X and CZC_Z are nothing but classical Tanner codes defined on these graphs.

In [21] and subsequent papers [23, 22], the codes are, for simplicity’s sake, presented with the most symmetric possible structure. This means that the inner code constraints of the Tanner code CXC_X are the same for all vertices, and similarly for the Tanner code CZC_Z. We shall exhibit a way to generalise the quantum Tanner code construction so that the two associated classical codes CXC_X and CZC_Z each use two distinct inner codes, one of which has a rate that can be made arbitrarily close to 1 like in the classical case. A first round of decoding will remove a large proportion of the erasures, after which we can rely on the adversarial error-correcting capabilities of quantum Tanner code to finish removing the remaining erasures.

For this strategy to work, we need to overcome one serious obstacle. The inner codes of non-trivial rate and fixed length Δ2\Delta^2 need small decoding error probabilities at erasure rates close to the capacity limit. However, these inner codes cannot be chosen randomly like in the classical case, because of the orthogonality requirements of the XX and ZZ-checks. The inner codes are chosen to be duals of tensor products of random codes of length Δ\Delta, and we need to ensure that this family of classical codes is capacity-achieving. This is not an immediately obvious task, in part because it is notoriously difficult to evaluate the weight distribution of a tensor code from that of its component codes.

We shall obtain a proof that the family of duals of random tensor codes is capacity-achieving in a roundabout way. First, we shall prove that tensoring any pair of capacity-achieving code families yields a capacity-achieving family for the classical erasure channel, provided the component error probabilities decay sufficiently fast. The way we go about this consists in decomposing the erasure channel into applying two successive erasure channels of the required erasure probabilities. We then modify the probability distribution of one of the erasure vectors in a way that makes decoding the tensor code straightforward, and compare the expected dimensions of the covered subcodes under the two erasure distributions. We believe such a method to be of independent interest.

Applied to random component codes, we obtain therefore that the family of random tensor codes is capacity-achieving for the erasure channel, and we shall prove that the family of their duals must be capacity-achieving as well.

Results

We state our main results below. For more formal versions of Theorems 1 and 2, see Corollary 8 and Theorem 16 respectively. For a formal definition of code families, see Definition 1.

Theorem 1. Let F0\mathcal{F}_0 and F1\mathcal{F}_1 be two families of codes supporting blocklengths in a common unbounded set of natural numbers. If the families achieve capacity on the erasure channel and have minimum distance ω(log⁡n)\omega(\log n), where nn denotes the blocklength, then the tensor family F0⊗F1\mathcal{F}_0 \otimes\mathcal{F}_1 also achieves capacity on the erasure channel.

Theorem 2. Consider any ρ∈(0,12)\rho\in(0,\frac{1}{2}) and any ε>0\varepsilon> 0. Then there exists a family F\mathcal{F} of quantum Tanner codes of rate ≥1−2ρ−ε\ge1 - 2\rho- \varepsilon that can decode quantum erasures of rate ρ\rho with failure probability decaying exponentially with the blocklength NN and decoding time growing linearly with NN. For fixed ρ\rho and ε\varepsilon, the degree and the local codes are fixed independently of NN. The resulting codes have constant stabilizer weights and qubit degrees with minimum distance growing linearly with NN.

Combining the tensor-product result with product expansion, we prove that duals of tensor products of independent uniform random binary linear codes also achieve the erasure capacity (see Theorem 15 for the formal statement). This is the key classical ingredient needed for the quantum construction in § 2.3 and § 3.5.

Our primary contributions are a capacity-achieving code for the quantum erasure channel within the quantum Tanner framework with linear decoding complexity and classical tensor-product results of independent interest. Concurrent work [24] constructs random ensembles of binary QLDPC codes that approach the capacity of the quantum erasure channel, with bounded weight stabilizers and exponentially small decoding error probability. It does not present a linear-time decoder. In § 2.2, we compare our construction to this and other similar results.

Part 1. Overview

CSS codes and the quantum erasure channel

A binary quantum CSS code C\mathcal{C} is defined by two binary matrices named HX\mathbf{H}_X and HZ\mathbf{H}_Z, that both have the same number NN of columns and have ranks rXr_X and rZr_Z, respectively. Every row of HX\mathbf{H}_X should be orthogonal to every row of HZ\mathbf{H}_Z. The code encodes k=N−rX−rZk = N-r_X-r_Z logical qubits; its Hilbert-space dimension is 2k2^k. The number of logical qubits protected by the quantum code is given by

k=dim⁡C=N−rX−rZ.k = \dim C = N-r_X-r_Z.

The matrix HX\mathbf{H}_X is the parity-check matrix of a classical code CXC_X, and similarly CZC_Z is the classical code with parity-check matrix HZ\mathbf{H}_Z. The minimum distance dd of the quantum code is the quantity d=min⁡(dX,dZ)d=\min(d_X,d_Z), where dXd_X is the smallest weight of a codeword in CZC_Z but not in CX⊥C_X^\perp and dZd_Z is the smallest weight of a codeword in CXC_X but not in CZ⊥C_Z^\perp.

The decoding problem for errors consists of being given a pair of syndromes HXeZT,HZeXT\mathbf{H}_X\mathbf{e}_Z^T,\mathbf{H}_Z\mathbf{e}_X^T of two binary vectors eZ,eX∈F2n\mathbf{e}_Z,\mathbf{e}_X\in\mathbb{F}_2^n and returning estimated errors eZ′,eX′∈F2n\mathbf{e}'_Z,\mathbf{e}'_X\in\mathbb{F}_2^n. The decoder succeeds if the estimated errors satisfy eZ′∈eZ+CZ⊥\mathbf{e}'_Z\in\mathbf{e}_Z+C_Z^\perp and eX′∈eX+CX⊥\mathbf{e}'_X\in\mathbf{e}_X+C_X^\perp, thus identifying the stabilizer coset of the true error.

The quantum erasure channel [11, 1, 8] selects each of the nn coordinate positions with independent probability pp, which is the channel parameter. We may define the corresponding erasure vector ϵ∈F2N\boldsymbol{\epsilon}\in\mathbb{F}_2^N. The channel also chooses two conditionally independent (given the erasure pattern) binary vectors eZ,eX\mathbf{e}_Z,\mathbf{e}_X that are uniformly distributed in the space of vectors supported by the support supp⁡(ϵ)\operatorname{supp}(\boldsymbol{\epsilon}) of the erasure vector. The erasure decoder is then given the erasure vector ϵ\boldsymbol{\epsilon} together with the syndromes HXeZT,HZeXT\mathbf{H}_X\mathbf{e}_Z^T,\mathbf{H}_Z\mathbf{e}_X^T. Decoding succeeds if the decoder identifies the corresponding error cosets eZ+CZ⊥\mathbf{e}_Z+C_Z^\perp and eX+CX⊥\mathbf{e}_X+C_X^\perp.

The capacity of the quantum erasure channel is known to equal 1−2p1-2p for 0≤p<1/20\leq p<1/2. A family of codes together with an erasure decoding algorithm is said to achieve the capacity of the erasure channel if it can produce codes with a rate R=k/NR=k/N arbitrarily close to 1−2p1-2p and with a vanishing decoding error probability.

The idea of code families extends naturally to binary CSS codes. Using Definition 2, we can make this precise by replacing dim⁡C/n\dim C/n by the quantum rate k/Nk/N, replacing 1−ρ1-\rho by 1−2p1-2p, and using the decoding problem from the erasure pattern and measured syndrome described above. The decoding error probability averages over the erasures and the Pauli errors supported on the erased positions. In this definition, ϵ\epsilon is a rate gap; the parametrization p=(1−R)/2−ϵp=(1-R)/2-\epsilon used elsewhere corresponds to a rate gap of 2ϵ2\epsilon. For the bounded-check-weight and linear-time claims, the degree Δ\Delta, the local codes, and the distance are chosen after the target rate and gap. A suitable choice of the finite local codes can be fixed once and used with a sequence of square complexes.

Comparison with Prior Work

Our construction achieves the erasure capacity with a linear-time decoder within the quantum Tanner framework. More precisely, for every fixed R∈(0,1)R\in(0,1) and ϵ>0\epsilon>0 such that p=(1−R)/2−ϵ>0p=(1-R)/2-\epsilon>0, our codes have constant stabilizer weights and admit decoding from the erasure pattern and measured syndrome in linear time with decoding error probability decaying exponentially in blocklength. In each of these statements, the implied constants depend only on RR and ϵ\epsilon.

The random ensembles of binary QLDPC codes constructed in [24] also approach the capacity of the quantum erasure channel with bounded stabilizer weights and exponentially small decoding error probability. In addition, their construction also approaches the quantum Gilbert–Varshamov bound and achieves the hashing bound for memoryless Pauli channels. But, the efficient-decoding guarantee in [24] concerns a smaller adversarial error radius and the paper does not explicitly claim a linear-time decoder.

Earlier work [20] approaches quantum erasure capacity in a restricted range of erasure probabilities using stabilizer generators of polylogarithmic weight. Quantum AEL amplification [2] gives explicit QLDPC codes with near-Singleton parameters over constant-size folded alphabets. Subsequent work [3 JMS26, 12] establishes strong list-decoding guarantees for folded QLDPC codes. In particular, [12] provides near-linear-time syndrome-input list decoding. These folded-symbol guarantees do not by themselves establish unique recovery at capacity for independently erased physical qubits. A variety of authors have also focused recently on improving and simulating practical decoders for quantum erasure channels [CLLD24, GYP24, KO26, YGP25, FLL26, PGYP26].

Quantum Tanner codes

A quantum Tanner code [21] is defined by two objects, a square complex and a set of inner codes that provide the linear constraints making up the rows of HX\mathbf{H}_X and HZ\mathbf{H}_Z.

The quadripartite Cayley square complex. It is defined with a group GG and two symmetric sets of generators A⊂GA \subset G and B⊂GB \subset G. Symmetry here means that A=A−1A=A^{-1} and B=B−1B=B^{-1}. For simplicity we take Δ:=∣A∣=∣B∣\Delta:= |A|=|B|. We may actually take A=BA=B, but we should differentiate between the two sets, even if they consist of the same elements of GG. The sets AA and BB define two Cayley graphs, the left Cayley graph Cay⁡(A,G)\operatorname{Cay}(A,G) (whose edges consist of pairs of the form {g,ag}\{g,ag\}, g∈Gg \in G, a∈Aa \in A) and the right Cayley graph Cay⁡(G,B)\operatorname{Cay}(G,B) (whose edges consist of pairs of the form {g,gb}\{g,gb\}, g∈Gg \in G, b∈Bb \in B). Those two graphs should be good expander graphs.

The vertices of the square complex are partitioned into four copies of the group GG named V00V_{00}, V10V_{10}, V11V_{11}, V01V_{01}. So a vertex is a couple (g,ij)(g,ij), g∈Gg \in G, i,j∈{0,1}i,j \in\{0,1\}. Squares (or quadrangles) are defined as quadruples of vertices of the form

{(g,00),(ag,10),(agb,11),(gb,01)}\{(g,00),(ag,10),(agb,11),(gb,01)\}

as represented on Figure 1.

Figure 1. Square {(g,00),(ag,10),(agb,11),(gb,01)}\{(g,00),(ag,10),(agb,11),(gb,01)\} of the complex.

References

  1. [1]Charles H. Bennett, David P. DiVincenzo, and John A. Smolin. Capacities of quantum erasure channels. Phys. Rev. Lett., 78:3217–3220, Apr 1997.DOI
  2. [2]Thiago Bergamaschi, Louis Golowich, and Sam Gunn. Approaching the quantum Singleton bound with approximate error correction. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, pages 1507–1516, 2024.arxiv.org/abs/2212.09935
  3. [3]Thiago Bergamaschi, Fernando Granha Jeronimo, Tushant Mittal, Shashank Srivastava, and Madhur Tulsiani. List decodable quantum LDPC codes. arXiv preprint arXiv:2411.04306, 2024.arxiv.org/abs/2411.04306
  4. [4]Alexander Barg and Gilles Zémor. Error exponents of expander codes. IEEE Transactions on Information Theory, 48(6):1725–1729, 2002.
  5. [6]Robert Calderbank and Peter W Shor. Good quantum error-correcting codes exist. Physical Review A, 54:1098–1105, Aug 1996.pubmed.ncbi.nlm.nih.gov/9913578
  6. [7]Irit Dinur, Min-Hsiu Hsieh, Ting-Chun Lin, and Thomas Vidick. Good quantum LDPC codes with linear time decoders. In Proceedings of the 55th annual ACM symposium on theory of computing, pages 905–918, 2023.arxiv.org/abs/2206.07750
  7. [8]Nicolas Delfosse and Gilles Zémor. Upper bounds on the rate of low density stabilizer codes for the quantum erasure channel. Quantum Inf. Comput., 13(9-10):793–826, 2013.arxiv.org/abs/1205.7036
  8. [9]Peter Elias. Coding for noisy channels. In IRE Convention Record, Part 4, pages 37–46, 1955.
  9. [11]M. Grassl, Th. Beth, and T. Pellizzari. Codes for the quantum erasure channel. Phys. Rev. A, 56:33–38, Jul 1997.DOI
  10. [12]William Gay, Fernando Granha Jeronimo, and Abhi Shukul. Explicit capacity-achieving quantum LDPC codes list decodable in near-linear time. arXiv preprint arXiv:2609.40313, 2026.arxiv.org/abs/2609.40313
  11. [17]Gleb Kalachev and Pavel Panteleev. Two-sided robustly testable codes. arXiv preprint arXiv:2206.09973, 2022.arxiv.org/abs/2206.09973
  12. [18]Gleb Kalachev and Pavel Panteleev. Maximally extendable product codes are good coboundary expanders. In 2025 IEEE 66th Annual Symposium on Foundations of Computer Science (FOCS), pages 1512–1524. IEEE, 2025.arxiv.org/abs/2501.01411
  13. [19]Ting-Chun Lin and Min-Hsiu Hsieh. Good quantum LDPC codes with linear time decoder from lossless expanders. arXiv preprint arXiv:2203.03581, 2022.arxiv.org/abs/2203.03581
  14. [20]Seth Lloyd, Peter Shor, and Kevin Thompson. Polylog-LDPC capacity achieving codes for the noisy quantum erasure channel. IEEE Transactions on Information Theory, 65(11):7584–7595, 2019.arxiv.org/abs/1703.00382
  15. [21]Anthony Leverrier and Gilles Zémor. Quantum Tanner codes. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS), pages 872–883. IEEE, 2022.arxiv.org/abs/2202.13641
  16. [22]Anthony Leverrier and Gilles Zémor. Decoding Quantum Tanner Codes. IEEE Transactions on Information Theory, 69(8):5100–5115, 2023.arxiv.org/abs/2208.05537
  17. [23]Anthony Leverrier and Gilles Zémor. Efficient decoding up to a constant fraction of the code length for asymptotically good quantum codes. ACM Transactions on Algorithms, 21(4):1–34, 2025.
  18. [24]Tushant Mittal, Shashank Srivastava, Madhur Tulsiani, and Mary Wootters. Random quantum LDPC codes approaching the Gilbert–Varshamov bound. arXiv preprint arXiv:2610.02648, 2026.arxiv.org/abs/2610.02648
  19. [26]Pavel Panteleev and Gleb Kalachev. Asymptotically good quantum and locally testable classical LDPC codes. In Proceedings of the 54th annual ACM SIGACT symposium on theory of computing, pages 375–388, 2022.arxiv.org/abs/2111.03654
  20. [27]Michael Sipser and Daniel A. Spielman. Expander codes. IEEE Transactions on Information Theory, 42(6):1710–1722, 1996.
  21. [28]Andrew Steane. Multiple-particle interference and quantum error correction. Proc. R. Soc. Lond. A, 452(1954):2551–2577, 1996.
  22. [29]R. Tanner. A recursive approach to low complexity codes. IEEE Transactions on Information Theory, 27(5):533–547, 1981.DOI
  23. [30]Jean-Pierre Tillich and Gilles Zémor. Discrete isoperimetric inequalities and the probability of a decoding error. Comb. Probab. Comput., 9(5):465–479, 2000.DOI

Paper details

vlnc:W_2m3rqysy
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

GPT (multiple versions)

View statement
Looking for related papers…
Contents