Documentation

CslibFrontier.Foundations.Quantum.Algebra.Braiding

Braiding relations from anticommutation, consistency and linearity #

The Pauli braiding relations Z(b) X(a) = (-1)^{a·b} X(a) Z(b) are what the Pauli-family defect bound (Cslib.Quantum.expect_norm_pauliFamily_sub_sq_le) needs from a strategy. The braiding test of Natarajan and Vidick, §4 (arXiv:1610.03574v1) certifies only part of them directly: anticommutation for the pairs with a · b = 1, through an anticommutation game played on the observables of the other player. This file derives the rest, in any state of any star-ordered algebra, for Alice's unitaries X(a), Z(b) and Bob's consistent copies X'(a), Z'(b) commuting with them.

Where this starts, relative to the source. The source applies its lemmas to the averaged marginal observables of its eq. (11), which are self-adjoint contractions but need not be unitary. Here the inputs are unitary families with X(0) = 1, such as the rounded, exactly linear observables of the linearity test, and Bob's consistent unitary copies. The source states the anticommutation hypothesis as a conditional average E_{a,b | a·b = 1}; here it enters as the masked unconditional average E_{a,b} [a · b = 1] α(a, b)², which equals Pr[a · b = 1] · E_{a,b | a·b = 1} α(a, b)² and so is at most the conditional average. The commutation step likewise averages over all c with the mask c · a = 1 and uses that a nonzero a has c · a = 1 for exactly half of the c.

X(0) = 1 holds for the character observables of a projective measurement (Cslib.Quantum.Measurement.charObs_zero), such as the rounded observables of the linearity test. Deriving the anticommutation defects from a strategy's success in an anticommutation game, and the remaining steps toward Pauli rigidity, are tracked in cslib-community/cslib-frontier#6149.

Main results #

References #

theorem Cslib.Quantum.norm_mul_sub_smul_mul_le_of_consistent {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] (φ : AlgState A) {X Z X' Z' : A} (hX : star X * X ≤ 1) (hZ : star Z * Z ≤ 1) (hX' : star X' * X' ≤ 1) (hZ' : star Z' * Z' ≤ 1) (hXZ' : Commute X Z') (hZX' : Commute Z X') {s : ℂ} (hs : ‖s‖ = 1) :
φ.norm (Z * X - s • (X * Z)) ≤ 2 * φ.norm (X - X') + 2 * φ.norm (Z - Z') + φ.norm (X' * Z' - s • (Z' * X'))

Transfer of a commutation relation through consistency. If the contractions X and Z commute with the contractions Z' and X' respectively, then ‖Z X - s X Z‖_φ ≤ 2 ‖X - X'‖_φ + 2 ‖Z - Z'‖_φ + ‖X' Z' - s Z' X'‖_φ for every phase s with ‖s‖ = 1.

theorem Cslib.Quantum.norm_mul_sub_smul_mul_sq_le_of_consistent {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] (φ : AlgState A) {X Z X' Z' : A} (hX : star X * X ≤ 1) (hZ : star Z * Z ≤ 1) (hX' : star X' * X' ≤ 1) (hZ' : star Z' * Z' ≤ 1) (hXZ' : Commute X Z') (hZX' : Commute Z X') {s : ℂ} (hs : ‖s‖ = 1) :
φ.norm (Z * X - s • (X * Z)) ^ 2 ≤ 9 * (φ.norm (X - X') ^ 2 + φ.norm (Z - Z') ^ 2 + φ.norm (X' * Z' - s • (Z' * X')) ^ 2)

Squared transfer: under the hypotheses of Cslib.Quantum.norm_mul_sub_smul_mul_le_of_consistent, ‖Z X - s X Z‖²_φ ≤ 9 (‖X - X'‖²_φ + ‖Z - Z'‖²_φ + ‖X' Z' - s Z' X'‖²_φ).

theorem Cslib.Quantum.expect_norm_mul_sub_smul_mul_sq_le_of_consistent {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {ι : Type u_2} [Fintype ι] (φ : AlgState A) (X Z X' Z' : ι → A) (s : ι → ℂ) (hX : ∀ (i : ι), star (X i) * X i ≤ 1) (hZ : ∀ (i : ι), star (Z i) * Z i ≤ 1) (hX' : ∀ (i : ι), star (X' i) * X' i ≤ 1) (hZ' : ∀ (i : ι), star (Z' i) * Z' i ≤ 1) (hXZ' : ∀ (i : ι), Commute (X i) (Z' i)) (hZX' : ∀ (i : ι), Commute (Z i) (X' i)) (hs : ∀ (i : ι), ‖s i‖ = 1) :
(Finset.univ.expect fun (i : ι) => φ.norm (Z i * X i - s i • (X i * Z i)) ^ 2) ≤ 9 * (((Finset.univ.expect fun (i : ι) => φ.norm (X i - X' i) ^ 2) + Finset.univ.expect fun (i : ι) => φ.norm (Z i - Z' i) ^ 2) + Finset.univ.expect fun (i : ι) => φ.norm (X' i * Z' i - s i • (Z' i * X' i)) ^ 2)

Averaged transfer of a commutation relation through consistency: over any finite family, E_i ‖Z_i X_i - s_i X_i Z_i‖²_φ ≤ 9 (E_i ‖X_i - X'_i‖²_φ + E_i ‖Z_i - Z'_i‖²_φ + E_i ‖X'_i Z'_i - s_i Z'_i X'_i‖²_φ).

theorem Cslib.Quantum.norm_mul_sub_mul_le_of_anticommute {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {ι : Type u_2} (φ : AlgState A) (X Z X' Z' : (ι → Bool) → A) (hX : ∀ (a : ι → Bool), X a ∈ unitary A) (hZ : ∀ (b : ι → Bool), Z b ∈ unitary A) (hX' : ∀ (a : ι → Bool), X' a ∈ unitary A) (hZ' : ∀ (b : ι → Bool), Z' b ∈ unitary A) (hXZ' : ∀ (a b : ι → Bool), Commute (X a) (Z' b)) (hZZ' : ∀ (b b' : ι → Bool), Commute (Z b) (Z' b')) (hZX' : ∀ (b a : ι → Bool), Commute (Z b) (X' a)) (a b c : ι → Bool) :
φ.norm (Z b * X a - X a * Z b) ≤ 2 * φ.norm (Z c * Z (c + b) - Z b) + 2 * φ.norm (Z (c + b) - Z' (c + b)) + φ.norm (X a * Z c + Z c * X a) + φ.norm (X a * Z (c + b) + Z (c + b) * X a) + 2 * φ.norm (X a - X' a)

Commutation from anticommutation, pointwise (the chain of Natarajan and Vidick, §4.3.3, Lemma 19). Let Alice's unitaries X(a), Z(b) commute with Bob's unitaries X'(a), Z'(b). Writing Z(b) ≈ Z(c) Z(c + b) and anticommuting X(a) past both factors, with Bob's copies carrying the factors that are in the way, gives, for all a, b, c, ‖Z(b) X(a) - X(a) Z(b)‖_φ ≤ 2ℓ + 2κ_Z(c + b) + α(a, c) + α(a, c + b) + 2κ_X(a), where ℓ = ‖Z(c) Z(c + b) - Z(b)‖_φ, κ are the consistency distances to Bob's copies and α(a, c) = ‖X(a) Z(c) + Z(c) X(a)‖_φ is the anticommutation defect. It is useful when a · b = 0 and c · a = 1, so that both c · a and (c + b) · a are 1 and the anticommutation defects are small.

theorem Cslib.Quantum.expect_norm_braid_sq_le {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {ι : Type u_2} [Fintype ι] [DecidableEq ι] (φ : AlgState A) (X Z X' Z' : (ι → Bool) → A) (hX : ∀ (a : ι → Bool), X a ∈ unitary A) (hZ : ∀ (b : ι → Bool), Z b ∈ unitary A) (hX' : ∀ (a : ι → Bool), X' a ∈ unitary A) (hZ' : ∀ (b : ι → Bool), Z' b ∈ unitary A) (hXZ' : ∀ (a b : ι → Bool), Commute (X a) (Z' b)) (hZZ' : ∀ (b b' : ι → Bool), Commute (Z b) (Z' b')) (hZX' : ∀ (b a : ι → Bool), Commute (Z b) (X' a)) (hX0 : X 0 = 1) :
(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) ≤ (33 * BitString.oddExpect fun (a b : ι → Bool) => φ.norm (X a * Z b + Z b * X a) ^ 2) + 32 * (((Finset.univ.expect fun (c : ι → Bool) => Finset.univ.expect fun (c' : ι → Bool) => φ.norm (Z c * Z c' - Z (c + c')) ^ 2) + Finset.univ.expect fun (c : ι → Bool) => φ.norm (Z c - Z' c) ^ 2) + Finset.univ.expect fun (a : ι → Bool) => φ.norm (X a - X' a) ^ 2)

Braiding relations from anticommutation, consistency and linearity, averaged (Natarajan and Vidick, §4.3.2, Lemma 18 and §4.3.3, Lemma 19): if X(0) = 1, then E_{a,b} ‖Z(b) X(a) - (-1)^{a·b} X(a) Z(b)‖²_φ is at most 33 E_{a,b} [a · b = 1] ‖X(a) Z(b) + Z(b) X(a)‖²_φ + 32 (E_{c,c'} ‖Z(c) Z(c') - Z(c + c')‖²_φ + E_c κ_Z(c)² + E_a κ_X(a)²).

theorem Cslib.Quantum.expect_norm_pauliFamily_sub_sq_le_of_anticommute {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {ι : Type u_2} [Fintype ι] [DecidableEq ι] (φ : AlgState A) (X Z X' Z' : (ι → Bool) → A) (hX : ∀ (a : ι → Bool), X a ∈ unitary A) (hZ : ∀ (b : ι → Bool), Z b ∈ unitary A) (hX' : ∀ (a : ι → Bool), X' a ∈ unitary A) (hZ' : ∀ (b : ι → Bool), Z' b ∈ unitary A) (hXZ' : ∀ (a b : ι → Bool), Commute (X a) (Z' b)) (hZZ' : ∀ (b b' : ι → Bool), Commute (Z b) (Z' b')) (hZX' : ∀ (b a : ι → Bool), Commute (Z b) (X' a)) (hX0 : X 0 = 1) :
(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 * (((((40 * Finset.univ.expect fun (c : ι → Bool) => φ.norm (Z c - Z' c) ^ 2) + 32 * Finset.univ.expect fun (a : ι → Bool) => φ.norm (X a - X' a) ^ 2) + 33 * BitString.oddExpect fun (a b : ι → Bool) => φ.norm (X a * Z b + Z b * X a) ^ 2) + Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (a' : ι → Bool) => φ.norm (X a * X a' - X (a + a')) ^ 2) + 33 * 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 anticommutation, consistency and linearity. Combining the braiding bound with the Pauli-family defect bound (Cslib.Quantum.expect_norm_pauliFamily_sub_sq_le): if X(0) = 1, the defect E_{p,q} ‖P(p) P(q) - P(pq)‖²_φ of the family P(a, b, s) = s X(a) Z(b) is bounded by the consistency distances, the anticommutation defects on the pairs with a · b = 1, and the linearity defects of X and Z.