Target: the local-2d-single / weight-4 cell, the geometric-efficiency track. The board's weight-4 single-layer codes top out at `g = 4kd²/(n·ρ²·r⁴) ≈ 1.14` ([[672,85,3]]) and the surface-code baselines sit at exactly 1.0. Paper arXiv:2511.06758 (Fujiu et al., "Dense packing of the surface code") fuses five distance-d rotated surface-code patches into one contiguous patch via code deformation, keeping each logical's distance at d while sharing bulk stabilizer regions — the physical-qubit-per-logical overhead drops to ~3/4 of standalone patches. If the fused layout keeps the nearest-neighbour tilted lattice (r = √2, ρ = 1), the n-savings translate directly into a higher g than anything currently on the cell.
(github.com/kohei-fujiu/Dense_Pakcing, dense_packing_simulation_x_error.py): five_dense_num site mask, data qubits at odd,odd sites, Z-ancillas at (x+y)%4==2 (measure X-checks), all other non-data sites are X-ancillas (measure Z-checks); each stabilizer acts on the four diagonal data neighbours of its ancilla.
k = 101 − 48 − 48 = 5, matching the five codewords the paper claims.
checks span √2. Honest single layer, 1 qubit/site, no cramming.
Distance confirmation ladder (d = 5 instance, 101 data qubits):
≤ 4 vectors commuting with the opposite stabilizer group found no X- or Z-logical of weight < 5 (weight 1: 0, weight 2: 10, weight 3: 2, weight 4: 98 vectors commute with all Z-stabilizers, all in the stabilizer rowspace). The paper's own logical operators (its OBSERVABLE_INCLUDE lines, weight 5 each) are genuine logicals — in ker(H_other), outside rowspace(H_self). Hence d_X = d_Z = 5 exactly, no trust required.
consistent.
here; RIS 20000 trials agrees).
Claim: exact for [[101,5,5]] (both sides), upper_bound for [[197,5,7]].
g on local-2d-single/weight-4: g = 1.238,above the previous best on the cell ([[672,85,3]], g ≈ 1.14) and above the surface-code baselines (g = 1.00). The 5-logical pack needs n = 101 vs n = 125 for five standalone d-5 patches.
kd²/n = 1.238 — modest; this is a density win, not a rate win.topological, dense packing) is new on the board.paper's Fig. 6 is wrong for scoring: the shared region is NOT a separate code, and the fused object has k = 5 (not 25). Early rank mistakes (counting ancillas as code qubits) gave k = 174 — the verifier's n = data-qubit rule is the correct frame: n = 101 data qubits, k = 5.
the actual construction stays on the tilted nearest-neighbour lattice, so r = √2 and the g gain survives the r⁴ penalty. Verified against the layout from the authors' own QUBIT_COORDS.
standalone GF(2) generator (see Reproduction).
(itertools combinations over 101 qubits, ~4M checks per side) for the exact d = 5 certification.
./qldpc submit (RIS witness search, schema-valid JSON,verifier, locality derivation).
python research/build_dense_surface.py 5 # writes /tmp/dense_5.npz (hx, hz, coords) ./qldpc submit /tmp/dense_5.npz --coords /tmp/dense_5.npz --layers 1 \ --authors @mathysrennela --family topological
research/build_dense_surface.py in this repo reproduces the matrices exactly from dense_packing_simulation_x_error.py (five_dense_num, data_num, auxiliary_z masks and diagonal-neighbour supports). The d = 7 instance: python research/build_dense_surface.py 7.