MerLean-example

43 Rem 21: Gross Code Gauging Measurement Construction

This chapter presents the explicit construction of the gauging graph \(G\) for measuring \(\bar{X}_\alpha = X(\alpha f, 0)\) in the Gross code, with degree bounds on the Tanner graph of the deformed code. The construction specifies the 12 vertices (support of \(f\)), 22 edges (18 matching + 4 expansion), and 7 independent cycles, yielding a total overhead of 41 additional checks and qubits.

Definition 1215 Gauging Vertices
✓

The gauging vertices are the support of \(f\): the set of monomials \(\gamma \in \mathbb {Z}_{12} \times \mathbb {Z}_6\) such that \(f(\gamma ) \neq 0\):

\[ V(G) = \{ \gamma \in \operatorname {GrossMonomial} \mid f(\gamma ) \neq 0\} . \]
Theorem 1216 Gauging Vertices Cardinality
✓

The gauging graph has exactly 12 vertices: \(|V(G)| = 12\).

Proof ▶

This is verified by computation (native_decide).

Definition 1217 Matching Difference Predicate
✓

A monomial difference \(d\) is a matching difference if \(d = -B_i + B_j\) for some distinct terms \(B_i, B_j\) of \(B = y^3 + x^2 + x\), where the terms of \(B\) are \((0,3)\), \((2,0)\), and \((1,0)\) in \(\mathbb {Z}_{12} \times \mathbb {Z}_6\), and \(d \neq 0\).

Definition 1218 Matching Edge Predicate
✓

Two monomials \(\gamma \) and \(\delta \) form a matching edge if both are in \(\operatorname {supp}(f)\) (i.e., \(f(\gamma ) \neq 0\) and \(f(\delta ) \neq 0\)) and their difference \(\gamma - \delta \) is a matching difference. This corresponds to \(\gamma \) and \(\delta \) sharing a \(Z\) check.

Definition 1219 Expansion Edges
✓

The 4 expansion edges ensuring the deformed code has distance 12, given as pairs of monomials:

\[ \{ ((2,0),(5,3)),\; ((2,0),(6,0)),\; ((5,3),(11,3)),\; ((7,3),(11,3))\} . \]
Definition 1220 Expansion Edge Predicate
✓

A pair \((\gamma , \delta )\) is an expansion edge if it appears (in either order) in the list of 4 expansion edges.

Definition 1221 Gauging Graph Adjacency
✓

The adjacency relation on the gauging graph: \(\gamma \) and \(\delta \) are adjacent if \(\gamma \neq \delta \) and either \((\gamma , \delta )\) is a matching edge or an expansion edge.

Definition 1222 Gauging Graph
✓

The gauging graph \(G\) for measuring \(\bar{X}_\alpha \) in the Gross code is the simple graph on \(\operatorname {GrossMonomial} = \mathbb {Z}_{12} \times \mathbb {Z}_6\) with adjacency given by \(\operatorname {gaugingAdj}\). The “active” vertices are \(\operatorname {supp}(f)\).

Theorem 1223 Edge Count
✓

The gauging graph has exactly 22 edges: \(|E(G)| = 22\).

Proof ▶

This is verified by computation (native_decide).

Definition 1224 Gauging Cycles List
✓

The 7 independent cycles for the flux checks, given as lists of vertices. Each list \([v_1, v_2, \ldots , v_k]\) represents the cycle \(v_1 \to v_2 \to \cdots \to v_k \to v_1\):

  1. \([(9,0),\, (7,3),\, (8,0)]\)

  2. \([(9,0),\, (11,3),\, (7,3)]\)

  3. \([(6,0),\, (7,0),\, (5,3)]\)

  4. \([(6,0),\, (2,0),\, (5,3)]\)

  5. \([(3,0),\, (2,0),\, (5,3)]\)

  6. \([(6,0),\, (7,0),\, (8,0),\, (7,3)]\)

  7. \([(1,0),\, (2,0),\, (5,3),\, (11,3)]\)

Theorem 1225 Cycle Count
✓

There are exactly 7 independent cycles: \(|\text{cycles}| = 7\).

Proof ▶

This holds by reflexivity (the list length is definitionally 7).

Every vertex appearing in any of the 7 cycles belongs to the gauging vertices \(V(G) = \operatorname {supp}(f)\).

Proof ▶

This is verified by computation (native_decide).

Theorem 1227 Cycles Have at Least 3 Vertices
✓

Each cycle has at least 3 vertices.

Proof ▶

This is verified by computation (native_decide).

For each cycle, consecutive vertices (including the wrap-around from the last vertex back to the first) are adjacent in the gauging graph.

Proof ▶

This is verified by computation (native_decide).

Theorem 1229 Cycles Are Short
✓

All cycles have length 3 or 4.

Proof ▶

This is verified by computation (native_decide).

Theorem 1230 Maximum Cycle Length
✓

Every cycle has length at most 4.

Proof ▶

Let \(\mathrm{cyc}\) be any cycle in the list and let \(h_{\mathrm{mem}}\) be the proof that it belongs to the list. By the theorem that all cycles have length 3 or 4 (gaugingCycles_short), we obtain \(|\mathrm{cyc}| = 3\) or \(|\mathrm{cyc}| = 4\). In either case, \(|\mathrm{cyc}| \leq 4\) follows by integer arithmetic.

Theorem 1231 Cycle Space Dimension
✓

By Euler’s formula, the cycle space dimension satisfies \(|E| + 1 = |V| + 11\), i.e., \(22 + 1 = 12 + 11\).

Proof ▶

Rewriting using \(|E(G)| = 22\) and \(|V(G)| = 12\), the equation \(22 + 1 = 12 + 11\) holds.

Theorem 1232 Additional Gauss Checks
✓

The number of additional Gauss’s law checks \(A_v\) (one per vertex of \(G\)) is 12.

Proof ▶

This follows directly from the vertex count \(|V(G)| = 12\).

Theorem 1233 Additional Flux Checks
✓

The number of additional flux checks \(B_p\) (one per independent cycle) is 7.

Proof ▶

This follows directly from the cycle count of 7.

Theorem 1234 Additional Qubits
✓

The number of additional edge qubits (one per edge of \(G\)) is 22.

Proof ▶

This follows directly from the edge count \(|E(G)| = 22\).

The total overhead is \(|V(G)| + |\text{cycles}| + |E(G)| = 12 + 7 + 22 = 41\) additional checks and qubits.

Proof ▶

Rewriting using \(|V(G)| = 12\), \(|\text{cycles}| = 7\), and \(|E(G)| = 22\), we obtain \(12 + 7 + 22 = 41\).

Theorem 1236 Expansion Edges Valid
✓

All 4 expansion edges are edges of the gauging graph: for every pair \((a,b) \in \text{expansionEdges}\), \(a\) and \(b\) are adjacent in \(G\).

Proof ▶

This is verified by computation (native_decide).

Theorem 1237 Expansion Edge Endpoints in Support
✓

All expansion edge endpoints belong to \(\operatorname {supp}(f)\): for every \((a,b) \in \text{expansionEdges}\), both \(a \in V(G)\) and \(b \in V(G)\).

Proof ▶

This is verified by computation (native_decide).

Theorem 1238 Degree Bound
✓

The maximum degree in the gauging graph isat most 6: for every vertex \(v\), \(\deg (v) \leq 6\).

Proof ▶

This is verified by computation (native_decide).

Theorem 1239 Matching Edges Count
✓

The number of matching edges (non-expansion edges) is 18.

Proof ▶

This is verified by computation (native_decide).

Theorem 1240 Expansion Edges Count
✓

The number of expansion edges is 4.

Proof ▶

This is verified by computation (native_decide).

Theorem 1241 Adjacent Z Checks Count
✓

The number of \(Z\) checks adjacent to the support of \(\bar{X}_\alpha \) is 18: the number of monomials \(\beta \) such that there exists at least one \(\gamma \in V(G)\) with \(B(\beta - \gamma ) \neq 0\) is 18.

Proof ▶

This is verified by computation (native_decide).

The gauging construction for \(\bar{X}_\alpha \) in the Gross code satisfies:

  1. \(|V(G)| = 12\),

  2. \(|E(G)| = 22\),

  3. There are 7 independent cycles,

  4. Total overhead: \(12 + 7 + 22 = 41\),

  5. Maximum degree \(\leq 6\),

  6. Maximum cycle length \(\leq 4\).

Proof ▶

This follows directly by combining the previously established results: gaugingVertices_card, gaugingEdges_card, gaugingCycles_count, total_overhead, gaugingDegree_le_six, and gaugingCycles_max_length.