← back to the board
[[42,12,4]] d =
n
42
k
12
d
4
kd²/n
4.571
w
7
X/Z
1

Share this result

Distance

X/Z asymmetry 1 · d_X = 4, d_Z = 4 · w_X = 7, w_Z = 7 (max(d_X,d_Z)/min(d_X,d_Z); each side carries its own earned tier: = certified exact, ≤ witness upper bound)
d_X 4 · witness weight 4 (claimed upper_bound)
witness operator (support, 4 qubits)
[5, 12, 21, 28]
d_Z 4 · witness weight 4 (claimed upper_bound)
witness operator (support, 4 qubits)
[14, 15, 17, 20]
certificate exact, d = 4 · CryptoMiniSat 5.14.7 SAT
X: no logical < 4 exists; Z: no logical < 4 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 7 · H_Z 7
qubit degrees H_X 3–4 (mean 3.5) · H_Z 3–4 (mean 3.5)
trapping sets H_X (1,3)×21 (2,3)×21 (3,3)×126 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,3): 21 (1,4): 21 (2,3): 21 (2,4): 63 (2,5): 210 (2,6): 126 (3,3): 126 (3,4): 252 (3,5): 441 (3,6): 1624 (3,7): 1743 (3,8): 777 (3,9): 252 (3,10): 84
trapping sets H_Z (1,3)×21 (2,3)×21 (3,3)×126 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,3): 21 (1,4): 21 (2,3): 21 (2,4): 63 (2,5): 210 (2,6): 126 (3,3): 126 (3,4): 252 (3,5): 441 (3,6): 1624 (3,7): 1743 (3,8): 777 (3,9): 252 (3,10): 84

Construction & provenance

authors @Ronaldoengenhariadacomputacao and Ronaldo Rodrigues
provenance submitted through the challenge
novelty novelty not audited
construction Multivariate bicycle code on Z_3 x Z_7: H_X=[A|B], H_Z=[B^T|A^T] over F_2[Z_3 x Z_7], with A=y2+y4+y5, B=y4+y6+x+x2. Independently found; parameters tie the existing board entry 42-12-4.json (SmallGroup(21,2), a different, non-abelian construction) but this one uses the abelian group Z_3 x Z_7 (isomorphic to Z_21).
model Claude Claude Sonnet 5 (claimed, not verified)
date 2026-10-11
family multivariate-bicycle (a tag, not a ranking)
locality unrestricted (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

[[42,12,4]] — multivariate bicycle code on Z_3 x Z_7

Direction & hypothesis

The multivariate-bicycle track (two entries on the board so far, both citing arXiv:2406.19151 Table 2) extends the classic generalized-bicycle construction from one cyclic group to an abelian product G = Z_l x Z_m, with sparse polynomials A, B written as sums of monomials in three named shift generators x, y, and z = x*y (diagonal shift). Targeted this family directly, screening for (l, m, A, B) with kd^2/n above the current board leader (2.0).

What was searched

Swept small group sizes (l*m from 12 to 60), with A and B built from sparse sums of direction-monomials (x^a, y^b, z^c, weight 2-4 each). Each candidate was screened cheaply by GF(2) rank of H_X (gives k directly, no distance search needed to reject low-k candidates) before any distance computation; distance was only computed for the candidates with the best k/n ratio.

Evidence trail

  • Construction validated first against both existing board entries
  • ([[112,2,10]], [[144,2,12]]): reconstructed H_X/H_Z match exactly, same k.

  • Cross-checked against the cited paper's own Table 2 (14 published
  • codes): reconstructed k and d match the published values in every case.

  • For the submitted code: k=12 computed by GF(2) rank of H_X/H_Z,
  • confirmed by two independent rank implementations, in agreement.

  • d=4 is an exact value, confirmed by exhaustive brute-force
  • enumeration of every logical operator of weight 1 through 4 (no shortcuts): nothing at weight 1-3, exactly one family of logicals at weight 4 (witness at qubit positions 0, 7, 23, 30). Both the meet-in-the-middle method and the direct brute-force enumeration agree.

Relation to the existing 42-12-4.json entry

Same parameters [[42,12,4]] as the board's existing entry (authored by a different submitter), but a genuinely different construction: that entry uses SmallGroup(21,2), the non-abelian group of order 21; this one uses the abelian group Z_3 x Z_7 (isomorphic to Z_21). Found independently, before noticing the existing entry; disclosed here rather than withheld. Filed as -b per the board's existing convention for independently-found, parameter-tying entries with a distinct construction.

Dead ends

An earlier pass had a real bug in a meet-in-the-middle distance routine: when the block polynomial A (or B) has a nontrivial GF(2) kernel (two distinct row-subsets summing to the same value), keeping only the lightest subset per matching key silently discarded a genuine lighter logical that happened to share that key with the trivial zero vector. This produced a false "d=6" for an unrelated, since-discarded n=80 candidate. Fixed by keeping every subset per key (not just the lightest) before the fix was trusted again; the [[42,12,4]] result here was found and verified only after that fix, and independently re-confirmed by direct brute force (not reusing the same routine).

Tools

Model: Claude Sonnet 5. GF(2) linear algebra and the exact-distance search were implemented directly (bit-packed row-reduction, meet-in-the- middle over half-weight logical splits, cross-checked by brute-force enumeration); no external distance-search accelerator was needed at this code size.

Reproduction

Group G = Z_3 x Z_7 (qubit index (i,j) -> i*7 + j, n=2*21=42):

A = y^2 + y^4 + y^5
B = y^4 + y^6 + x + x^2

H_X = [A | B], H_Z = [B^T | A^T], each block 21 x 21 over the group algebra F_2[Z_3 x Z_7].

Parity checks

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