Skip to content
DAH

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
Why other work relies on it

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.

  1. 1Surface code: one logical qubit per patch
  2. 2qLDPC: many logical qubits per block
  3. 3Needs some long-range connections
  4. 4Good codes proven to exist in 2021
  5. 5Fewer physical qubits per useful qubit

Code parameters. A code [[n,k,d]][[n,k,d]] uses nn physical qubits to protect kk logical qubits, where the distance dd is the fewest physical errors that can cause an undetected logical change. The surface code has k=1k=1 and d≈n/2d\approx\sqrt{n/2}, so the fraction k/nk/n 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 kd2≤c nkd^2\le c\,n for a constant cc. The surface code already saturates this, so doing better needs long-range checks.

Good codes. A code family is good if both kk and dd grow in proportion to nn. Hypergraph products (2009) gave k∝nk\propto n with d∝nd\propto\sqrt n; in 2021 Panteleev and Kalachev built good qLDPC codes, settling a long-open conjecture.

Practical codes. IBM's bivariate bicycle codes, such as [[144,12,12]][[144,12,12]], 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 [[n,k,d]][[n,k,d]]: nn physical qubits, kk logical qubits, distance dd. 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 k=1k=1 and d∼nd\sim\sqrt n, so its rate k/nk/n goes to zero. Bravyi, Poulin and Terhal (2010) proved that codes with local checks in two dimensions obey kd2=O(n)kd^2=O(n), 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 d=Θ(n)d=\Theta(\sqrt n). Whether good qLDPC codes exist, with k=Θ(n)k=\Theta(n) and d=Θ(n)d=\Theta(n), 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 [[144,12,12]][[144,12,12]] "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)
Words on this page
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)
New to this? Read first

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.

  1. Start with
  2. Step 2
  3. Then

Open problems & questions

No open problems or questions on this entry.

Progress timeline

  1. Sep 23, 2026
    Logarithmic time overhead (preprint)

    Han and Liu claimed constant space overhead with strictly logarithmic time overhead.

    source
  2. Aug 15, 2023
    Bivariate bicycle codes

    Bravyi et al. proposed high-rate codes with a 0.8% threshold and a two-layer planar layout.

    source
  3. Nov 5, 2021
    Good qLDPC codes exist

    Panteleev and Kalachev proved the qLDPC conjecture with lifted product codes.

    source
  4. Oct 10, 2013
    Constant-overhead fault tolerance

    Gottesman showed qLDPC codes allow a constant ratio of physical to logical qubits.

    source
  5. Mar 3, 2009
    Hypergraph product codes

    Tillich and Zémor gave constant-rate qLDPC codes with distance proportional to n\sqrt n.

    source