The Pauli group #
The Pauli group on n qubits, up to the phase i, is the group of the operators
(-1)^s X^a Z^b for a sign bit s and bit strings a, b : ι → Bool
(Cslib.Quantum.PauliGroup). Since Z^b X^{a'} = (-1)^{a'·b} X^{a'} Z^b, the product is
(s, a, b) · (s', a', b') = (s + s' + b·a', a + a', b + b'),
a central extension of (ℤ/2)^{2n} by ℤ/2 with the bilinear cocycle b·a' (a finite
Heisenberg group). The central element -1 = (1, 0, 0) (Cslib.Quantum.PauliGroup.negOne)
squares to 1; the generators X^a (Cslib.Quantum.PauliGroup.ofX) and Z^b
(Cslib.Quantum.PauliGroup.ofZ) satisfy Z^b X^a = (-1)^{a·b} X^a Z^b
(Cslib.Quantum.PauliGroup.ofZ_mul_ofX).
Main definitions #
Cslib.Quantum.PauliGroup: the Pauli group, with itsGroupandFintypeinstances.Cslib.Quantum.PauliGroup.negOne,Cslib.Quantum.PauliGroup.ofX,Cslib.Quantum.PauliGroup.ofZ: the central element-1and the generators.
Main results #
Cslib.Quantum.PauliGroup.ofZ_mul_ofX: the commutation relation.Cslib.Quantum.PauliGroup.commute_negOne:-1is central.
(-1)^s X^a Z^b · (-1)^{s'} X^{a'} Z^{b'} = (-1)^{s + s' + b·a'} X^{a+a'} Z^{b+b'}.
PauliGroup ι ≃ Bool × (ι → Bool) × (ι → Bool).
(false, a, 0), the element X^a.
(false, 0, b), the element Z^b.