Documentation

CslibFrontier.Foundations.Quantum.Clifford

Weyl–Brauer Clifford observables on k qubits #

On k qubits (Fin k → Bool, of dimension 2^k), inductively tensoring pauliZ, pauliX, and pauliY produces 2k pairwise anticommuting Hermitian involutions (Cslib.Quantum.cliffordGen). Contracting the first m generators (k = ⌈m / 2⌉ = (m + 1) / 2) against any vector u ∈ ℝ^m yields a Hermitian matrix Cslib.Quantum.cliffordObservable u satisfying (cliffordObservable u)² = ‖u‖² · 1, hence a ±1 observable whenever ‖u‖ = 1.

Pairing cliffordObservable u on Alice's half and (cliffordObservable v)ᵀ on Bob's half of the maximally entangled state maxEntangled (Fin ((m + 1) / 2) → Bool) evaluates to the exact real inner product ⟪u, v⟫ (Cslib.Quantum.star_maxEntangled_cliffordObservable). This is the Weyl–Brauer / Clifford algebra step realizing Tsirelson's vector correspondence in dimension 2^⌈m / 2⌉ (Cirel'son; Cleve, Høyer, Toner, Watrous, §5.3, Theorem 4).

Main definitions #

Main results #

References #

The single-qubit Pauli matrix Y #

The Pauli matrix Y = [[0, -i], [i, 0]], indexed by Bool (false for 0, true for 1).

Recursive 2k-generator Clifford system on k qubits #

noncomputable def Cslib.Quantum.cliffordGen (k : ℕ) :
Fin (2 * k) → Matrix (Fin k → Bool) (Fin k → Bool) ℂ

2k pairwise anticommuting Hermitian involutions on k qubits (Fin k → Bool).

theorem Cslib.Quantum.cliffordGen_anticommute (k : ℕ) {i j : Fin (2 * k)} (hij : i ≠ j) :
theorem Cslib.Quantum.trace_cliffordGen_mul (k : ℕ) (i j : Fin (2 * k)) :
(cliffordGen k i * cliffordGen k j).trace = if i = j then ↑(Fintype.card (Fin k → Bool)) else 0

Real-vector observables and maximally entangled inner-product pairing #

noncomputable def Cslib.Quantum.cliffordObservable {m : ℕ} (u : EuclideanSpace ℝ (Fin m)) :
Matrix (Fin ((m + 1) / 2) → Bool) (Fin ((m + 1) / 2) → Bool) ℂ

The Hermitian Clifford observable ∑_{j < m} u_j Γ_j on ⌈m / 2⌉ = (m + 1) / 2 qubits associated with a real vector u ∈ ℝ^m.

When u is a real unit vector, cliffordObservable u squares to the identity.

Trace pairing of two Clifford observables equals 2^⌈m / 2⌉ times the real inner product.

Pairing cliffordObservable u with (cliffordObservable v)ᵀ on the maximally entangled state recovers (inner ℝ u v : ℂ) exactly.