45 Rem 23: Generalizations Beyond Pauli
This remark establishes that the gauging measurement procedure generalizes beyond Pauli logical operators on qubits in three directions: (1) qudit systems where \(\mathbb {Z}_2\) is replaced by \(\mathbb {Z}_p\), (2) abelian group charges where local measurements determine global charge, and (3) nonabelian groups where local measurements leave the global charge ambiguous.
45.1 Qudit Generalization: Boundary Maps over \(\mathbb {Z}_p\)
The qudit boundary map \(\partial : \mathbb {Z}_p^E \to \mathbb {Z}_p^V\) generalizes the boundary map from \(\mathbb {Z}_2\) to \(\mathbb {Z}_p\). For \(\gamma \in \mathbb {Z}_p^E\), the value at vertex \(v\) is
This is a \(\mathbb {Z}_p\)-linear map, with linearity verified by distributing sums and scalar multiplication over the conditional summation.
The qudit coboundary map \(\delta : \mathbb {Z}_p^V \to \mathbb {Z}_p^E\) generalizes the coboundary map from \(\mathbb {Z}_2\) to \(\mathbb {Z}_p\). For \(f \in \mathbb {Z}_p^V\) and edge \(e = \{ a,b\} \), the value is
This is a \(\mathbb {Z}_p\)-linear map.
The qudit second boundary map \(\partial _2 : \mathbb {Z}_p^C \to \mathbb {Z}_p^E\) generalizes the second boundary map from \(\mathbb {Z}_2\) to \(\mathbb {Z}_p\). For \(\sigma \in \mathbb {Z}_p^C\), the value at edge \(e\) is
The qudit second coboundary map \(\delta _2 : \mathbb {Z}_p^E \to \mathbb {Z}_p^C\) generalizes the second coboundary map from \(\mathbb {Z}_2\) to \(\mathbb {Z}_p\). For \(\gamma \in \mathbb {Z}_p^E\), the value at cycle \(c\) is
45.2 Transpose Properties
The coboundary map \(\delta \) is the transpose of the boundary map \(\partial \) over \(\mathbb {Z}_p\): for all \(f \in \mathbb {Z}_p^V\) and \(\gamma \in \mathbb {Z}_p^E\),
Expanding the definitions, we rewrite each side using the defining sums. We then apply the commutativity of the double summation via Finset.sum_comm. For each edge \(e = \{ a, b\} \), we use the fact that the graph is loopless (so \(a \neq b\)) and decompose \((f(a) + f(b)) \cdot \gamma _e = f(a) \cdot \gamma _e + f(b) \cdot \gamma _e\). We then establish a key identity: for each vertex \(x\), \(f(x) \cdot (\text{if } x \in \{ a,b\} \text{ then } \gamma _e \text{ else } 0)\) equals \(f(a) \cdot \gamma _e\) when \(x = a\), \(f(b) \cdot \gamma _e\) when \(x = b\), and \(0\) otherwise. Rewriting with this identity and splitting the sum into two parts (one for \(a\) and one for \(b\)), we apply Finset.sum_add_distrib and simplify using Finset.sum_ite_eq’ to conclude.
The second coboundary map \(\delta _2\) is the transpose of the second boundary map \(\partial _2\) over \(\mathbb {Z}_p\): for all \(\gamma \in \mathbb {Z}_p^E\) and \(\sigma \in \mathbb {Z}_p^C\),
Expanding the definitions, we distribute multiplication over the inner sums on both sides. We then exchange the order of summation via Finset.sum_comm. The result follows by showing that the summands agree: when the membership condition holds, the terms are equal by ring arithmetic; when the condition fails, both sides are zero.
45.3 Chain Complex Property
The chain complex property \(\partial \circ \partial _2 = 0\) holds over \(\mathbb {Z}_p\), provided each cycle \(c\) satisfies the condition that for every vertex \(v\), \(p\) divides the number of edges in \(c\) incident to \(v\). Over \(\mathbb {Z}_2\), this is the standard cycle condition (even incidence). Over \(\mathbb {Z}_p\) for odd \(p\), this requires \(p \mid (\text{incidence count})\).
We apply linear map extensionality: let \(\sigma \) be arbitrary and show \((\partial \circ \partial _2)(\sigma ) = 0\) pointwise at each vertex \(v\). Expanding both definitions, we exchange the order of summation (swapping the sum over edges with the sum over cycles). After combining conditionals using the identity \((\text{if } P \text{ then } (\text{if } Q \text{ then } a \text{ else } 0) \text{ else } 0) = (\text{if } P \wedge Q \text{ then } a \text{ else } 0)\), we rewrite each inner sum as \(|\{ e : e \in \text{cycles}(c) \wedge v \in e\} | \cdot \sigma (c)\). By hypothesis, \(p\) divides this cardinality, so its cast to \(\mathbb {Z}_p\) is zero, giving \(0 \cdot \sigma (c) = 0\). The outer sum of zeros is zero.
Under the same cycle incidence hypothesis, \(\operatorname {im}(\partial _2) \subseteq \ker (\partial )\) over \(\mathbb {Z}_p\).
Let \(\gamma \in \operatorname {im}(\partial _2)\), so \(\gamma = \partial _2(\sigma )\) for some \(\sigma \). We need \(\partial (\gamma ) = 0\). By the chain complex property \(\partial \circ \partial _2 = 0\), we have \(\partial (\partial _2(\sigma )) = 0\), and substituting \(\gamma = \partial _2(\sigma )\) gives \(\partial (\gamma ) = 0\).
45.4 Specialization to \(\mathbb {Z}_2\)
The qudit boundary map at \(p = 2\) agrees with the standard \(\mathbb {Z}_2\) boundary map: for all \(\gamma \in \mathbb {Z}_2^E\) and \(v \in V\),
This holds by simplification, as both definitions compute the same conditional sum over incident edges.
The qudit coboundary map at \(p = 2\) agrees with the standard \(\mathbb {Z}_2\) coboundary map.
This holds by simplification of the definitions.
The qudit second boundary map at \(p = 2\) agrees with the standard \(\mathbb {Z}_2\) second boundary map.
This holds by simplification of the definitions.
The qudit second coboundary map at \(p = 2\) agrees with the standard \(\mathbb {Z}_2\) second coboundary map.
This holds by simplification of the definitions.
45.5 Abelian Group Charge Determination
For an abelian (additive commutative) monoid, the sum of local charges is independent of the ordering. For any charges \((q_1, \ldots , q_n)\) and any permutation \(\pi \) of \(\{ 1, \ldots , n\} \),
This is the core mathematical fact that makes abelian gauging work: measuring individual \(A_v\) operators in any order gives the same total charge.
This follows directly from Equiv.sum_comp, which states that summing a function over a permutation of the index set gives the same result.
45.6 Nonabelian Groups: Product Order Dependence
For nonabelian groups, the product of elements depends on the order of multiplication. If \(g_1 \cdot g_2 \neq g_2 \cdot g_1\), then the two orderings \([g_1, g_2]\) and \([g_2, g_1]\) give different products:
This is the fundamental obstruction to measuring nonabelian charges locally.
Simplifying List.prod on two-element lists, we have \(\prod [g_1, g_2] = g_1 \cdot g_2 \cdot 1 = g_1 \cdot g_2\) and similarly \(\prod [g_2, g_1] = g_2 \cdot g_1\). The conclusion follows directly from the hypothesis \(g_1 \cdot g_2 \neq g_2 \cdot g_1\).
45.7 Qudit Gauss’s Law Operators (Generalized)
The qudit hypergraph boundary map \(\partial : \mathbb {Z}_p^E \to \mathbb {Z}_p^V\) generalizes both the graph case and the hypergraph case from \(\mathbb {Z}_2\) to \(\mathbb {Z}_p\). For \(\gamma \in \mathbb {Z}_p^E\),
where \(v \sim e\) means \(v\) is incident to hyperedge \(e\).
The qudit hypergraph coboundary map \(\delta : \mathbb {Z}_p^V \to \mathbb {Z}_p^E\) generalizes the hypergraph coboundary from \(\mathbb {Z}_2\) to \(\mathbb {Z}_p\). For \(f \in \mathbb {Z}_p^V\),
The qudit hypergraph coboundary is the transpose of the boundary over \(\mathbb {Z}_p\):
Expanding the definitions, we distribute multiplication over the inner sums on both sides, then exchange the order of summation via Finset.sum_comm. For each pair \((v, e)\), when the incidence condition holds, the terms agree by ring arithmetic; when it fails, both sides are zero.
The qudit hypergraph boundary map at \(p = 2\) agrees with the \(\mathbb {Z}_2\) version from Rem 17.
This holds by simplification of the definitions.
The qudit hypergraph coboundary map at \(p = 2\) agrees with the \(\mathbb {Z}_2\) version from Rem 17.
This holds by simplification of the definitions.
45.8 Nonabelian Local vs. Global Charge
In a nonabelian group, knowing the individual elements \(g_v\) does not determine their product uniquely, because the product depends on the order of multiplication. Formally, if \(g_1 \cdot g_2 \neq g_2 \cdot g_1\), then it is not the case that for all lists \(l_1, l_2\) with \(l_1\) a permutation of \(l_2\), \(\prod l_1 = \prod l_2\):
Assume for contradiction that all permutations preserve products. The lists \([g_1, g_2]\) and \([g_2, g_1]\) are permutations of each other (by a swap). By the assumption, \(\prod [g_1, g_2] = \prod [g_2, g_1]\). Simplifying, \(g_1 \cdot g_2 = g_2 \cdot g_1\), contradicting the hypothesis.
45.9 Summary
The three generalizations beyond Pauli operators on qubits are:
Qudit: Boundary/coboundary maps generalize from \(\mathbb {Z}_2\) to \(\mathbb {Z}_p\), preserving linearity and the transpose property \(\langle \delta f, \gamma \rangle _E = \langle f, \partial \gamma \rangle _V\). The chain complex property \(\partial \circ \partial _2 = 0\) still holds.
Abelian: For abelian groups, the sum/product of local charges is order-independent, so measuring local charges determines the global charge: \(\sum _i q_{\pi (i)} = \sum _i q_i\).
Nonabelian: For nonabelian groups, the product of local charges depends on the order, so local measurements do not determine a definite global charge: \(g_1 g_2 \neq g_2 g_1 \implies \prod [g_1, g_2] \neq \prod [g_2, g_1]\).
The four components are established as follows:
The transpose property of qudit maps follows from quditCoboundaryMap_eq_transpose.
Specialization to \(\mathbb {Z}_2\) follows from quditBoundaryMap_specializes_to_qubit.
Abelian permutation invariance follows from Equiv.sum_comp.
Nonabelian order dependence follows from nonabelian_product_order_dependent.