Quantum LDPC codes
Codes whose checks each touch only a few qubits but which, unlike the surface code, encode many logical qubits with large distance; good qLDPC codes now exist and promise far lower overhead.
On this page16 sections
Constant-overhead fault tolerance and recent resource estimates that cut the qubit count for Shor's algorithm several-fold rely on qLDPC codes, provided hardware can supply the long-range connectivity they need.
Error-correcting codes that protect many qubits at once with far fewer physical qubits than the surface code.
- 1Surface code: one logical qubit per patch
- 2qLDPC: many logical qubits per block
- 3Needs some long-range connections
- 4Good codes proven to exist in 2021
- 5Fewer physical qubits per useful qubit
Code parameters. A code uses physical qubits to protect logical qubits, where the distance is the fewest physical errors that can cause an undetected logical change. The surface code has and , so the fraction goes to zero as codes grow.
LDPC (low-density parity-check) means each check involves a bounded number of qubits and each qubit is in a bounded number of checks, like a sparse matrix. Sparse checks keep the measurement circuits short.
The locality limit. Bravyi, Poulin and Terhal proved that if checks act only on nearby qubits in 2D, then for a constant . The surface code already saturates this, so doing better needs long-range checks.
Good codes. A code family is good if both and grow in proportion to . Hypergraph products (2009) gave with ; in 2021 Panteleev and Kalachev built good qLDPC codes, settling a long-open conjecture.
Practical codes. IBM's bivariate bicycle codes, such as , protect 12 logical qubits with 288 physical qubits (including check qubits), where surface codes would need about 3,000 for similar protection, and have an error threshold near 0.8%. They need each qubit to connect to six others through two layers of wiring.
Costs. Decoding is slower than for the surface code, and logical gates between qubits in the same block are harder to perform.
Hardware. Neutral-atom machines can move atoms with optical tweezers to create long-range connections, and superconducting chips can add a second wiring layer. Both are being developed specifically so that qLDPC codes can be used in practice.
Go deeper
The full technical text.
Parameters and the locality barrier
A code is written : physical qubits, logical qubits, distance . It is low-density parity-check (LDPC) if every check acts on a bounded number of qubits and every qubit is in a bounded number of checks. The surface code is LDPC with and , so its rate goes to zero. Bravyi, Poulin and Terhal (2010) proved that codes with local checks in two dimensions obey , so a better code needs long-range connections.
Good codes
Tillich and Zémor's hypergraph product (2009; IEEE Trans. Inf. Theory 2014) gave constant rate with . Whether good qLDPC codes exist, with and , was a long-standing conjecture. Panteleev and Kalachev (2021; STOC 2022) proved it with lifted products over non-abelian groups, which also gave good locally testable classical codes. Leverrier and Zémor's quantum Tanner codes (2022) are a simpler family, and linear-time decoders followed.
Fault tolerance with constant overhead
Gottesman (2014) showed that qLDPC codes allow fault-tolerant computation with a constant ratio of physical to logical qubits, and Fawzi, Grospellier and Leverrier (FOCS 2018) did it with quantum expander codes. Time overhead is the catch: Yamasaki and Koashi (Nat. Phys. 2024) achieved constant space with quasi-polylogarithmic time overhead using concatenated codes, Tamiya, Koashi and Yamasaki (2024 preprint) polylogarithmic time with qLDPC codes, and Han and Liu (2026 preprint) logarithmic time.
Practical codes
Bravyi et al. (Nature 2024) proposed bivariate bicycle codes, including the "gross" code, with a threshold of about 0.8% under circuit noise, close to the surface code. They estimate that 12 logical qubits can be kept for nearly a million syndrome cycles with 288 physical qubits at a 0.1% error rate, where the surface code would need nearly 3,000. The price is degree-6 connectivity made of two planar layers. Decoders such as belief propagation with ordered-statistics post-processing (Panteleev and Kalachev, 2019) work well but are slower than matching. Logical gates on qLDPC codes are harder than on the surface code and are an active topic (code surgery, Cohen et al., 2022). Architecture studies built on these codes estimate RSA-2048 with fewer than 100,000 physical qubits (Webster et al., 2026 preprint).
Beyond memories
Good qLDPC codes also gave the proof of the NLTS conjecture (Anshu, Breuckmann and Nirkhe, 2023), a step towards quantum PCP, and they are the input to layer codes, the leading three-dimensional candidates for self-correcting memories.
Words on this page (6)
- LDPC code
- A code whose parity checks each involve only a few bits; widely used in classical communication.
- code rate
- The fraction k/n of physical qubits that carry logical information.
- code distance
- The fewest errors that can change the stored information undetected.
- good code
- A code family whose rate and relative distance both stay above a constant as it grows.
- surface code
- The standard 2D code with one logical qubit per patch.
- decoder
- The classical algorithm that infers errors from check results.
New to this? Read first (2)
- Low-density parity-check code (Wikipedia)The classical codes these generalise.
- Quantum error correction (Wikipedia)Background on stabilizer codes and distance.
Understanding map
map of the whole wiki →What to read before Quantum LDPC codes (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.
- Start with
- Quantum algorithmsAlgorithm
- Step 2
- Then
- Quantum LDPC codesYou are here
Open problems & questions
No open problems or questions on this entry.
Progress timeline
- Sep 23, 2026Logarithmic time overhead (preprint)source
Han and Liu claimed constant space overhead with strictly logarithmic time overhead.
- Aug 15, 2023Bivariate bicycle codessource
Bravyi et al. proposed high-rate codes with a 0.8% threshold and a two-layer planar layout.
- Nov 5, 2021Good qLDPC codes existsource
Panteleev and Kalachev proved the qLDPC conjecture with lifted product codes.
- Oct 10, 2013Constant-overhead fault tolerancesource
Gottesman showed qLDPC codes allow a constant ratio of physical to logical qubits.
- Mar 3, 2009Hypergraph product codessource
Tillich and Zémor gave constant-rate qLDPC codes with distance proportional to .