Quantum LDPC Codes
Quantum Error Correction and Fault Tolerance places quantum LDPC codes in the active architecture-choice branch of a complete protection claim. Topological Codes owns the common locality, topology, homology, and dimensional-family taxonomy; this page retains sparse-check definitions, rate–distance tradeoffs, the construction landscape, decoding, noisy-check behavior, scheduling, evidence, and overhead without using the 2021 review to claim asymptotically good families exist.
Short Definition
Section titled “Short Definition”A family of stabilizer codes is quantum low-density parity-check, or qLDPC, when it admits a generating set in which
- every stabilizer generator acts on at most a constant number of physical qubits; and
- every physical qubit participates in at most a constant number of those generators,
with both constants independent of the block length.
For a code of length , let be the largest generator weight and the largest number of generators incident on one qubit. The LDPC condition is
“Low density” describes the sparsity of a parity-check presentation. It does not mean low code rate, small logical distance, weak protection, or geometric locality in a laboratory layout. The surface and toric codes are qLDPC codes because their checks have bounded weight and degree, even though their asymptotic encoding rate vanishes. Conversely, a constant-rate qLDPC code can require long-range physical interactions.
CSS Codes owns the general paired CSS check matrices, nested-code and coset bases, logical quotients, exact axis distances, and split-syndrome algebra. This page is the canonical home for sparse CSS presentations, Tanner graphs, bounded row and column degrees, redundant-check effects, product constructions, asymptotic rate–distance results, qLDPC-specific decoders and schedules, current evidence, and finite-size code assessment. The formulas below remain a compact qLDPC-facing recap of the shared algebra. Decoders owns the common logical-coset objective, algorithm families, noise-model calibration, and real-time contract. Stabilizer Formalism owns the general stabilizer and symplectic algebra. Surface Code owns the geometrically local two-dimensional reference architecture. Fault-Tolerant Gates owns the common gate-gadget criteria and logical-operation mechanisms; this page retains qLDPC-specific connectivity and construction constraints. The Fault-Tolerant Quantum Computing Frontier owns integrated architecture comparisons and dated claims about useful-scale computation. Quantum LDPC and High-Rate Codes owns the qLDPC-specific frontier assessment: finite-size overhead, decoder scaling, hardware embedding, logical operations, and current experiments.
Code Parameters and Asymptotic Language
Section titled “Code Parameters and Asymptotic Language”A binary stabilizer code with parameters embeds logical qubits in physical qubits and has distance . It corrects every Pauli error of weight at most
under the usual adversarial-distance interpretation.
Three normalized quantities organize qLDPC discussions:
where is the encoding rate, is the relative distance, and is the number of measured checks in the chosen presentation. The number can exceed the stabilizer rank because redundant checks may help detect measurement faults or improve decoding.
Constant rate
Section titled “Constant rate”A code family has constant rate when there is a fixed such that
This is an asymptotic statement. Calling one finite block “high rate” means only that its ratio is favorable for the comparison being made.
Linear distance
Section titled “Linear distance”A family has linear distance when there is a fixed such that
Asymptotically good
Section titled “Asymptotically good”A code family is asymptotically good when it has both constant rate and linear distance:
The existence of asymptotically good qLDPC codes was a major open problem for roughly two decades. Lifted-product constructions over non-Abelian groups resolved it in 2022. That theorem is now established. It does not imply that the known asymptotically good families have the best constants, shortest blocks, easiest decoders, most favorable syndrome circuits, or most practical hardware layouts.
The quantum Singleton bound supplies a general ceiling,
or asymptotically
A code can therefore have constant rate and linear distance, but neither can be increased independently without limit.
CSS Parity-Check Description
Section titled “CSS Parity-Check Description”Most qLDPC constructions used in current theory are Calderbank–Shor–Steane (CSS) stabilizer codes. Let
Each row of is the support vector of an -type stabilizer generator, and each row of is the support vector of a -type generator. Commutation requires
The matrix equation says that every check and every check overlap on an even number of qubits. If and , then
The number of rows can be larger than . Such dependencies are not automatically waste: redundant syndrome relations can expose measurement errors and support single-shot or data-syndrome decoding in suitable code families.
A sparse CSS Tanner graph. Squares are parity checks and circles are physical qubits. Bounded check weight limits the degree of each square; bounded qubit degree limits the degree of each circle. CSS commutation requires every -check/-check pair to share an even number of qubits.
Syndromes
Section titled “Syndromes”Represent a error by . Its -check syndrome is
Similarly, an error produces
Under independent and noise, the two binary decoding problems can be treated separately. A depolarizing channel couples them through events, and exploiting that correlation can materially improve a decoder.
Logical operators and distance
Section titled “Logical operators and distance”A -type Pauli commutes with every check when its support lies in . It is a stabilizer when its support lies in . Therefore
Likewise,
This quotient-space structure is central to quantum decoding. The decoder does not need to identify the physical error exactly. It needs a correction in the same stabilizer coset.
Tanner Graphs
Section titled “Tanner Graphs”The Tanner graph of a binary parity-check matrix is bipartite:
- one vertex class represents physical qubits or binary variables;
- the other represents parity checks;
- an edge joins check to qubit when .
For a CSS code there are coupled and Tanner graphs sharing the same qubit vertices. The qLDPC constants have direct graph meanings:
where is a vertex neighborhood.
Sparsity matters in three distinct ways.
Syndrome extraction
Section titled “Syndrome extraction”A check of weight can be coupled to an ancilla using data–ancilla interactions rather than an interaction whose support grows with .
Classical inference
Section titled “Classical inference”Message-passing decoders update local neighborhoods, so one iteration can have work proportional to the number of Tanner edges, which is for an LDPC family.
Fault containment
Section titled “Fault containment”A bounded-weight check circuit limits how widely one ancilla fault can spread when the interaction order and verification procedure are designed correctly. Bounded weight alone does not prove fault tolerance: a badly ordered circuit can still create a damaging correlated data error.
How Quantum LDPC Differs from Classical LDPC
Section titled “How Quantum LDPC Differs from Classical LDPC”The classical analogy is powerful but incomplete.
| Classical LDPC | Quantum LDPC |
|---|---|
| one sparse parity-check matrix | a commuting symplectic matrix, or paired CSS matrices |
| decoder seeks a likely error or codeword | decoder seeks a likely logical coset |
| parity checks may be chosen independently | and checks obey |
| short cycles hinder iterative decoding | orthogonality often forces many even overlaps and short cycles |
| one observed word supplies the parity violations | syndromes must be measured without reading the logical state |
| check bits can be assumed reliable in a code-capacity model | repeated quantum operation must tolerate faulty check circuits |
Degeneracy
Section titled “Degeneracy”If is a stabilizer and is a physical Pauli error, then and have the same logical action on code states and the same syndrome. A maximum-likelihood error decoder chooses one Pauli. A maximum-likelihood coset decoder sums probabilities over all physically different errors with the same logical action:
The most likely individual error need not belong to the most likely coset. This is one reason that directly transplanting a classical decoder can be suboptimal.
The orthogonality bottleneck
Section titled “The orthogonality bottleneck”Random sparse classical matrices readily give good classical LDPC codes. Two independently chosen sparse matrices almost never satisfy . Enforcing commutation while retaining rate, distance, sparsity, and decodability is the structural difficulty that product, homological, expander, and group-based constructions address.
The Hypergraph Product
Section titled “The Hypergraph Product”The hypergraph product converts two classical parity-check matrices into a CSS code. Let
Define
The code has
physical qubits. Commutation follows directly:
Let
Then the number of logical qubits is
When the classical seed matrices have bounded row and column weights, the product code is qLDPC. Suitable constant-rate classical seeds yield constant-rate quantum codes with distance proportional to . This was a decisive construction: it combined bounded checks, positive quantum rate, and growing distance in a general algebraic framework.
The toric code as a product
Section titled “The toric code as a product”Take both seed matrices to be the cyclic repetition-code check matrix on bits. Each is , has rank , and has one-dimensional kernel and cokernel. The hypergraph product gives
the toric-code parameter family. Thus the toric code is not conceptually separate from product-code thinking; it is a particularly geometric product of repetition complexes.
Construction Landscape
Section titled “Construction Landscape”Product language is useful because a chain complex records qubits, checks, relations among checks, and logical homology in one algebraic object. New constructions change the product or the geometry while preserving , the chain-complex form of stabilizer commutation.
Hyperbolic and homological codes
Section titled “Hyperbolic and homological codes”Topological codes on negatively curved cellulations can achieve constant rate because area grows rapidly with linear size. Their distance is typically smaller than linear, and embedding their interaction graph in ordinary two-dimensional hardware introduces nonlocality. They showed early that vanishing surface-code rate was a consequence of Euclidean geometry rather than of LDPC sparsity itself.
Quantum expander codes
Section titled “Quantum expander codes”Hypergraph products built from classical expander codes have constant rate, distance of order , and efficient small-set-flip decoders with provable guarantees. Expansion ensures that a sufficiently small error has many locally visible syndrome defects. A decoder can then flip a small set whose boundary substantially reduces the syndrome.
The guarantee depends on the expansion and noise assumptions. It should not be transferred automatically to an arbitrary sparse CSS matrix.
Fiber-bundle, balanced-product, and lifted-product codes
Section titled “Fiber-bundle, balanced-product, and lifted-product codes”Ordinary products repeat local structure in a way that historically limited known qLDPC distance to roughly up to polylogarithmic factors. Twisted products use a group action or bundle structure so that one factor changes while it is transported around another.
The progression was mathematically significant:
- fiber-bundle codes surpassed the distance barrier;
- lifted-product codes achieved almost-linear distance in a low-rate regime;
- balanced-product codes gave explicit families with improved simultaneous rate and distance exponents;
- lifted products over non-Abelian groups produced constant-rate, linear-distance qLDPC families, resolving the asymptotically good qLDPC conjecture;
- quantum Tanner codes gave a related expander-complex construction with linear distance and efficient decoders under stated local-code conditions.
These are existence and algorithmic results about code families. Their asymptotic proofs may use group sizes, local codes, or expansion constants far from the most useful finite blocks. Practical code discovery remains a finite-length optimization problem.
Quasi-cyclic and bicycle constructions
Section titled “Quasi-cyclic and bicycle constructions”Quasi-cyclic structure replaces large binary matrices with polynomials or small matrices over a group algebra. It offers:
- compact code specification;
- translation-like symmetries;
- efficient matrix operations;
- structured hardware layouts;
- fewer parameters to search;
- potentially simpler logical-operator bases.
A common bivariate-bicycle CSS form uses two commuting sparse binary matrices and :
Because and commute,
When and are sums of a few monomial shift matrices, checks and qubit degrees remain small. Their two cyclic directions motivate the name bivariate. The algebraic symmetry can also produce a connectivity graph that is the union of a small number of planar layers, although the physical edges need not be short in one plane.
Bivariate-bicycle codes are important finite-size candidates, not a synonym for all qLDPC codes. A 2024 circuit-level study found a family of weight-6 codes with a reported memory threshold near that of the surface code under its stated noise and decoder model. Its representative block used 144 data qubits and 144 measurement ancillas in the proposed syndrome circuit. The comparison projected nearly one million cycles for 12 logical qubits at physical error , using 288 physical qubits rather than roughly 3000 in the matched surface-code estimate. Every number in that comparison is model-dependent; the structural achievement is a concrete finite block, circuit, connectivity graph, and decoder that can be audited together.
What the Surface Code Does and Does Not Represent
Section titled “What the Surface Code Does and Does Not Represent”The toric and surface codes satisfy the qLDPC definition:
For a planar surface-code patch encoding one logical qubit,
The surface code therefore demonstrates that low-density checks can coexist with high circuit-level thresholds and local two-dimensional extraction. It does not demonstrate the constant-rate advantage sought from newer qLDPC families.
The distinction is useful:
| Property | Surface-code family | General high-rate qLDPC goal |
|---|---|---|
| bounded check weight and degree | yes | yes |
| Euclidean 2D geometric locality | yes | generally no |
| asymptotic rate | zero for independent planar patches | bounded away from zero |
| distance versus block length | ideally | |
| generic decoder | matching and specialized topological methods | message passing, local search, or construction-specific methods |
| logical organization | usually one or a few qubits per patch | many coupled logical qubits per block |
Neither column dominates without a hardware and workload model. Locality can raise threshold and simplify syndrome extraction. Rate can reduce data-qubit overhead. The relevant comparison includes both.
Decoding Is Coset Inference
Section titled “Decoding Is Coset Inference”The Decoders page derives why a recovery must identify the correct stabilizer coset rather than the microscopic physical error. The qLDPC-specific challenge is to approximate that posterior using a sparse but highly loopy Tanner graph while preserving the – correlations and degeneracy imposed by quantum commutation.
Belief propagation
Section titled “Belief propagation”The belief-propagation derivation defines the log-likelihood messages and parity-check update. On a tree they give exact local marginals after enough iterations. qLDPC Tanner graphs contain cycles; in common CSS representations, commutation constraints also create many short loops. Messages then become correlated and BP may oscillate, converge to an inconsistent estimate, or choose a poor representative of a highly degenerate coset.
Useful modifications include damping, randomized schedules, min-sum approximations, correlated – messages, guided decimation, and neural message updates. Performance must be reported for the exact code, noise model, number of iterations, stopping rule, and post-processing.
Ordered-statistics post-processing
Section titled “Ordered-statistics post-processing”BP plus ordered-statistics decoding (BP+OSD) uses BP reliabilities to choose a likely information set, solves the syndrome constraint there, and searches nearby low-order alternatives. It is a broadly useful finite-size qLDPC baseline and often rescues BP failures. Its post-processing cost can become a latency bottleneck, so decoder accuracy and tail runtime should be reported together.
Localized and search-based decoders
Section titled “Localized and search-based decoders”When a sparse error produces disconnected or weakly connected syndrome clusters, localized-statistics methods solve small regional problems and reconcile them. Beam-search and related methods retain several promising partial corrections instead of committing greedily to one. Both create a tunable accuracy–latency tradeoff.
No benchmark on one code family establishes a universal qLDPC decoder. Structure matters: expansion, quasi-cyclic symmetry, check redundancy, noise bias, erasure information, and circuit-induced correlations can all change the best inference rule.
Provable decoders
Section titled “Provable decoders”Small-set-flip algorithms for quantum expander codes use expansion to prove correction of adversarial errors through weight in early constructions. Later decoders for asymptotically good quantum Tanner and lifted-product codes correct a constant fraction of adversarial errors under their construction hypotheses, with linear or highly parallel runtimes.
Provable correctable weight, stochastic threshold, and finite-size logical error rate are different metrics:
- an adversarial guarantee covers every error below a weight;
- a stochastic threshold describes a distribution as size grows;
- finite-size logical error measures a specified block and operating point.
Faulty Syndrome Measurements
Section titled “Faulty Syndrome Measurements”The equations assume perfect check outcomes. Let be measurement error in round . A simplified observed syndrome is
With evolving data errors, decoders use differences between rounds and a space–time detector model. A data fault and a measurement fault leave different temporal signatures only when enough syndrome relations and rounds are available.
LDPC does not imply single-shot correction
Section titled “LDPC does not imply single-shot correction”A single-shot scheme can tolerate noisy syndrome extraction using a bounded number of measurement rounds, typically because redundant local constraints confine syndrome noise or make it itself decodable. Merely having bounded-weight stabilizers does not provide that property. Two qLDPC families can have the same , , and yet very different syndrome redundancy and single-shot behavior.
Circuit distance can be below code distance
Section titled “Circuit distance can be below code distance”An abstract code distance counts data Pauli support. A syndrome circuit adds ancillas, gates, reset, measurement, and time. A set of fewer than circuit faults may cause a logical failure if one fault propagates to several data qubits or if detector information is missing.
For a concrete implementation, define a detector error model and measure or compute the circuit distance: the minimum number of circuit faults in the model that produces an undetected logical effect. A fault-tolerant extraction schedule aims to preserve the intended effective distance.
From Sparse Checks to a Physical Schedule
Section titled “From Sparse Checks to a Physical Schedule”Introduce one ancilla for each simultaneously measured check. The data–ancilla interactions form a bipartite graph with maximum degree
If every required edge can be executed directly and each qubit participates in at most one two-qubit gate per layer, König’s line-coloring theorem gives an edge coloring with exactly colors. The interaction portion of an idealized extraction round can therefore be scheduled in layers.
This elegant graph result is not a hardware schedule. It assumes every Tanner edge is physically available and ignores:
- geometric routing or shuttling;
- frequency and laser-addressing conflicts;
- coupler crosstalk;
- ancilla preparation and measurement;
- direction-dependent gates;
- fault-propagation ordering;
- leakage removal;
- unavailable parallelism;
- classical feedforward.
The physical extraction depth can scale even when the abstract code is LDPC.
LDPC locality versus geometric locality
Section titled “LDPC locality versus geometric locality”LDPC locality means that each check touches few qubits. Geometric locality means that those qubits are physically near one another. These are different graphs.
For local commuting stabilizer codes in a two-dimensional Euclidean layout, the Bravyi–Poulin–Terhal tradeoff gives
for a constant fixed by local geometry and on-site dimension. A family with must then have . Constant rate and linear distance cannot both be obtained with bounded-range two-dimensional stabilizer checks under those assumptions.
An asymptotically good qLDPC architecture must therefore relax something:
- use long-range couplers;
- move qubits or ancillas;
- embed edges across several layers;
- distribute checks through photonic or modular links;
- simulate nonlocal checks over time;
- use a non-Euclidean or higher-dimensional effective connectivity;
- leave the assumptions of commuting local stabilizer generators.
The cost has not disappeared. It moved from code density into physical connectivity, routing, time, fabrication, or communication.
Logical Operations on a High-Rate Block
Section titled “Logical Operations on a High-Rate Block”Encoding many logical qubits in one block reduces boundary overhead but couples their organization. A logical operator can have support spread across the block, and two logical qubits may not have independent local patches that can simply be moved together.
Candidate mechanisms include:
- transversal Clifford operations supported by product symmetry;
- automorphisms and permutations of a block;
- code switching or teleportation to an auxiliary code;
- generalized lattice surgery and logical Pauli measurements;
- gauge measurements and deformations;
- magic-state injection and consumption.
A memory construction does not automatically provide a universal fault-tolerant instruction set. Logical operations must be assessed for distance preservation, ancilla cost, parallelism, routing, decoder changes, and addressability of individual logical qubits.
Finite-Length Code Assessment
Section titled “Finite-Length Code Assessment”Asymptotic notation suppresses precisely the constants that determine a near-term architecture. A finite qLDPC code card should include:
| Item | Required information |
|---|---|
| algebraic block | , stabilizer ranks, redundant rows, logical-operator basis |
| sparsity | maximum and distributions of check weight and qubit degree |
| graph structure | girth, connected components, expansion or quasi-cyclic symmetry, required edge lengths |
| extraction | ancilla count, interaction depth, gate order, reset, measurement, leakage handling |
| noise | data, gate, idle, measurement, erasure, leakage, correlation, and range dependence |
| decoder | algorithm and version, iteration limits, post-processing, training data, latency distribution |
| performance | logical failure per block and per logical qubit, acceptance, confidence interval, tested rounds |
| operations | preparation, readout, accessible logical Paulis, Clifford and non-Clifford mechanisms |
| resources | data, checks, routing, links, buffers, spares, classical compute, and delivered time |
Per-block and per-logical-qubit rates
Section titled “Per-block and per-logical-qubit rates”A block encoding logical qubits can fail on one or several logical coordinates. Let be the probability of any logical failure, and let be the marginal probability that logical qubit fails. Then
Reporting only can make a high-rate code look worse as grows, while reporting only the average marginal can hide correlated multi-logical failures. Both, together with the logical correlation structure, are useful.
Threshold is not enough
Section titled “Threshold is not enough”A code–circuit–decoder family has a threshold when increasing size suppresses logical error below a critical physical operating point. The Threshold Theorem owns the general existence, noise-assumption, and overhead statements. Two architectures with similar thresholds can have very different subthreshold prefactors, distances, rates, cycle times, and connectivity costs. For a target block failure , the practical question is
not which crossing occurs at the largest physical-error probability.
Distance verification is itself difficult
Section titled “Distance verification is itself difficult”Finding the exact distance of a general stabilizer code is computationally hard. Finite-code reports should distinguish:
- a proved distance;
- an exhaustive search result;
- a certified lower bound;
- a heuristic upper bound from a found logical operator;
- a distance inferred from logical-error scaling.
The last is not a substitute for the first four.
Experimental Status
Section titled “Experimental Status”The theory that asymptotically good qLDPC families exist is established. Finite circuit-level qLDPC memories with favorable modeled overhead are established computationally under declared noise and decoder assumptions. Long-range-connected hardware has now executed repeated syndrome circuits for small high-rate blocks. Scalable below-threshold qLDPC error suppression on hardware is not yet established.
In a 2026 superconducting experiment, 32 transmon qubits and overlapping long-range couplers implemented two weight-6 qLDPC codes: a distance-4 bivariate-bicycle code encoding four logical qubits and a punctured distance-3 code encoding six. The reported logical error per logical qubit per cycle was and , respectively. The experiment established simultaneous nonlocal check measurement and repeated qLDPC syndrome operation on the device. Those logical rates did not establish break-even, a threshold, or scalable suppression.
Other processors have implemented nonlocal finite-rate codes, transversal operations, and high-rate logical blocks using transport or reconfigurable arrays. These experiments test connectivity and logical organization. The decisive qLDPC scaling evidence will compare several increasing blocks under comparable circuit noise, decoding, acceptance, and elapsed time.
Common Mistakes
Section titled “Common Mistakes”Equating qLDPC with high rate
Section titled “Equating qLDPC with high rate”LDPC constrains check and qubit degree. The surface code is qLDPC and has vanishing rate. Constant rate is an additional property.
Equating bounded check weight with short-range hardware
Section titled “Equating bounded check weight with short-range hardware”A weight-6 check can involve six qubits separated across a processor. Weight and geometric diameter are independent.
Calling one finite ratio an asymptotic rate
Section titled “Calling one finite ratio an asymptotic rate”A code has finite rate . It does not by itself define a constant-rate family or prove how behaves as .
Using abstract distance as circuit distance
Section titled “Using abstract distance as circuit distance”Ancilla faults, hook errors, measurement faults, and time boundaries can lower the minimum number of circuit faults needed for logical failure.
Decoding the error rather than the coset
Section titled “Decoding the error rather than the coset”Physically different errors related by a stabilizer are logically equivalent. The best individual error can lie outside the most probable logical coset.
Reporting a decoder without its stopping and latency rules
Section titled “Reporting a decoder without its stopping and latency rules”BP iteration count, damping, OSD order, search width, timeouts, and failure handling can change both logical error and real-time feasibility.
Assuming qLDPC implies single-shot correction
Section titled “Assuming qLDPC implies single-shot correction”Single-shot behavior needs syndrome redundancy and confinement or another specific mechanism. It is not part of the LDPC definition.
Comparing only data-qubit counts
Section titled “Comparing only data-qubit counts”High rate can reduce data overhead while increasing measurement ancillas, connectivity layers, routing, cycle time, or classical cost. Compare delivered logical service.
Exercises
Section titled “Exercises”Exercise 1: Check CSS commutation
Section titled “Exercise 1: Check CSS commutation”Consider
Does this pair define commuting CSS checks? If so, how many logical qubits does it encode?
Solution
Every row-pair overlap has even size:
Both matrices have rank two. Therefore
The matrices define a CSS code. Determining requires finding the smallest nontrivial logical representatives; commutation and rank alone do not fix it.
Exercise 2: Distinguish sparse, high-rate, and good
Section titled “Exercise 2: Distinguish sparse, high-rate, and good”Classify the asymptotic properties of three families:
- ;
- ;
- .
Assume each has bounded check weight and qubit degree.
Solution
All three are qLDPC by assumption.
- The rate is and . It is neither constant-rate nor asymptotically good.
- The rate is , but relative distance is . It is constant-rate but not asymptotically good.
- The rate is and relative distance is . It is asymptotically good.
Exercise 3: Hypergraph-product size
Section titled “Exercise 3: Hypergraph-product size”Let be with rank 6 and be with rank 4. Compute the hypergraph-product values of and .
Solution
The physical length is
The seed dimensions are
Both transpose-code dimensions vanish because each matrix has full row rank:
Therefore
Exercise 4: Recover the toric-code parameters
Section titled “Exercise 4: Recover the toric-code parameters”Each cyclic repetition seed has shape , rank , and distance for both its kernel and transpose kernel. Use the product formulas to obtain and .
Solution
The product length is
For each seed,
Thus
The seed distances give product distance , yielding .
Exercise 5: Schedule an ideal Tanner graph
Section titled “Exercise 5: Schedule an ideal Tanner graph”A qLDPC extraction graph has maximum check weight and maximum qubit degree . Every required data–ancilla edge is directly available, and a qubit can participate in only one two-qubit gate per layer. What is the minimum number of interaction layers guaranteed by bipartite edge coloring? Why might hardware need more?
Solution
The maximum graph degree is
König’s line-coloring theorem says a bipartite graph has edge-chromatic number equal to its maximum degree, so six interaction layers suffice and are necessary in the worst case.
Hardware may need extra layers for routing, unavailable long-range edges, crosstalk restrictions, gate direction, ancilla preparation and measurement, leakage handling, or a fault-propagation order that differs from an arbitrary edge coloring.
Exercise 6: Identify a degenerate correction
Section titled “Exercise 6: Identify a degenerate correction”Errors and have the same syndrome and satisfy for stabilizer . A decoder observes that and . A different logical coset contains one candidate with probability . Can the decoder choose the most likely individual error and be maximum-likelihood at the logical level?
Solution
No. The first logical coset already has probability at least
which exceeds . Choosing the most likely individual candidate would select the wrong logical coset in this partial example. Logical maximum-likelihood decoding sums probabilities over stabilizer-equivalent errors.
Exercise 7: Apply the 2D locality tradeoff
Section titled “Exercise 7: Apply the 2D locality tradeoff”Suppose a geometrically local two-dimensional commuting stabilizer family has for constant . Use to bound .
Solution
Substitution gives
so
Thus a constant-rate family cannot also have growing distance under the stated two-dimensional bounded-range commuting-stabilizer assumptions. A high-rate, growing-distance architecture must relax at least one assumption.
Exercise 8: Classify an experimental result
Section titled “Exercise 8: Classify an experimental result”A device executes all checks of a qLDPC code for 20 rounds and reports a 7% logical error per logical qubit per cycle. What has been established, and what additional evidence is needed for below-threshold scaling?
Solution
The experiment establishes encoding and repeated syndrome extraction for a finite high-rate sparse code on that device, together with a measured logical metric under its decoder and operating conditions.
Below-threshold scaling needs comparable experiments on a code family with increasing protection, showing logical failure decreases as distance grows. The noise model, circuit schedule, decoder, number of rounds, acceptance, elapsed time, and confidence analysis must remain comparable. One finite block and one logical rate cannot establish a threshold.
References
Section titled “References”- R. G. Gallager, Low-Density Parity-Check Codes (MIT Press, 1963).
- A. R. Calderbank and P. W. Shor, “Good quantum error-correcting codes exist,” Physical Review A 54, 1098–1105 (1996). doi:10.1103/PhysRevA.54.1098
- A. M. Steane, “Multiple-particle interference and quantum error correction,” Proceedings of the Royal Society A 452, 2551–2577 (1996). doi:10.1098/rspa.1996.0136
- D. J. C. MacKay, G. Mitchison, and P. L. McFadden, “Sparse-graph codes for quantum error correction,” IEEE Transactions on Information Theory 50, 2315–2330 (2004). doi:10.1109/TIT.2004.834737
- N. P. Breuckmann and J. N. Eberhardt, “Quantum low-density parity-check codes,” PRX Quantum 2, 040101 (2021). doi:10.1103/PRXQuantum.2.040101
- J.-P. Tillich and G. Zémor, “Quantum LDPC codes with positive rate and minimum distance proportional to the square root of the blocklength,” IEEE Transactions on Information Theory 60, 1193–1202 (2014). doi:10.1109/TIT.2013.2292061
- A. Leverrier, J.-P. Tillich, and G. Zémor, “Quantum expander codes,” in 2015 IEEE 56th Annual Symposium on Foundations of Computer Science, 810–824 (2015). doi:10.1109/FOCS.2015.55
- M. B. Hastings, J. Haah, and R. O’Donnell, “Fiber bundle codes: breaking the barrier for quantum LDPC codes,” in Proceedings of STOC 2021, 1276–1288 (2021). doi:10.1145/3406325.3451005
- P. Panteleev and G. Kalachev, “Quantum LDPC codes with almost linear minimum distance,” IEEE Transactions on Information Theory 68, 213–229 (2022). doi:10.1109/TIT.2021.3119384
- N. P. Breuckmann and J. N. Eberhardt, “Balanced product quantum codes,” IEEE Transactions on Information Theory 67, 6653–6674 (2021). doi:10.1109/TIT.2021.3097347
- P. Panteleev and G. Kalachev, “Asymptotically good quantum and locally testable classical LDPC codes,” in Proceedings of STOC 2022, 375–388 (2022). doi:10.1145/3519935.3520017
- A. Leverrier and G. Zémor, “Quantum Tanner codes,” in 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science, 872–883 (2022). doi:10.1109/FOCS54457.2022.00117
- S. Bravyi, D. Poulin, and B. M. Terhal, “Tradeoffs for reliable quantum information storage in 2D systems,” Physical Review Letters 104, 050503 (2010). doi:10.1103/PhysRevLett.104.050503
- N. Baspin and A. Krishna, “Quantifying nonlocality: how outperforming local quantum codes is expensive,” Physical Review Letters 129, 050505 (2022). doi:10.1103/PhysRevLett.129.050505
- J. Roffe, D. R. White, S. Burton, and E. T. Campbell, “Decoding across the quantum low-density parity-check code landscape,” Physical Review Research 2, 043423 (2020). doi:10.1103/PhysRevResearch.2.043423
- S. Bravyi et al., “High-threshold and low-overhead fault-tolerant quantum memory,” Nature 627, 778–782 (2024). doi:10.1038/s41586-024-07107-7
- M. A. Tremblay, N. Delfosse, and M. E. Beverland, “Constant-overhead quantum error correction with thin planar connectivity,” Physical Review Letters 129, 050504 (2022). doi:10.1103/PhysRevLett.129.050504
- Q. Xu et al., “Constant-overhead fault-tolerant quantum computation with reconfigurable atom arrays,” Nature Physics 20, 1084–1090 (2024). doi:10.1038/s41567-024-02479-z
- Y. Hong, E. Durso-Sabina, D. Hayes, and A. Lucas, “Entangling four logical qubits beyond break-even in a nonlocal code,” Physical Review Letters 133, 180601 (2024). doi:10.1103/PhysRevLett.133.180601
- L. Pecorari, S. Jandura, G. K. Brennen, and G. Pupillo, “High-rate quantum LDPC codes for long-range-connected neutral atom registers,” Nature Communications 16, 1111 (2025). doi:10.1038/s41467-025-56255-5
- N. Berthusen et al., “Toward a 2D local implementation of quantum low-density parity-check codes,” PRX Quantum 6, 010306 (2025). doi:10.1103/PRXQuantum.6.010306
- T. Hillmann et al., “Localized statistics decoding for quantum low-density parity-check codes,” Nature Communications 16, 8214 (2025). doi:10.1038/s41467-025-63214-7
- K. Wang et al., “Demonstration of low-overhead quantum error correction codes,” Nature Physics 22, 308–314 (2026). doi:10.1038/s41567-025-03157-4
- M. Ye, D. Wecker, and N. Delfosse, “Beam search decoder for quantum low-density parity-check codes,” PRX Quantum 7, 033002 (2026). doi:10.1103/6k5x-ztqt
Further Connections
Section titled “Further Connections”- Why Quantum Error Correction Is Possible supplies the Knill–Laflamme condition and explains why syndrome measurements preserve logical amplitudes.
- Surface Code develops the most mature geometrically local qLDPC family and its circuit-level benchmark conventions.
- Color Codes owns the local 2-colex family and its gate and decoder tradeoffs; this page retains sparsity, Tanner graphs, product constructions, rate–distance asymptotics, schedules, and evidence.
- Common Noise Models distinguishes the independent, biased, erasure, leakage, correlated, and nonstationary models that change decoder performance.
- Resource Estimation shows how finite rate, check connectivity, logical operations, decoding, and hardware assumptions replace a surface-code patch multiplier in a physical resource ledger.
- Resource Estimation Tools provides the reproducible software workflow for evaluating those models.
- Modular Architectures provides one route to realizing sparse but nonlocal Tanner edges through links and distributed modules.
- Reporting Standards gives the provenance, uncertainty, postselection, code, and data record needed for a finite-code comparison.
- Quantum Information Roadmap places qLDPC codes after channels, stabilizers, syndromes, and baseline code families.