
Researchers at Riverlane have introduced directional codes, a family of quantum low-density parity-check (qLDPC) error-correcting codes engineered to run on standard two-dimensional square-grid and hexagonal-grid superconducting processors without requiring long-range qubit couplers. Published in Nature Communications alongside open simulation circuits and parity-check matrices on Zenodo, the architecture exploits the state-swapping behavior of native two-qubit iSWAP gates to shift data and auxiliary qubit sublattices past one another during syndrome extraction, measuring non-local stabilizers using strictly nearest-neighbor hardware interactions.
| Riverlane Directional qLDPC Code Benchmarks vs. Rotated Toric Code (p = 10−3) | |||
|---|---|---|---|
| Directional Code Family | Encoded Logical Qubits | Hardware Connectivity | Physical Qubits Required vs. Rotated Toric Code |
| N2E3N2 (Rotated) | 12 | Square grid (toric) | ~29% (29.2%+2.1%−4.4%) |
| N2E2N2 (Rotated) | 6 | Square grid (toric) | ~30% (29.6%+3.4%−10.8%) |
| N2E4N2 (Rotated) | 18 | Square grid (toric) | ~33% (32.8%+1.9%−2.9%) |
| N2E3N2 (Rectangular) | 12 | Square grid (toric) | ~50% (49.9%+5.7%−18.3%) |
| N2E2N2 (Rectangular) | 6 | Square grid (toric) | ~56% (55.7%+4.3%−9.1%) |
| NE3N (Rectangular) | 4 | Hexagonal grid (toric) | ~73% (73.4%+13.7%−16.1%) |
Rather than treating the state-exchange action of an iSWAP gate as a circuit-design complication, the Riverlane team sequences layers of local entangling gates along compass directions (such as two steps north, three east, and two north in the weight-7 N2E3N2 family) so each auxiliary qubit gathers parity checks along a snake-shaped path across the lattice. Benchmarked under the SI-1000 circuit-level Pauli noise model using Stim and the Tesseract decoder across roughly 45 CPU-core-years of simulations, the rotated N2E3N2 code matches the logical error rate of the rotated toric code at a 0.1% physical error rate while using roughly one-quarter to one-third as many physical qubits, and reduces per-round logical error rates by a factor of 500 at 40 physical qubits per logical qubit.
While bivariate bicycle codes achieve lower error rates under idealized noise models that ignore the added noise of degree-six long-range couplers, directional codes preserve standard degree-four square-grid layouts and have already inspired follow-on planar boundary constructions (including vine, directional tile, and bunny codes) as well as adapted matching decoders. Future work will focus on real-time belief-propagation decoding, lattice-surgery logical gates, magic-state preparation, and suppressing conditional-phase errors in hardware iSWAP implementations.
Read the paper in Nature Communications here, view Riverlane’s technical overview here, and access the simulation circuits and datasets on Zenodo here.
November 30, 2026