Documentation

CslibFrontier.Computability.PCP.TwoProverGame.AnticommutationTest

The anticommutation test #

The Pauli braiding test of Natarajan and Vidick, §4.1, Figure 2 (arXiv:1610.03574v1, p. 17) certifies anticommutation through an anticommutation game: for each pair (a, b) with a · b = 1, the players play a game whose second player answers the special questions q_X, q_Z with observables X'(a, b), Z'(a, b), and near-optimal play forces these to nearly anticommute. The CHSH game is such a game (their Lemma 9, p. 14). The consistency test then ties X'(a, b) to the first player's linearity-test observable X(a), and Z'(a, b) to Z(b).

This file proves the CHSH operator-transfer step toward Natarajan and Vidick, §4.3.2, Lemma 18 (p. 21), for commuting-operator strategies in any star-ordered algebra with a continuous functional calculus, with explicit constants. Its inputs are a common state φ, for every pair with a · b = 1 a CHSH strategy G(a, b) in that state whose first player's observables X'(a, b), Z'(a, b) play the role of the source's special-question observables (the roles in CHSH are symmetric), its winning probability cos²(π/8) - ε(a, b), and contractions X(a), Z(b) commuting with Z'(a, b), X'(a, b) together with their consistency distances. Then (Cslib.PCP.oddExpect_norm_anticomm_sq_le_of_chsh)

E_{a,b} [a · b = 1] ‖X(a) Z(b) + Z(b) X(a)‖²_φ ≤ 9 (E [a · b = 1] ‖X(a) - X'(a, b)‖²_φ + E [a · b = 1] ‖Z(b) - Z'(a, b)‖²_φ + K E [a · b = 1] ε(a, b)),

with each masked average E [a · b = 1] written Cslib.BitString.oddExpect

with K = (4 + 2√2)² · 8√2 (Cslib.PCP.chshAnticommConst, value Cslib.PCP.chshAnticommConst_eq): CHSH rigidity (Cslib.PCP.CommutingStrategy.anticomm_of_chsh) bounds the anticommutation of X', Z', and the transfer through consistency (Cslib.Quantum.norm_mul_sub_smul_mul_sq_le_of_consistent) moves it to X, Z. Only contractions are needed: the observables of arbitrary, non-projective binary measurements qualify (Cslib.Quantum.Measurement.star_observable_mul_self_le_one), like the source's special-question marginals. Composed with the braiding and Pauli-family bounds (Cslib.Quantum.expect_norm_pauliFamily_sub_sq_le_of_anticommute), which use unitaries, this bounds the Pauli-family defect by the consistency distances, the CHSH deficits and the linearity defects (Cslib.PCP.expect_norm_pauliFamily_sub_sq_le_of_chsh).

Relation to the source. The source derives the conditional anticommutation estimate E_{a,b | a·b = 1} from the tested strategy; here the strategies, the consistency distances and the common state are inputs. The averages are masked and unconditional: for n ≥ 1 the pairs with a · b = 1 have probability (1 - 2⁻ⁿ) / 2, so each masked average is that factor times the conditional one, and for n = 0 there are no such pairs and the masked averages vanish. The verifier-level CHSH estimate from a single tested strategy is Cslib.PCP.expect_norm_pauliBraidingBasis_anticomm_sq_le in CslibFrontier/Computability/PCP/TwoProverGame/PauliBraidingAnticommutation.lean. It uses conditional averaging and the consistency and anticommutation branch scores. The full Pauli braiding rigidity theorem is tracked in cslib-community/cslib-frontier#6149.

Main definitions #

Main results #

References #

noncomputable def Cslib.PCP.chshAnticommConst :

The constant (4 + 2√2)² · 8√2 relating the squared anticommutation defect of a CHSH strategy to its deficit from the optimal winning probability.

The squared anticommutation defect of the first player's observables in a CHSH strategy is at most K ε when it wins with probability at least cos²(π/8) - ε.

theorem Cslib.PCP.oddExpect_norm_anticomm_sq_le_of_chsh {𝒜 : Type u_1} [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [StarModule ℂ 𝒜] [SelfAdjointDecompose 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] {ι : Type u_2} [Fintype ι] [DecidableEq ι] (φ : Quantum.AlgState 𝒜) (X Z : (ι → Bool) → 𝒜) (G : (ι → Bool) → (ι → Bool) → CommutingStrategy Bool Bool Bool Bool 𝒜) (hφ : ∀ (a b : ι → Bool), a ⬝ᵥ b = true → (G a b).state = φ) (hX : ∀ (a : ι → Bool), star (X a) * X a ≤ 1) (hZ : ∀ (b : ι → Bool), star (Z b) * Z b ≤ 1) (hXZ' : ∀ (a b : ι → Bool), a ⬝ᵥ b = true → Commute (X a) ((G a b).alice true).observable) (hZX' : ∀ (a b : ι → Bool), a ⬝ᵥ b = true → Commute (Z b) ((G a b).alice false).observable) (ε : (ι → Bool) → (ι → Bool) → ℝ) (hε : ∀ (a b : ι → Bool), a ⬝ᵥ b = true → Real.cos (Real.pi / 8) ^ 2 - ε a b ≤ TwoProverGame.chsh.commutingWinProb (G a b)) :
(BitString.oddExpect fun (a b : ι → Bool) => φ.norm (X a * Z b + Z b * X a) ^ 2) ≤ 9 * (((BitString.oddExpect fun (a b : ι → Bool) => φ.norm (X a - ((G a b).alice false).observable) ^ 2) + BitString.oddExpect fun (a b : ι → Bool) => φ.norm (Z b - ((G a b).alice true).observable) ^ 2) + chshAnticommConst * BitString.oddExpect ε)

CHSH operator transfer (a step toward [Natarajan and Vidick, §4.3.2, Lemma 18]). For every pair with a · b = 1, let the CHSH strategy G(a, b) in the common state φ have first-player observables X'(a, b), Z'(a, b) and win with probability at least cos²(π/8) - ε(a, b). If the contractions X(a), Z(b) commute with Z'(a, b), X'(a, b) on these pairs, the averaged masked anticommutation defect of X, Z is at most 9 (E [a·b = 1] ‖X(a) - X'(a, b)‖² + E [a·b = 1] ‖Z(b) - Z'(a, b)‖² + K E [a·b = 1] ε(a, b)).

theorem Cslib.PCP.expect_norm_pauliFamily_sub_sq_le_of_chsh {𝒜 : Type u_1} [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [StarModule ℂ 𝒜] [SelfAdjointDecompose 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] {ι : Type u_2} [Fintype ι] [DecidableEq ι] (φ : Quantum.AlgState 𝒜) (X Z X'' Z'' : (ι → Bool) → 𝒜) (G : (ι → Bool) → (ι → Bool) → CommutingStrategy Bool Bool Bool Bool 𝒜) (hφ : ∀ (a b : ι → Bool), a ⬝ᵥ b = true → (G a b).state = φ) (hX : ∀ (a : ι → Bool), X a ∈ unitary 𝒜) (hZ : ∀ (b : ι → Bool), Z b ∈ unitary 𝒜) (hX'' : ∀ (a : ι → Bool), X'' a ∈ unitary 𝒜) (hZ'' : ∀ (b : ι → Bool), Z'' b ∈ unitary 𝒜) (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) (hXZ' : ∀ (a b : ι → Bool), a ⬝ᵥ b = true → Commute (X a) ((G a b).alice true).observable) (hZX' : ∀ (a b : ι → Bool), a ⬝ᵥ b = true → Commute (Z b) ((G a b).alice false).observable) (ε : (ι → Bool) → (ι → Bool) → ℝ) (hε : ∀ (a b : ι → Bool), a ⬝ᵥ b = true → Real.cos (Real.pi / 8) ^ 2 - ε a b ≤ TwoProverGame.chsh.commutingWinProb (G a b)) :
(Finset.univ.expect fun (p : Quantum.PauliGroup ι) => Finset.univ.expect fun (q : Quantum.PauliGroup ι) => φ.norm (Quantum.pauliFamily X Z p * Quantum.pauliFamily X Z q - Quantum.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 * (9 * (((BitString.oddExpect fun (a b : ι → Bool) => φ.norm (X a - ((G a b).alice false).observable) ^ 2) + BitString.oddExpect fun (a b : ι → Bool) => φ.norm (Z b - ((G a b).alice true).observable) ^ 2) + chshAnticommConst * BitString.oddExpect ε)) + 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 the CHSH anticommutation test, consistency and linearity. Let Alice's unitaries X(a), Z(b) with X(0) = 1 have consistent unitary copies X''(a), Z''(b) for Bob, commuting with them, as in the linearity and consistency tests, and let the CHSH strategies G(a, b) be as in Cslib.PCP.oddExpect_norm_anticomm_sq_le_of_chsh. Then the multiplicative defect E_{p,q} ‖P(p) P(q) - P(pq)‖²_φ of the Pauli family P(a, b, s) = s X(a) Z(b) is bounded by the consistency distances, the CHSH deficits and the linearity defects.