← back to the board
[[40,16,3]] d =
n
40
k
16
d
3
kd²/n
3.6
w
8
X/Z
1
g
0.0125
r
4.1231
layers
2
swaps
64

Share this result

Distance

X/Z asymmetry 1 · d_X = 3, d_Z = 3 · w_X = 8, w_Z = 8 (max(d_X,d_Z)/min(d_X,d_Z); each side carries its own earned tier: = certified exact, ≤ witness upper bound)
d_X 3 · witness weight 3 (claimed upper_bound)
witness operator (support, 3 qubits)
[0, 20, 34]
d_Z 3 · witness weight 3 (claimed upper_bound)
witness operator (support, 3 qubits)
[7, 31, 38]
certificate exact, d = 3 · scipy/HiGHS MILP
X: no logical < 3 exists; Z: no logical < 3 exists

Diagnostics

computed by the verifier from the parity checks, the layout, and the stored witnesses; shown as evidence, not used for ranking
girth H_X 4 · H_Z 4 (shortest cycle of each side’s Tanner graph; longer is friendlier to belief propagation)
check weights H_X 8 · H_Z 8
qubit degrees H_X 4 · H_Z 4
trapping sets H_X (1,4)×40 (2,4)×160 (3,0)×40 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,4): 40 (2,4): 160 (2,6): 240 (3,0): 40 (3,4): 520 (3,6): 1920 (3,8): 2480
trapping sets H_Z (1,4)×40 (2,4)×160 (3,0)×40 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,4): 40 (2,4): 160 (2,6): 240 (3,0): 40 (3,4): 520 (3,6): 1920 (3,8): 2480
witness diameter X 2.2361 · Z 1.4142 (Euclidean support diameter of the stored distance witnesses in the layout; an upper bound on the exhibited logicals’ spread, not a minimum over all logicals)

Verified 2D layout

as measured by the verifier: every check drawn over the submitted coordinates; the interaction radius is the longest dashed pair
layout contributed by @dorakingx · Simulated annealing over site assignments on an integer grid with the repo's own research/local2d/fold_layout.search_layout (max-diameter objective, several bounding boxes and seeds); single layer at radius 4 tried first, then two layers at 7. Radius and per-site occupancy re-measured with the verifier's rule. · 2026-10-02
r = 4.123
X checkZ checkqubit site (20)2 qubits stacked (2 layers)dashed: the pair setting the interaction radiushover a check to isolate its qubits; click to pin — repeated clicks cycle through overlapping checks; click empty space to release
routing cost 64 nearest-neighbor SWAPs per round in total, at most 4 for one check (heuristic: MST lower bound on the layout, with one lattice step = the minimum qubit spacing 1; not a rank)

Construction & provenance

provenance submitted through the challenge
novelty novelty not audited
construction 2BGA (arXiv:2306.16400) on SmallGroup(20,2), from github.com/QEC-pages/2BGA-codes @ 403d194c3f98f0cadc236aecbc4a8b6139ccf23c, abelian.zip, diswtabelian_wt8wtL4_order20_k16.txt, line 1. nonidentity supports a=[2, 3, 5], b=[2, 7, 9].
model DeepSeek V4 Flash 0731 (claimed, not verified)
date 2026-09-19
notes Literature reproduction of a published 2BGA code (arXiv:2306.16400; github.com/QEC-pages/2BGA-codes @ 403d194c3f98f0cadc236aecbc4a8b6139ccf23c). Checked against the live board: not equivalent to any existing entry.
family generalized bicycle (a tag, not a ranking)
locality 2D-local bilayer (computed from the layout)
weight class weight ≤ 8 (computed)

How this code was found

the research note submitted with this code · raw markdown · all notes

[[40,16,3]] — two-block group-algebra code on SmallGroup(20,2)

Direction & hypothesis

Target: unrestricted weight-8 frontier for hackathon issue #1155. Reconstruct a published weight-8 2BGA code absent from the local board. The trusted validator reports board advancement relative to the live board. Efficiency kd²/n = 3.60.

What was searched

Scraped GitHub for downloadable parity-check matrix artifacts and parameter tables. From github.com/QEC-pages/2BGA-codes @ 403d194c3f98f0cadc236aecbc4a8b6139ccf23c, abelian.zip, diswtabelian_wt8wtL4_order20_k16.txt, line 1. This row is SmallGroup(20,2) with nonidentity GAP supports a=[2, 3, 5], b=[2, 7, 9]. Reconstructed via GAP (Cayley table) and the repository's group-algebra constructor.

Evidence trail

The trusted candidate gate returned passed: true, structural verification passed (CSS, connectivity, k=16), and no lighter logical was found in the refutation search. Distance is a witness-backed upper bound d ≤ 3, not an exact certificate. The published distance is consistent with this run.

Dead ends

None for this candidate. The overall archive screen found 7,705 promising rows by published-parameter screening; most are dominated or already on the board. This row survived the screen and the gate.

Tools

DeepSeek V4 Flash 0731 (provenance.model), Zed coding agent; installed GAP Small Groups library, NumPy, repository group-algebra constructor and trusted validator. Public artifacts fetched by immutable commit URL and treated as data. Bounded local CPU run, no paid compute.

Reproduction

Use GAP g := SmallGroup(20,2), e := Elements(g). Construct the zero-based Cayley table mul[i,j] = Position(e,e[i+1]*e[j+1])-1. The published nonidentity supports are a=[2, 3, 5], b=[2, 7, 9] in GAP's one-based indexing. Add identity and convert to zero-based. Build HX=[L(a)|R(b)], HZ=[R(b)^T|L(a)^T] with left/right regular representations. Verify CSS; k = 40 - rank(HX) - rank(HZ) = 16. Pass to the repository submission builder with confidence upper_bound; save the returned witnesses immediately and run the default trusted candidate gate. Do not replace the returned distance with the paper's number.

Parity checks

X-checks 20 (max weight 8) · Z-checks 20 (max weight 8)
H_X (20 checks, sparse supports)
[0, 5, 14, 19, 20, 25, 30, 37] [0, 1, 14, 16, 20, 21, 30, 32] [0, 2, 5, 9, 22, 29, 34, 39] [1, 3, 16, 18, 21, 23, 32, 35] [0, 1, 2, 4, 22, 24, 34, 36] [3, 5, 18, 19, 23, 25, 35, 37] [2, 6, 9, 13, 20, 25, 26, 33] [1, 3, 4, 7, 24, 27, 36, 38] [2, 4, 6, 8, 20, 21, 26, 28] [3, 5, 7, 9, 27, 29, 38, 39] [6, 10, 13, 17, 22, 29, 30, 37] [4, 7, 8, 11, 21, 23, 28, 31] [6, 8, 10, 12, 22, 24, 30, 32] [7, 9, 11, 13, 23, 25, 31, 33] [10, 14, 17, 19, 26, 33, 34, 39] [8, 11, 12, 15, 24, 27, 32, 35] [10, 12, 14, 16, 26, 28, 34, 36] [11, 13, 15, 17, 27, 29, 35, 37] [12, 15, 16, 18, 28, 31, 36, 38] [15, 17, 18, 19, 31, 33, 38, 39]
H_Z (20 checks, sparse supports)
[0, 1, 6, 8, 20, 21, 22, 24] [1, 3, 8, 11, 21, 23, 24, 27] [2, 4, 10, 12, 22, 24, 26, 28] [3, 5, 11, 13, 23, 25, 27, 29] [4, 7, 12, 15, 24, 27, 28, 31] [0, 5, 6, 13, 20, 22, 25, 29] [6, 8, 14, 16, 26, 28, 30, 32] [7, 9, 15, 17, 27, 29, 31, 33] [8, 11, 16, 18, 28, 31, 32, 35] [2, 9, 10, 17, 22, 26, 29, 33] [0, 1, 10, 12, 30, 32, 34, 36] [11, 13, 18, 19, 31, 33, 35, 37] [1, 3, 12, 15, 32, 35, 36, 38] [6, 13, 14, 19, 26, 30, 33, 37] [2, 4, 14, 16, 20, 21, 34, 36] [3, 5, 15, 17, 35, 37, 38, 39] [4, 7, 16, 18, 21, 23, 36, 38] [0, 5, 10, 17, 30, 34, 37, 39] [7, 9, 18, 19, 23, 25, 38, 39] [2, 9, 14, 19, 20, 25, 34, 39]
Code ID 40-16-3 · download JSON · raw on GitHub