Rem_20: Cohen Scheme as Gauging #
Statement #
The Cohen et al. scheme for logical measurement can be recovered as a hypergraph gauging measurement.
Cohen et al. scheme setup: Consider the restriction of the Z-type checks to the support of an irreducible X logical L. This defines a hypergraph of Z constraints with the only nontrivial element in the kernel being the logical operator L.
Recovery via gauging:
- Add d layers of dummy vertices for each qubit in supp(L)
- Connect the d copies of each vertex via a line graph (chain)
- Join the vertices in each layer via a copy of the same underlying hypergraph
Applying the generalized hypergraph gauging procedure to this construction exactly reproduces the Cohen et al. measurement scheme.
Cross et al. modification: The scheme from Cross et al. can similarly be recovered by using fewer than d layers of dummy vertices.
Product measurement: The procedures for joining ancilla systems designed for irreducible logicals to measure their products can be captured as a gauging measurement by adding edges between the graphs corresponding to the individual ancilla systems.
Main Results #
CohenHypergraph: The Z-constraint hypergraph from the Cohen schemecohen_kernel_characterization: The kernel has {0, L} as only elementsLayeredCohenConstruction: The d-layer construction with chains and hypergraph copieslayered_vertex_count: Total vertices = W * (d + 1)layered_hyperedge_count: Total hyperedges = W * d + |H| * (d + 1)layered_kernel_is_logical: The all-ones vector on the base layer is in the kernelcross_et_al_fewer_layers: Cross et al. uses m < d layersProductMeasurementGraph: Graph for product measurement via bridge edgesproduct_measurement_kernel_contains_product: Product of logicals is in the kernel
Cohen et al. Scheme Setup #
The Cohen scheme restricts Z-type checks to supp(L), forming a hypergraph whose kernel characterizes the X-type operators commuting with these checks. The key property is that the only nontrivial element in the kernel is L itself.
The Cohen hypergraph: Z-type checks restricted to supp(L). Vertices are the W qubits in supp(L), and hyperedges are the restricted Z-type checks.
Equations
- QEC1.CohenSchemeAsGauging.CohenHypergraph W numChecks = QEC1.HypergraphGeneralization.Hypergraph (Fin W) (Fin numChecks)
Instances For
The all-ones vector on Fin W represents the logical operator L = ∏_{v ∈ supp(L)} X_v.
Equations
Instances For
The logical vector is nonzero when W ≥ 1.
Property that the kernel of the Cohen hypergraph is exactly {0, L}. This is the defining property of the Cohen scheme: the restriction of Z-type checks to supp(L) has kernel spanned by L (the logical operator is irreducible).
Equations
- One or more equations did not get rendered due to their size.
Instances For
When the Cohen kernel property holds, L is in the kernel.
When the Cohen kernel property holds, the kernel has exactly {0, L}.
Both 0 and L are in the kernel.
Layered Construction for Recovery via Gauging #
The construction to recover the Cohen scheme via gauging:
- Start with W qubits (vertices of supp(L))
- Add d layers of dummy vertices (W vertices per layer)
- Connect d copies of each vertex via a line graph (chain of length d)
- Join vertices in each layer via copies of the same underlying hypergraph
Total vertices: W * (d + 1) (original layer + d dummy layers) Total hyperedges: W * d (chain edges) + numChecks * (d + 1) (hypergraph copies per layer)
Vertex type for the layered construction: (layer, qubit_index). Layer 0 is the original (base) layer, layers 1..d are dummy layers.
Instances For
The total number of vertices in the layered construction.
The base layer vertices (layer 0) correspond to the original qubits in supp(L).
Equations
- QEC1.CohenSchemeAsGauging.baseLayerVertices W d = {v : QEC1.CohenSchemeAsGauging.LayeredVertex W d | v.1 = ⟨0, ⋯⟩}
Instances For
The dummy layer vertices (layers 1..d).
Equations
- QEC1.CohenSchemeAsGauging.dummyLayerVertices W d = {v : QEC1.CohenSchemeAsGauging.LayeredVertex W d | v.1 ≠ ⟨0, ⋯⟩}
Instances For
The base layer has exactly W vertices.
The dummy layers have exactly d * W vertices.
Edge Types in the Layered Construction #
Two types of edges/hyperedges:
- Chain edges: connecting (layer, i) to (layer+1, i) for each qubit i and layer 0..d-1
- Hypergraph copies: a copy of the original Z-constraint hypergraph in each layer
Combined edge/hyperedge type for the layered construction.
- chain
{W d numChecks : ℕ}
: Fin d → Fin W → LayeredHyperedge W d numChecks
Chain edge connecting (l, i) to (l+1, i)
- hypergraphCopy
{W d numChecks : ℕ}
: Fin (d + 1) → Fin numChecks → LayeredHyperedge W d numChecks
Copy of a hypergraph check in a given layer
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
The number of chain edges is d * W.
The number of hypergraph copy edges is (d + 1) * numChecks.
Layered Hypergraph Construction #
Build the layered hypergraph from the original Cohen hypergraph.
Construct the layered hypergraph from the original Cohen hypergraph.
- Chain edges connect (l, i) to (l+1, i) (2-element hyperedges)
- Hypergraph copies replicate the original Z-constraint hypergraph in each layer
Equations
- One or more equations did not get rendered due to their size.
Instances For
Each chain edge is a 2-element hyperedge (graph-like).
Hypergraph copy edges have the same cardinality as the original.
Kernel Properties of the Layered Construction #
The all-ones vector on all layers represents the product of L across layers. The layered construction preserves the property that this vector is in the kernel.
The all-ones vector on the base layer, zeros elsewhere.
Instances For
The all-ones vector on all layers represents the full product.
Equations
Instances For
The all-layers logical vector is in the kernel if L is in the kernel of each copy.
Chain Structure: Line Graph Connectivity #
The d copies of each vertex are connected via a chain (line graph). This provides a path of length d from the base layer to the top layer.
Cross et al. Modification #
The Cross et al. scheme uses m < d layers of dummy vertices instead of d. This is captured by instantiating the layered construction with a smaller parameter.
The Cross et al. layered construction with m < d layers.
Equations
- QEC1.CohenSchemeAsGauging.CrossEtAlConstruction W d numChecks HG m _hm = QEC1.CohenSchemeAsGauging.LayeredCohenConstruction W m numChecks HG
Instances For
The Cross et al. construction preserves the kernel property.
Product Measurement via Bridge Edges #
To measure products of irreducible logicals, join the ancilla systems for individual logicals by adding edges between their corresponding graphs.
Vertex type for the combined product measurement graph.
Equations
- QEC1.CohenSchemeAsGauging.ProductVertex W₁ W₂ = (Fin W₁ ⊕ Fin W₂)
Instances For
The total vertex count of the product measurement graph.
Bridge edges connect specific vertices between the two ancilla systems.
The set of bridge connections: pairs (v₁, v₂) to connect
At least one bridge edge exists
Instances For
Hyperedge type for the product measurement construction.
- left
{W₁ W₂ nc₁ nc₂ : ℕ}
: Fin nc₁ → ProductHyperedge W₁ W₂ nc₁ nc₂
A check from the first ancilla system
- right
{W₁ W₂ nc₁ nc₂ : ℕ}
: Fin nc₂ → ProductHyperedge W₁ W₂ nc₁ nc₂
A check from the second ancilla system
- bridge
{W₁ W₂ nc₁ nc₂ : ℕ}
: Fin W₁ → Fin W₂ → ProductHyperedge W₁ W₂ nc₁ nc₂
A bridge edge between the two systems
Instances For
Equations
- One or more equations did not get rendered due to their size.
- QEC1.CohenSchemeAsGauging.instDecidableEqProductHyperedge.decEq (QEC1.CohenSchemeAsGauging.ProductHyperedge.left a) (QEC1.CohenSchemeAsGauging.ProductHyperedge.right a_1) = isFalse ⋯
- QEC1.CohenSchemeAsGauging.instDecidableEqProductHyperedge.decEq (QEC1.CohenSchemeAsGauging.ProductHyperedge.left a) (QEC1.CohenSchemeAsGauging.ProductHyperedge.bridge a_1 a_2) = isFalse ⋯
- QEC1.CohenSchemeAsGauging.instDecidableEqProductHyperedge.decEq (QEC1.CohenSchemeAsGauging.ProductHyperedge.right a) (QEC1.CohenSchemeAsGauging.ProductHyperedge.left a_1) = isFalse ⋯
- QEC1.CohenSchemeAsGauging.instDecidableEqProductHyperedge.decEq (QEC1.CohenSchemeAsGauging.ProductHyperedge.right a) (QEC1.CohenSchemeAsGauging.ProductHyperedge.bridge a_1 a_2) = isFalse ⋯
- QEC1.CohenSchemeAsGauging.instDecidableEqProductHyperedge.decEq (QEC1.CohenSchemeAsGauging.ProductHyperedge.bridge a a_1) (QEC1.CohenSchemeAsGauging.ProductHyperedge.left a_2) = isFalse ⋯
- QEC1.CohenSchemeAsGauging.instDecidableEqProductHyperedge.decEq (QEC1.CohenSchemeAsGauging.ProductHyperedge.bridge a a_1) (QEC1.CohenSchemeAsGauging.ProductHyperedge.right a_2) = isFalse ⋯
Instances For
Equations
- One or more equations did not get rendered due to their size.
The product measurement hypergraph combining two ancilla systems with bridge edges.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Bridge edges are 2-element hyperedges (graph-like).
Left check edges have the same cardinality as in the original system.
Right check edges have the same cardinality as in the original system.
The product logical vector: all-ones on both systems.
Equations
Instances For
The product of logicals is in the kernel when both individual logicals are, and all bridge edges have even-cardinality incidence (they are 2-element).
Recovery Correspondence #
The full Cohen et al. scheme is recovered by applying the generalized hypergraph gauging procedure (Rem_15) to the layered construction:
Gauss's law operators: For each vertex (l, i), the operator A_{(l,i)} = X_{(l,i)} ∏_{e ∋ (l,i)} X_e This includes contributions from chain edges and hypergraph copy edges.
Product = L: The product of all A_v operators on the base layer yields L, while dummy layers contribute +1 (as per Rem_2 dummy vertex property).
Flux operators: The cycles in the construction give rise to flux operators B_p that stabilize the edge qubits.
The generalized Gauss's law vertex support sum equals all-ones (instantiation of the hypergraph Gauss's law property).
The layered construction is k-local when the original Cohen hypergraph is k-local (chain edges have size 2, so the locality bound is max(2, k)).
Summary #
The Cohen et al. scheme for logical measurement is recovered as a hypergraph gauging measurement through the following correspondence:
Cohen setup: The Z-type checks restricted to supp(L) define a hypergraph whose kernel is {0, L} (the logical is irreducible).
Layered construction: d layers of dummy vertices + chain connections + hypergraph copies per layer give the full gauging hypergraph.
Kernel preservation: The all-ones vector (representing L) remains in the kernel of the layered construction, ensuring the gauging measurement recovers L.
Cross et al.: Using m < d layers gives a more efficient variant.
Product measurement: Adding bridge edges between individual ancilla systems allows measuring products of irreducible logicals via a single gauging measurement.