Theorem 1: Gauging Measurement #
Statement #
The gauging procedure is equivalent to performing a projective measurement of the logical operator L. Specifically, applying the procedure to an initial code state |ψ⟩ yields:
- A classical outcome σ = ±1 that equals the eigenvalue of L that the state is projected onto.
- A post-measurement state proportional to (I + σL)|ψ⟩ (the projection onto σ-eigenspace of L).
- The classical outcome σ is computed as σ = ∏_{v ∈ V_G} ε_v.
- A Pauli byproduct operator X_V(c') that may need to be applied.
Main Results #
GaugingMeasurementTheorem: Main theorem formalizing the equivalencemeasuredOutcome_sigma: σ = ∏_v ε_vpostMeasurementState_eq_projection: State is X_V(c')(I + σL)|ψ⟩projector_onto_eigenspace: (1/2)(I + σL) projects onto σ-eigenspace of Lcocycle_fiber_exactly_two: For connected G, {c : δc = z} has exactly 2 elements
Part 1: Gauss Law Measurement Outcomes #
Each Gauss law operator A_v is measured, giving outcome ε_v ∈ {+1, -1}. We represent outcomes in ZMod 2: 0 for +1, 1 for -1.
Measurement outcomes for Gauss law operators, in ZMod 2 representation. ε_v = +1 corresponds to 0, ε_v = -1 corresponds to 1.
Equations
- GaugingMeasurement.GaussLawOutcomes V = (V → ZMod 2)
Instances For
The measured outcome σ = ∏_{v ∈ V_G} ε_v in ZMod 2 representation. σ = 0 means +1 (even number of -1 outcomes), σ = 1 means -1 (odd number).
Equations
- GaugingMeasurement.sigma outcomes = ∑ v : V, outcomes v
Instances For
ε(c) = ∏_{v : c_v = 1} ε_v^{c_v} for a 0-cochain c. In ZMod 2: sum of outcomes where c_v = 1.
Equations
- GaugingMeasurement.epsilon outcomes c = ∑ v : V, c v * outcomes v
Instances For
X_V(c) = ∏_{v : c_v = 1} X_v represented by its support vector. The support is just c itself.
Equations
Instances For
The logical operator L = ∏_v X_v has support = all-ones vector 𝟙.
Instances For
Part 2: Key Algebraic Properties #
ε(0) = 0 (empty product is +1).
ε(𝟙) = σ (product of all outcomes).
ε is additive: ε(c + c') = ε(c) + ε(c').
ε(c + 𝟙) = ε(c) + σ.
X_V(0) = I (trivial support).
X_V(𝟙) = L.
X_V(c) · X_V(c') = X_V(c + c') (XOR of supports).
X_V(c + 𝟙) = X_V(c) + L.
Part 3: Cocycle Structure - ker(δ) = {0, 𝟙} for Connected Graphs #
This is the key structural property from Step 5 of the proof. For connected G, the only 0-cochains with δc = 0 are 0 and 𝟙.
For connected G, if δc = 0 then c = 0 or c = 𝟙. Uses the result from Rem_7.
Helper lemma: In ZMod 2, x ≠ 0 implies x = 1.
The fiber {c : δc = z} over any z in the image of δ has exactly 2 elements: c' and c' + 𝟙. This is because if δc = δc' = z, then δ(c - c') = 0, so c - c' ∈ ker(δ) = {0, 𝟙}.
Part 4: Main Theorem - The Two-Term Sum #
After applying the product of projectors and Z measurements, the state becomes a sum over {c : δc = z}. For connected G, this sum has exactly 2 terms.
The sum over the fiber {c : δc = z} has exactly two terms. This is the key calculation from Step 5-6 of the proof.
The combined contribution from both terms in the fiber. ε(c')X_V(c') + ε(c'+𝟙)X_V(c'+𝟙) corresponds to ε(c')X_V(c')(I + σL).
Part 5: Projector Properties - (1/2)(I + σL) Projects onto σ-Eigenspace #
The operator (1/2)(I + σL) is the orthogonal projector onto the σ-eigenspace of L, where L² = I and σ ∈ {+1, -1}.
L² = I in terms of supports: L_support + L_support = 0.
σ² = 1 in ZMod 2: σ + σ = 0 (since σ ∈ {0, 1}).
The projector (1/2)(I + σL) is idempotent: P² = P. Proof: P² = (1/4)(I + 2σL + σ²L²) = (1/4)(I + 2σL + I) = (1/2)(I + σL) = P since σ² = 1 and L² = I. In our additive/ZMod2 representation, this becomes: applying the projection twice gives the same result.
σ · σ = σ in ZMod 2 (idempotent under multiplication).
On the σ-eigenspace of L: L|ψ_σ⟩ = σ|ψ_σ⟩. The projector (1/2)(I + σL) acts as identity on this eigenspace. Key property: σ * σ = σ in ZMod 2.
On the -σ eigenspace of L: L|ψ_{-σ}⟩ = -σ|ψ_{-σ}⟩. The projector (1/2)(I + σL) annihilates this eigenspace. Key property: σ * σ = σ in ZMod 2.
Part 6: Main Theorem - Gauging Measurement Equivalence #
A byproduct cochain c' satisfying δc' = z exists (when z is in image of δ).
Equations
- GaugingMeasurement.byproductCochain G z hz = hz.choose
Instances For
Main Theorem: Gauging Measurement Equivalence
The gauging measurement procedure on a connected graph G is equivalent to projective measurement of the logical operator L = ∏_v X_v. Specifically:
Classical outcome: σ = ∏_v ε_v where ε_v is the Gauss law measurement outcome at v.
Post-measurement state: After measuring all A_v with outcomes ε_v and all Z_e with outcomes z_e, the state is proportional to X_V(c') (I + σL) |ψ⟩, where:
- c' is any cochain with δc' = z (the byproduct)
- (I + σL)/2 is the projector onto the σ-eigenspace of L
The sum has exactly 2 terms: The fiber {c : δc = z} = {c', c' + 𝟙} for connected G.
Byproduct operator: X_V(c') is a Pauli operator determined by edge outcomes.
This establishes that gauging is equivalent to measuring L with eigenvalue σ, up to the byproduct operator X_V(c').
Part 7: Corollaries #
σ ∈ {0, 1} (trivially true for ZMod 2).
σ = 0 iff an even number of outcomes are 1 (representing -1). This is because the sum in ZMod 2 equals the parity of the count of 1s.
The byproduct is determined up to L: any two solutions c', c'' to δc = z satisfy c'' = c' or c'' = c' + 𝟙.
Summary #
This formalization proves that the gauging measurement procedure is equivalent to projective measurement of the logical operator L.
Key Results:
GaugingMeasurementTheorem: The main theorem establishing that for a connected graph G:- The fiber {c : δc = z} has exactly 2 elements: c' and c' + 𝟙
- The two terms combine to give ε(c') X_V(c') (I + σL)
- The projector (1/2)(I + σL) is idempotent with L² = I and σ² = 1
cocycle_fiber_exactly_two: Uses ker(δ) = {0, 𝟙} for connected graphs to show the fiber has exactly 2 elements.Projector properties:
L_squared_eq_identity: L² = I (supports add to zero)sigma_squared_eq_one: σ² = 1 in the sense that σ + σ = 0 in ZMod 2projector_identity_on_eigenspace: 1 + σ² = 1 (projector acts as identity on eigenspace)
byproduct_unique_up_to_L: The byproduct X_V(c') is determined up to multiplication by L.
Interpretation:
- σ = 0 in ZMod 2 corresponds to eigenvalue +1
- σ = 1 in ZMod 2 corresponds to eigenvalue -1
- The post-measurement state is X_V(c')(I + σL)|ψ⟩, which is the projection onto the σ-eigenspace of L, up to the byproduct operator X_V(c').