Documentation

CslibFrontier.Foundations.Quantum.Algebra.PauliFamily

The Pauli family and its defect #

Observables X(a), Z(b), indexed by bit strings, define the Pauli family f(s, a, b) = (-1)^s X(a) Z(b) on the Pauli group (Cslib.Quantum.pauliFamily). Its multiplicative defect E_{p,q} ‖f(p) f(q) - f(pq)‖²_φ measures how far X and Z are from the Pauli relations in the state φ. It is the hypothesis of the compression bound for the Pauli family (Cslib.Quantum.exists_isometry_compress_pauliFamily).

This file bounds the defect by the conditions a nonlocal game can test, in the commuting model, where Bob's observables Zᴮ(b) commute with Alice's X, Z (Cslib.Quantum.expect_norm_pauliFamily_sub_sq_le):

E_{p,q} ‖f(p) f(q) - f(pq)‖²_φ ≤ 5 (8 ε_c + ε_a + ε_X + ε_Z).

Here:

This is a bridge for unitary families. It relates to the conditions of the Pauli braiding analysis Natarajan and Vidick, §4.2, Theorem 13 (arXiv:1610.03574v1, p. 19; that version is titled Robust self-testing of many-qubit states) as follows:

The connection from the game to these unitary families and the all-pairs error is tracked in #6149 (milestone M3).

The proof is a calc chain in the state calculus (Cslib.Quantum.norm_mul_mul_mul_sub_le). Multiplication on the right does not preserve closeness in a state. So each operator that must be replaced at the right end of a product is first exchanged with Bob's consistent copy, commuted to the left, and absorbed by a unitary there (left multiplication by a unitary preserves closeness).

Main definitions #

Main results #

References #

noncomputable def Cslib.Quantum.pauliFamily {A : Type u_1} [Ring A] [Algebra ℂ A] {ι : Type u_2} (X Z : (ι → Bool) → A) (p : PauliGroup ι) :
A

The Pauli family (s, a, b) ↦ (-1)^s X(a) Z(b) of observables X, Z.

theorem Cslib.Quantum.pauliFamily_ofX {A : Type u_1} [Ring A] [Algebra ℂ A] {ι : Type u_2} (X Z : (ι → Bool) → A) (hZ : Z 0 = 1) (a : ι → Bool) :

The Pauli family restricts to the X family on X elements when Z is normalized.

theorem Cslib.Quantum.pauliFamily_ofZ {A : Type u_1} [Ring A] [Algebra ℂ A] {ι : Type u_2} (X Z : (ι → Bool) → A) (hX : X 0 = 1) (b : ι → Bool) :

The Pauli family restricts to the Z family on Z elements when X is normalized.

theorem Cslib.Quantum.expect_pauliGroup {ι : Type u_2} [Fintype ι] [DecidableEq ι] {M : Type u_3} [AddCommMonoid M] [Module ℚ≥0 M] (F : (ι → Bool) → (ι → Bool) → M) :
(Finset.univ.expect fun (p : PauliGroup ι) => F p.x p.z) = Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => F a b

Averaging over the Pauli group averages over the two bit strings; the sign does not matter.

theorem Cslib.Quantum.expect_pauliGroup₂ {ι : Type u_2} [Fintype ι] [DecidableEq ι] {M : Type u_3} [AddCommMonoid M] [Module ℚ≥0 M] (G : (ι → Bool) → (ι → Bool) → (ι → Bool) → (ι → Bool) → M) :
(Finset.univ.expect fun (p : PauliGroup ι) => Finset.univ.expect fun (q : PauliGroup ι) => G p.x p.z q.x q.z) = Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => Finset.univ.expect fun (a' : ι → Bool) => Finset.univ.expect fun (b' : ι → Bool) => G a b a' b'

Averaging over pairs of Pauli group elements averages over four bit strings.

theorem Cslib.Quantum.pauliFamily_mul_sub {A : Type u_1} [Ring A] [Algebra ℂ A] {ι : Type u_2} [Fintype ι] (X Z : (ι → Bool) → A) (p q : PauliGroup ι) :
pauliFamily X Z p * pauliFamily X Z q - pauliFamily X Z (p * q) = ↑(BitString.signVal (p.sign + q.sign)) • (X p.x * Z p.z * X q.x * Z q.z - ↑(BitString.signVal (q.x ⬝ᵥ p.z)) • (X (p.x + q.x) * Z (p.z + q.z)))

The defect of the Pauli family at (p, q), up to a sign.

theorem Cslib.Quantum.pauliFamily_negOne_mul {A : Type u_1} [Ring A] [Algebra ℂ A] {ι : Type u_2} [Fintype ι] (X Z : (ι → Bool) → A) (p : PauliGroup ι) :
theorem Cslib.Quantum.norm_mul_mul_mul_sub_le {A : Type u_1} [Ring A] [Algebra ℂ A] {ι : Type u_2} [Fintype ι] [StarRing A] [PartialOrder A] [StarOrderedRing A] [StarModule ℂ A] [SelfAdjointDecompose A] (φ : AlgState A) (X Z ZB : (ι → Bool) → A) (hX : ∀ (a : ι → Bool), X a ∈ unitary A) (hZ : ∀ (b : ι → Bool), Z b ∈ unitary A) (hZB : ∀ (b : ι → Bool), ZB b ∈ unitary A) (hXB : ∀ (a b : ι → Bool), Commute (X a) (ZB b)) (hZZB : ∀ (b b' : ι → Bool), Commute (Z b) (ZB b')) (a b a' b' : ι → Bool) :
φ.norm (X a * Z b * X a' * Z b' - ↑(BitString.signVal (a' ⬝ᵥ b)) • (X (a + a') * Z (b + b'))) ≤ 2 * φ.norm (Z b - ZB b) + 2 * φ.norm (Z b' - ZB b') + φ.norm (Z b * X a' - ↑(BitString.signVal (a' ⬝ᵥ b)) • (X a' * Z b)) + φ.norm (X a * X a' - X (a + a')) + φ.norm (Z b * Z b' - Z (b + b'))

Pointwise Pauli defect (Bob trick): with Bob's observables Zᴮ(b) commuting with Alice's X, Z, ‖X(a)Z(b)X(a')Z(b') - (-1)^{a'·b} X(a+a')Z(b+b')‖_φ is at most 2c(b) + 2c(b') + α(a', b) + ℓ_X(a, a') + ℓ_Z(b, b').

theorem Cslib.Quantum.expect_norm_pauliFamily_sub_sq_le {A : Type u_1} [Ring A] [Algebra ℂ A] {ι : Type u_2} [Fintype ι] [StarRing A] [PartialOrder A] [StarOrderedRing A] [StarModule ℂ A] [SelfAdjointDecompose A] [DecidableEq ι] (φ : AlgState A) (X Z ZB : (ι → Bool) → A) (hX : ∀ (a : ι → Bool), X a ∈ unitary A) (hZ : ∀ (b : ι → Bool), Z b ∈ unitary A) (hZB : ∀ (b : ι → Bool), ZB b ∈ unitary A) (hXB : ∀ (a b : ι → Bool), Commute (X a) (ZB b)) (hZZB : ∀ (b b' : ι → Bool), Commute (Z b) (ZB b')) :
(Finset.univ.expect fun (p : PauliGroup ι) => Finset.univ.expect fun (q : PauliGroup ι) => φ.norm (pauliFamily X Z p * pauliFamily X Z q - pauliFamily X Z (p * q)) ^ 2) ≤ 5 * ((((8 * Finset.univ.expect fun (b : ι → Bool) => φ.norm (Z b - ZB b) ^ 2) + Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => φ.norm (Z b * X a - ↑(BitString.signVal (a ⬝ᵥ b)) • (X a * Z b)) ^ 2) + Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (a' : ι → Bool) => φ.norm (X a * X a' - X (a + a')) ^ 2) + Finset.univ.expect fun (b : ι → Bool) => Finset.univ.expect fun (b' : ι → Bool) => φ.norm (Z b * Z b' - Z (b + b')) ^ 2)

The Pauli-family defect from game-level conditions: with Bob's observables Zᴮ(b) commuting with Alice's X, Z, E_{p,q} ‖f(p) f(q) - f(pq)‖²_φ ≤ 5 (8 ε_c + ε_a + ε_X + ε_Z), where ε_c is the consistency E_b ‖Z(b) - Zᴮ(b)‖²_φ, ε_a the anticommutation E_{a,b} ‖Z(b)X(a) - (-1)^{a·b} X(a)Z(b)‖²_φ, and ε_X, ε_Z the linearity defects E ‖X(a)X(a') - X(a+a')‖²_φ and E ‖Z(b)Z(b') - Z(b+b')‖²_φ.