A quantum LDPC code (qLDPC) is a stabilizer code in which every check measures only a small, bounded number of qubits and every qubit takes part in only a small, bounded number of checks. In quantum error correction, this low-density structure keeps syndrome measurement circuits shallow while allowing codes that encode many logical qubits with large code distance.
The idea extends classical low-density parity-check codes, which underpin modern Wi-Fi, 5G and storage systems, to quantum information. Interest has surged because recent constructions promise an order of magnitude lower qubit overhead than the surface code for comparable protection, a key factor for fault-tolerant quantum computing.
How quantum LDPC codes are structured
A quantum LDPC code is described by sparse parity-check matrices. Most practical examples are CSS codes, which use one matrix for X-type checks and another for Z-type checks, with the condition that every X check commutes with every Z check. Sparsity means each row and each column of these matrices contains only a few nonzero entries.
Codes are summarized by the triple [[n, k, d]]: n physical qubits, k logical qubits and distance d. The low-density property is captured by two numbers, the check weight and the qubit degree, both of which stay constant as the code grows.
The table below explains the core parameters and why each matters.
| Parameter | Meaning | Practical impact |
|---|---|---|
| n | Physical qubits | Hardware size |
| k | Logical qubits encoded | Useful capacity |
| d | Code distance | Number of errors tolerated |
| Rate k/n | Encoding efficiency | Overhead per logical qubit |
| Check weight | Qubits per stabilizer | Depth of syndrome circuits |
| Qubit degree | Checks per qubit | Error spread during measurement |
Families and milestones in qLDPC research
The surface code and the toric code are themselves qLDPC codes with weight-four checks, but they encode only a constant number of logical qubits, so their rate falls toward zero as distance grows. Research has therefore focused on families that keep rate and distance high at the same time.
The following table lists the main families and their headline properties.
| Family | Rate | Distance scaling | Notes |
|---|---|---|---|
| Surface code | Vanishing | About √n | Planar, nearest-neighbor |
| Hypergraph product codes | Constant | About √n | Built from two classical codes |
| Lifted and balanced product codes | Constant | Beyond √n | Algebraic constructions |
| Asymptotically good codes | Constant | Linear in n | Proved to exist in 2021-2022 |
| Bivariate bicycle codes | Moderate | Good at small sizes | Example: [[144, 12, 12]] |
The bivariate bicycle example encodes 12 logical qubits in 144 data qubits with distance 12. A surface code with the same distance would need roughly ten times as many physical qubits for those 12 logical qubits, which illustrates the overhead advantage that drives the field.
Asymptotically good constructions, such as quantum Tanner codes, settled a long-standing theoretical question, but their known instances are large. For near-term hardware, small and structured codes found by computer search currently matter more than asymptotic scaling.
Quantum LDPC codes compared with the surface code
The central trade-off is overhead versus connectivity. A theorem by Bravyi, Poulin and Terhal shows that codes with only local interactions in two dimensions cannot have both high rate and large distance. High-performance qLDPC codes must therefore use long-range connections between qubits.
| Aspect | Surface code | High-rate qLDPC code |
|---|---|---|
| Qubits per logical qubit | Hundreds to thousands | Tens to low hundreds |
| Connectivity | 2D nearest-neighbor | Long-range or multilayer |
| Check weight | 4 | Typically 6-12 |
| Logical gates | Mature via lattice surgery | Still under active research |
| Decoding | Fast matching decoders | Belief propagation with post-processing |
| Error threshold | About 1% | Comparable for some families |
Because of these differences, many proposed architectures combine both approaches: a qLDPC code serves as dense quantum memory, while surface-code patches or teleportation-based gadgets carry out logical operations.
Decoding and syndrome measurement
Syndrome measurement in qLDPC codes uses ancilla qubits that interact with each qubit in a check. Low check weight keeps these circuits short, but the gate order must be chosen carefully so that hook errors, faults on an ancilla that spread to several data qubits, do not reduce the effective distance.
Decoding is harder than for the surface code. Classical belief propagation struggles with quantum degeneracy and short cycles in the code graph, so it is usually paired with ordered statistics decoding or similar post-processing. Decoders must also be fast enough for real time, typically on the scale of microseconds per round for superconducting hardware.
Another subtlety is degeneracy: many different physical errors produce the same syndrome and act identically on the logical information. A good decoder does not need to identify the exact error, only an equivalent correction. Exploiting degeneracy well is one reason why quantum decoders differ from their classical counterparts, and why decoder choice can change the observed logical error rate by a large factor at the same physical noise level.
Engineering challenges and open problems
Quantum LDPC codes move the difficulty from qubit count to hardware design and control. The table below summarizes the main obstacles and current responses.
| Challenge | Why it arises | Current approach |
|---|---|---|
| Long-range couplers | Checks span distant qubits | Multilayer wiring, movable atoms or ions |
| Logical gates | No simple transversal set | Gadgets, code switching, ancilla systems |
| Real-time decoding | Graphs with many short cycles | Hardware-optimized BP-OSD variants |
| Circuit-level noise | Weight-6 or higher checks | Optimized scheduling of check gates |
Platforms with flexible connectivity, such as trapped ions and neutral atoms that can be physically moved, are natural candidates, while superconducting designs are adding longer couplers across multiple chip layers to support these codes.
A plain-language summary
Qubits make mistakes, so they need protection. The usual method spreads one piece of information across many qubits and checks them often. This works, but it uses a huge number of qubits.
A quantum LDPC code checks qubits in small groups, and each qubit joins only a few groups. The groups can reach across the chip. This clever wiring lets one block of qubits protect many pieces of information at once. The catch is that the chip must support those long connections.
An example from practice
A hardware team plans a memory module for a future fault-tolerant processor. It needs 12 logical qubits that survive at least 12 rounds of noise without uncorrectable errors. A surface-code layout at distance 12 would require several thousand physical qubits, including ancillas.
The team instead chooses a [[144, 12, 12]] bivariate bicycle code. With one ancilla per check, the module uses about 288 physical qubits in total. Simulations at a physical error rate of 0.1 percent show a logical error rate comparable to the surface-code design. The price is a two-layer chip with longer couplers and a dedicated decoder running on a nearby FPGA.