Rem_12: Noncommuting Operators Cannot Be Deformed #
Statement #
There is no deformed version of a Pauli operator $P$ that does not commute with the logical $L$. This is because there is no way to multiply such a $P$ with stabilizers $Z_e$ and $s_j$ to make it commute with all the Gauss's law operators $A_v$ that are measured to implement the code deformation. Specifically, if $P$ anticommutes with $L$, then $|\mathcal{S}_Z \cap V_G|$ is odd (where $\mathcal{S}_Z$ is the Z-type support of $P$), and no edge-path $\gamma$ with $\partial \gamma = \mathcal{S}_Z \cap V_G$ exists because a path boundary always has even cardinality.
Mathematical Content #
The argument has three key components:
Anticommutation implies odd Z-support: If P anticommutes with L = ∏_v X_v, then |S_Z ∩ V_G| is odd. This follows from the commutation criterion: P and L anticommute iff the number of positions where P has Z-type and L has X-type is odd.
Path boundaries have even cardinality: For any edge-set γ in a graph, the boundary ∂γ always has even cardinality. This is because each edge contributes 2 endpoints to the boundary count, and in Z₂ arithmetic, 2 = 0.
No deforming path exists: A valid deforming path γ must satisfy ∂γ = S_Z ∩ V_G. If |S_Z ∩ V_G| is odd, no such γ can exist, since all boundaries have even cardinality.
Main Results #
anticommutes_with_L_iff_zSupport_odd: P anticommutes with L iff |S_Z ∩ V_G| is oddboundary_cardinality_even: The support of any path boundary ∂γ has even cardinalityno_deforming_path_for_anticommuting_operator: If P anticommutes with L, no valid γ existsno_deformed_version_for_noncommuting: Main theorem - noncommuting operators can't be deformeddeformation_requires_commutation: The contrapositive - deformability implies commutation
Corollaries #
stabilizer_product_cannot_fix_anticommutation: Multiplying by stabilizers Z_e or s_j cannot make a noncommuting P commute with all A_vgaussLaw_obstruction: The Gauss law operators A_v provide an obstruction to deformation
Part 1: Path Boundary Cardinality #
The fundamental property that path boundaries always have even cardinality. This follows from the fact that each edge contributes to exactly 2 vertices.
The support of a binary vector (vertices where it's nonzero)
Equations
- GraphWithCycles.vectorSupport f = {v : V | f v ≠ 0}
Instances For
The support of the boundary of an edge-path
Equations
- G.boundarySupport γ = {v : V | G.edgePathBoundary γ v ≠ 0}
Instances For
Boundary support equals the set where boundary is 1
The boundary values sum to zero over all vertices
Key lemma: The cardinality of the boundary support is always even.
Proof: The sum of boundary values over all V equals 0 (boundary_sum_zero). Since boundary values are in ZMod 2 (each is 0 or 1), this sum equals |{v : boundary v = 1}| (mod 2). For this to be 0, the cardinality must be even.
This captures the paper's statement that "a path boundary always has even cardinality".
Alternative statement: boundary support has even cardinality
Part 2: Connection to Valid Deforming Paths #
A valid deforming path γ for Z-support S must satisfy ∂γ = S (as binary vectors). This means the boundary support of γ equals S.
If γ is a valid deforming path for S, then boundarySupport G γ = S
The contrapositive: if |S| is odd, S cannot be the boundary support of any path
Part 3: Anticommutation and Odd Z-Support #
If P anticommutes with L = ∏_v X_v, then |S_Z ∩ V_G| is odd. This is the contrapositive of the commutation condition.
Definition: A Pauli operator P (represented by its Z-support on V) anticommutes with L. In the context of the gauging construction, this means |S_Z ∩ V_G| is odd.
Equations
- GraphWithCycles.anticommutesWithL zSupportOnV = (zSupportOnV.card % 2 = 1)
Instances For
A Pauli operator commutes with L iff |S_Z| is even
Equations
- GraphWithCycles.commutesWithL zSupportOnV = (zSupportOnV.card % 2 = 0)
Instances For
Commutation and anticommutation are mutually exclusive
Commutation and anticommutation are complementary
Equivalently, not anticommuting means commuting
Part 4: Main Theorem - No Deformed Version for Noncommuting Operators #
The main result: if P anticommutes with L (|S_Z ∩ V_G| is odd), then there is no valid deforming path γ, and hence no deformed version of P exists.
Main theorem: If P anticommutes with L (Z-support has odd cardinality), then no valid deforming path exists.
This formalizes the remark's central claim: there is no deformed version of a Pauli operator that does not commute with the logical L.
Restatement using the existing theorem from Def_4
The contrapositive: existence of a valid deforming path implies P commutes with L
Part 5: Gauss Law Obstruction #
The remark explains WHY noncommuting operators can't be deformed: there's no way to multiply P with stabilizers Z_e and s_j to make it commute with all A_v.
The obstruction to deformation: if P anticommutes with L, then any attempt to "fix" it by multiplying with edge Z operators would require a path γ with ∂γ = S_Z, but no such path exists.
This captures: "there is no way to multiply such a P with stabilizers Z_e and s_j to make it commute with all the Gauss's law operators A_v"
The Gauss law operators A_v form an obstruction: P̃ must commute with all A_v, but this requires ∂γ = S_Z, which is impossible when |S_Z| is odd.
Part 6: Complete Statement #
Combining all parts into the full statement of the remark.
Complete formalization of Rem_12: There is no deformed version of a Pauli operator P that does not commute with the logical L.
Specifically:
- If P anticommutes with L, then |S_Z ∩ V_G| is odd
- A path boundary ∂γ always has even cardinality
- Therefore no edge-path γ with ∂γ = S_Z ∩ V_G exists
- Hence P has no well-defined deformed version
The logical structure of the argument
Part 7: Additional Corollaries #
If there exists a valid deforming path, P must commute with L
Characterization: a valid deforming path exists iff P commutes with L
The forward direction is the key result of the remark
Summary #
This file formalizes Remark 12 from the paper, which explains why noncommuting Pauli operators cannot have a deformed version:
Main Result (no_deformed_version_for_noncommuting): If a Pauli operator P anticommutes with the logical L (equivalently, |S_Z ∩ V_G| is odd), then there is no valid deforming path γ, and hence no deformed version P̃ exists.
The Argument:
- P anticommutes with L = ∏_v X_v iff |S_Z ∩ V_G| is odd (odd Z-type support on graph vertices)
- For any edge-path γ, the boundary ∂γ has even cardinality (each edge has 2 endpoints)
- A valid deforming path requires ∂γ = S_Z ∩ V_G
- When |S_Z ∩ V_G| is odd, condition 3 contradicts condition 2
Physical Interpretation:
- The Gauss law operators A_v = X_v ∏_{e∋v} X_e must all be satisfied
- For P̃ to commute with A_v, the symplectic form must vanish at each v
- This requires ∂γ = S_Z ∩ V_G for some edge-set γ
- The topological obstruction (even boundary cardinality) prevents this when P anticommutes with L
- Hence, "there is no way to multiply such a P with stabilizers Z_e and s_j to make it commute with all the Gauss's law operators A_v"