← back to the board
[[40,4,8]] d =
n
40
k
4
d
8
kd²/n
6.4
w
8
X/Z
1
g
0.0198
r
4.2426
layers
2
swaps
101

Share this result

Distance

X/Z asymmetry 1 · d_X = 8, d_Z = 8 · 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 8 · witness weight 8 (claimed upper_bound)
witness operator (support, 8 qubits)
[0, 1, 8, 9, 12, 15, 25, 29]
d_Z 8 · witness weight 8 (claimed upper_bound)
witness operator (support, 8 qubits)
[2, 7, 13, 29, 30, 34, 37, 39]
certificate exact, d = 8 · scipy/HiGHS MILP
X: no logical < 8 exists; Z: no logical < 8 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 2–6 (mean 4.0) · H_Z 2–6 (mean 4.0)
trapping sets H_X (1,2)×20 (2,2)×20 (3,2)×20 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,2): 20 (1,6): 20 (2,2): 20 (2,4): 20 (2,6): 220 (2,8): 80 (2,10): 80 (3,2): 20 (3,4): 240 (3,6): 1360 (3,8): 1760 (3,10): 1540 (3,12): 300 (3,14): 100
trapping sets H_Z (1,2)×20 (2,2)×20 (3,2)×20 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,2): 20 (1,6): 20 (2,2): 20 (2,4): 20 (2,6): 220 (2,8): 80 (2,10): 80 (3,2): 20 (3,4): 240 (3,6): 1360 (3,8): 1760 (3,10): 1540 (3,12): 300 (3,14): 100
witness diameter X 3.1623 · Z 4.4721 (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.243
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 101 nearest-neighbor SWAPs per round in total, at most 6 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_wt8wtL2_order20_k4.txt, line 1. nonidentity supports a=[8], b=[2, 3, 7, 13, 16].
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,4,8]] — 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 = 6.40.

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_wt8wtL2_order20_k4.txt, line 1. This row is SmallGroup(20,2) with nonidentity GAP supports a=[8], b=[2, 3, 7, 13, 16]. 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=4), and no lighter logical was found in the refutation search. Distance is a witness-backed upper bound d ≤ 8, 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=[8], b=[2, 3, 7, 13, 16] 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) = 4. 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, 18, 20, 25, 30, 31, 33, 34] [1, 19, 20, 21, 26, 32, 33, 36] [2, 3, 20, 22, 29, 34, 35, 37] [3, 14, 21, 23, 26, 28, 35, 38] [4, 5, 21, 22, 24, 30, 36, 37] [5, 16, 23, 25, 28, 31, 37, 39] [6, 7, 20, 22, 26, 33, 38, 39] [0, 7, 23, 24, 27, 30, 32, 38] [8, 9, 21, 24, 26, 28, 34, 39] [1, 9, 25, 27, 29, 32, 35, 39] [10, 11, 22, 23, 25, 26, 30, 37] [2, 11, 23, 27, 28, 31, 34, 36] [12, 13, 20, 24, 25, 28, 30, 32] [4, 13, 25, 29, 31, 33, 36, 38] [14, 15, 26, 27, 29, 30, 34, 39] [6, 15, 20, 21, 27, 31, 32, 35] [16, 17, 22, 28, 29, 32, 34, 36] [8, 17, 21, 23, 29, 33, 35, 37] [10, 18, 22, 24, 31, 35, 36, 38] [12, 19, 24, 27, 33, 37, 38, 39]
H_Z (20 checks, sparse supports)
[0, 1, 2, 6, 12, 15, 20, 27] [1, 3, 4, 8, 15, 17, 21, 29] [2, 4, 6, 10, 16, 18, 22, 31] [3, 5, 7, 10, 11, 17, 22, 23] [4, 7, 8, 12, 18, 19, 24, 33] [0, 5, 9, 10, 12, 13, 24, 25] [1, 3, 6, 8, 10, 14, 26, 35] [7, 9, 11, 14, 15, 19, 26, 27] [3, 5, 8, 11, 12, 16, 28, 37] [2, 9, 13, 14, 16, 17, 28, 29] [0, 4, 7, 10, 12, 14, 30, 38] [0, 5, 11, 13, 15, 18, 30, 31] [1, 7, 9, 12, 15, 16, 32, 39] [0, 1, 6, 13, 17, 19, 32, 33] [0, 2, 8, 11, 14, 16, 23, 34] [2, 3, 9, 15, 17, 18, 34, 35] [1, 4, 11, 13, 16, 18, 25, 36] [2, 4, 5, 10, 17, 19, 36, 37] [3, 6, 7, 13, 18, 19, 20, 38] [5, 6, 8, 9, 14, 19, 21, 39]
Code ID 40-4-8 · download JSON · raw on GitHub