Documentation

CslibFrontier.Computability.PCP.TwoProverGame.PauliBraidingAnticommutation

The CHSH strategy on an odd pair in the braiding test #

Restricting the tagged anticommutation questions of a single strategy to one odd pair gives a commuting CHSH strategy. Its logical second player's observables are exactly those checked in the matched consistency rounds.

The soundness estimate specializes Natarajan and Vidick, Lemma 18 (arXiv:1610.03574v1, ยง4.3.2, p. 21) to CHSH. It uses the CHSH and consistency scores of one commuting-operator strategy and bounds the squared state-norm anticommutator averaged conditionally on odd pairs. The source treats a supplied anticommutation game and also proves honest-strategy completeness.

Main results #

Extract CHSH on an odd pair. Use the two role tags of the anticommutation branch and decode malformed answers as false. The Boolean role assignment selects the logical order.

@[simp]

The extracted CHSH strategy uses the original state.

theorem Cslib.PCP.pauliBraidingCHSHStrategy_bob_observable {n : โ„•} {๐’œ : Type u_1} [Ring ๐’œ] [PartialOrder ๐’œ] [Algebra โ„‚ ๐’œ] [IsOrderedAddMonoid ๐’œ] [StarRing ๐’œ] [StarOrderedRing ๐’œ] (S : CommutingStrategy (PauliBraidingQuestion n Bool) (PauliBraidingQuestion n Bool) (Bool ร— Bool โŠ• Bool) (Bool ร— Bool โŠ• Bool) ๐’œ) (roles : Bool) (p : โ†ฅ(BitString.oddPairs (Fin n))) (q : Bool) :
((pauliBraidingCHSHStrategy S roles p).bob q).observable = pauliBraidingSpecialObservable (bif roles then S.alice else S.bob) q id p

The second-role observable of CHSH is exactly the special observable used in the consistency estimate on the same pair.

The CHSH branch conditioned on a single odd pair and role assignment, with the verifier's original rejection rule for malformed answers.

Scoring the decoded CHSH strategy can only increase acceptance, since the actual verifier rejects every malformed answer before decoding.

The anticommutation branch score is the uniform mean over physical role assignments and odd pairs of the original verifier's conditioned CHSH score.

The braiding anticommutation branch is bounded by the CHSH optimum.

At a fixed physical role assignment the mean CHSH deficit of the decoded strategies is at most twice the deficit of the full anticommutation branch against the CHSH optimum.

theorem Cslib.PCP.expect_norm_pauliBraidingSpecial_anticomm_sq_le {n : โ„•} {๐’œ : Type u_1} [Ring ๐’œ] [PartialOrder ๐’œ] [Algebra โ„‚ ๐’œ] [IsOrderedAddMonoid ๐’œ] [StarRing ๐’œ] [StarOrderedRing ๐’œ] [TopologicalSpace ๐’œ] [ContinuousFunctionalCalculus โ„ ๐’œ IsSelfAdjoint] [NonnegSpectrumClass โ„ ๐’œ] [Nonempty (Fin n)] [StarModule โ„‚ ๐’œ] [SelfAdjointDecompose ๐’œ] (S : CommutingStrategy (PauliBraidingQuestion n Bool) (PauliBraidingQuestion n Bool) (Bool ร— Bool โŠ• Bool) (Bool ร— Bool โŠ• Bool) ๐’œ) (roles : Bool) :
have special := pauliBraidingSpecialObservable (bif roles then S.alice else S.bob); (Finset.univ.expect fun (p : โ†ฅ(BitString.oddPairs (Fin n))) => S.state.norm (special false id p * special true id p + special true id p * special false id p) ^ 2) โ‰ค 2 * chshAnticommConst * (Real.cos (Real.pi / 8) ^ 2 - (pauliBraidingBranchGame n TwoProverGame.chsh id (fun (x : Bool) => id) 1).commutingWinProb S)

Averaged over the odd pairs, the logical second player's special observables nearly anticommute when the combined verifier's CHSH branch scores near the CHSH optimum.

theorem Cslib.PCP.expect_norm_pauliBraidingBasis_anticomm_sq_le {n : โ„•} {๐’œ : Type u_1} [Ring ๐’œ] [PartialOrder ๐’œ] [Algebra โ„‚ ๐’œ] [IsOrderedAddMonoid ๐’œ] [StarRing ๐’œ] [StarOrderedRing ๐’œ] [TopologicalSpace ๐’œ] [ContinuousFunctionalCalculus โ„ ๐’œ IsSelfAdjoint] [NonnegSpectrumClass โ„ ๐’œ] [Nonempty (Fin n)] [StarModule โ„‚ ๐’œ] [SelfAdjointDecompose ๐’œ] [Module โ„šโ‰ฅ0 ๐’œ] [PosSMulMono โ„šโ‰ฅ0 ๐’œ] (S : CommutingStrategy (PauliBraidingQuestion n Bool) (PauliBraidingQuestion n Bool) (Bool ร— Bool โŠ• Bool) (Bool ร— Bool โŠ• Bool) ๐’œ) (roles : Bool) :
have measure := bif roles then S.bob else S.alice; have X := fun (x : Fin n โ†’ Bool) => Finset.univ.expect fun (d : Fin n โ†’ Bool) => pauliBraidingBasisObservable measure false x d; have Z := fun (z : Fin n โ†’ Bool) => Finset.univ.expect fun (d : Fin n โ†’ Bool) => pauliBraidingBasisObservable measure true z d; have branch := pauliBraidingBranchGame n TwoProverGame.chsh id fun (x : Bool) => id; (Finset.univ.expect fun (p : โ†ฅ(BitString.oddPairs (Fin n))) => S.state.norm (X (โ†‘p).1 * Z (โ†‘p).2 + Z (โ†‘p).2 * X (โ†‘p).1) ^ 2) โ‰ค 9 * (4096 * (1 - (branch 2).commutingWinProb S) + 2 * chshAnticommConst * (Real.cos (Real.pi / 8) ^ 2 - (branch 1).commutingWinProb S))

The uniformly averaged basis observables anticommute on odd pairs up to the consistency and anticommutation deficits of the CHSH braiding verifier.