QEC ExplorerqLDPC · Gross Code
Part of QEC Explorer · Module 4 · qLDPC
Interactive · The real [[144,12,12]] gross code · Runs in your browser

Beyond the grid: the gross code

Every module so far lived on the surface code, a flat grid you can click. The gross code is the frontier: it stores 12 logical qubits in 144 physical ones, where a surface code would need thousands. The price is that its stabilizers reach across the whole code, not just to neighbors, so it cannot honestly be drawn as a tidy grid. Here it is two ways: as the Tanner graph its decoder actually sees, and as a live decode lab where you inject real errors and watch real BP-OSD clean them up.

data qubit (144)
X-check (72)
Z-check (72)
Hover any diamond to highlight the 6 data qubits one stabilizer measures. Notice how far apart they can land: that reach is exactly what a grid cannot show.

The code, verified

144
physical qubits
12
logical qubits
12
code distance
6
check weight
144
stabilizer checks (72 X + 72 Z)

Why it matters

To protect 12 logical qubits this well, a surface code would need roughly:

~1700
surface-code qubits
144
gross-code qubits

That order-of-magnitude saving is the whole point of qLDPC, and the price is the long-range wiring you see in the graph.

Controls

Built from the real polynomials

  • A = x^3 + y + y^2
  • B = y^3 + x + x^2
  • every check has weight 6
  • Hx times Hz-transpose is 0 (valid CSS)
  • k = 144 - 66 - 66 = 12

Bravyi et al., Nature 627 (2024). Everything here is computed live in qldpc-core.js, the same engine the decode lab uses.

The point worth understanding

qLDPC trades geometry for efficiency

The surface code is easy to build because every check is local: neighboring qubits, short wires, a clean 2D chip. The gross code throws that away. Its checks are long-range, which is why it looks like a web instead of a grid, and why it needs long-distance connections that are hard to fabricate. In exchange, it protects the same information with roughly ten times fewer qubits.

That is the central bet of the qLDPC program: if the hardware can be built, the qubit savings are enormous. The decoder does not care about geometry at all. BP-OSD reads the Tanner graph directly, which is exactly why the same algorithm you saw win the surface-code race also drives the frontier codes. The physics on this page is computed live from the code's defining polynomials, and checked against its invariants in the test suite.

Keep going

Where this connects