MerLean-example

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\)

Definition 1294 Qudit Boundary Map

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

\[ (\partial \gamma )_v = \sum _{\substack {e \in E \\ v \in e}} \gamma _e \pmod{p}. \]

This is a \(\mathbb {Z}_p\)-linear map, with linearity verified by distributing sums and scalar multiplication over the conditional summation.

Definition 1295 Qudit Coboundary Map

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

\[ (\delta f)_e = f(a) + f(b) \pmod{p}. \]

This is a \(\mathbb {Z}_p\)-linear map.

Definition 1296 Qudit Second Boundary 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

\[ (\partial _2 \sigma )_e = \sum _{\substack {c \in C \\ e \in \text{cycles}(c)}} \sigma _c \pmod{p}. \]
Definition 1297 Qudit Second Coboundary Map

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

\[ (\delta _2 \gamma )_c = \sum _{\substack {e \in E \\ e \in \text{cycles}(c)}} \gamma _e \pmod{p}. \]

45.2 Transpose Properties

Theorem 1298 Qudit Coboundary is Transpose of Boundary

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\),

\[ \sum _{e \in E} (\delta f)_e \cdot \gamma _e = \sum _{v \in V} f_v \cdot (\partial \gamma )_v. \]
Proof

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.

Theorem 1299 Qudit Second Coboundary is Transpose of Second Boundary

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\),

\[ \sum _{c \in C} (\delta _2 \gamma )_c \cdot \sigma _c = \sum _{e \in E} \gamma _e \cdot (\partial _2 \sigma )_e. \]
Proof

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

Theorem 1300 Chain Complex Property over \(\mathbb {Z}_p\)

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})\).

Proof

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.

Theorem 1301 \(\operatorname {im}(\partial _2) \leq \ker (\partial )\) over \(\mathbb {Z}_p\)

Under the same cycle incidence hypothesis, \(\operatorname {im}(\partial _2) \subseteq \ker (\partial )\) over \(\mathbb {Z}_p\).

Proof

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\)

Theorem 1302 Qudit Boundary Specializes to Qubit

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\),

\[ (\partial _{\mathbb {Z}_2} \gamma )_v = (\partial _{\text{Def\_ 1}} \gamma )_v. \]
Proof

This holds by simplification, as both definitions compute the same conditional sum over incident edges.

Theorem 1303 Qudit Coboundary Specializes to Qubit

The qudit coboundary map at \(p = 2\) agrees with the standard \(\mathbb {Z}_2\) coboundary map.

Proof

This holds by simplification of the definitions.

Theorem 1304 Qudit Second Boundary Specializes to Qubit

The qudit second boundary map at \(p = 2\) agrees with the standard \(\mathbb {Z}_2\) second boundary map.

Proof

This holds by simplification of the definitions.

Theorem 1305 Qudit Second Coboundary Specializes to Qubit

The qudit second coboundary map at \(p = 2\) agrees with the standard \(\mathbb {Z}_2\) second coboundary map.

Proof

This holds by simplification of the definitions.

45.5 Abelian Group Charge Determination

Theorem 1306 Abelian Charge Sum is Well-Defined

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\} \),

\[ \sum _{i=1}^{n} q_{\pi (i)} = \sum _{i=1}^{n} q_i. \]

This is the core mathematical fact that makes abelian gauging work: measuring individual \(A_v\) operators in any order gives the same total charge.

Proof

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

Theorem 1307 Nonabelian Product is Order Dependent

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:

\[ g_1 \cdot g_2 \neq g_2 \cdot g_1 \implies \prod [g_1, g_2] \neq \prod [g_2, g_1]. \]

This is the fundamental obstruction to measuring nonabelian charges locally.

Proof

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)

Definition 1308 Qudit Hypergraph Boundary Map

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\),

\[ (\partial \gamma )_v = \sum _{\substack {e \in E \\ v \sim e}} \gamma _e \pmod{p}, \]

where \(v \sim e\) means \(v\) is incident to hyperedge \(e\).

Definition 1309 Qudit Hypergraph Coboundary Map

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\),

\[ (\delta f)_e = \sum _{\substack {v \in V \\ v \sim e}} f(v) \pmod{p}. \]
Theorem 1310 Qudit Hypergraph Coboundary is Transpose

The qudit hypergraph coboundary is the transpose of the boundary over \(\mathbb {Z}_p\):

\[ \sum _{e \in E} (\delta f)_e \cdot \gamma _e = \sum _{v \in V} f_v \cdot (\partial \gamma )_v. \]
Proof

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.

Theorem 1311 Qudit Hypergraph Boundary Specializes to \(\mathbb {Z}_2\)

The qudit hypergraph boundary map at \(p = 2\) agrees with the \(\mathbb {Z}_2\) version from Rem 17.

Proof

This holds by simplification of the definitions.

Theorem 1312 Qudit Hypergraph Coboundary Specializes to \(\mathbb {Z}_2\)

The qudit hypergraph coboundary map at \(p = 2\) agrees with the \(\mathbb {Z}_2\) version from Rem 17.

Proof

This holds by simplification of the definitions.

45.8 Nonabelian Local vs. Global Charge

Theorem 1313 Nonabelian Local Underdetermines Global

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\):

\[ g_1 g_2 \neq g_2 g_1 \implies \neg \bigl(\forall l_1, l_2,\; l_1 \sim l_2 \implies \textstyle \prod l_1 = \textstyle \prod l_2\bigr). \]
Proof

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:

  1. 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.

  2. 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\).

  3. 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]\).

Proof

The four components are established as follows:

  1. The transpose property of qudit maps follows from quditCoboundaryMap_eq_transpose.

  2. Specialization to \(\mathbb {Z}_2\) follows from quditBoundaryMap_specializes_to_qubit.

  3. Abelian permutation invariance follows from Equiv.sum_comp.

  4. Nonabelian order dependence follows from nonabelian_product_order_dependent.