Documentation

CslibFrontier.Computability.PCP.TwoProverGame.AveragedConsistency

Same-basis agreement and averaged observables #

In the fixed-basis game, the verifier draws a checked string uniformly and gives each player an independent uniform dummy string. It compares the bits associated with the checked string. This sampling gives a direct bound on the squared distance between the two players' marginals averaged over their dummy questions. It is a step toward the consistency analysis of Natarajan and Vidick, §4.3.1, Lemma 17 (arXiv:1610.03574v1, p. 21). Figure 2 samples an odd pair first and randomizes the roles. Here both roles are fixed, and all checked strings and dummy strings are sampled independently, without sorting.

Main definitions #

Main results #

noncomputable def Cslib.PCP.pauliSameBasisTest (ι : Type u_3) [Fintype ι] [DecidableEq ι] (basis : Bool) :

Ask both players for the bit associated with a shared uniform string, each with an independent uniform dummy string. The verifier reads only the answer coordinate for the chosen basis.

noncomputable def Cslib.PCP.PauliConsistencyQuestion.averagedObservable {ι : Type u_1} {𝒜 : Type u_2} [Fintype ι] [DecidableEq ι] [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Module ℚ≥0 𝒜] (measure : PauliConsistencyQuestion ι → Quantum.Measurement (Bool × Bool) 𝒜) (basis : Bool) (checked : ι → Bool) :
𝒜

The decoded observable averaged over the dummy string at a fixed basis and checked string.

The mean squared distance between the two averaged observables is at most four times the same-basis game's rejection probability.

theorem Cslib.PCP.oddExpect_norm_sub_sq_le_of_pauliConsistency {ι : Type u_1} {𝒜 : Type u_2} [Fintype ι] [DecidableEq ι] [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [StarModule ℂ 𝒜] [SelfAdjointDecompose 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] [Module ℚ≥0 𝒜] (basis : Bool) (S : CommutingStrategy (PauliConsistencyQuestion ι) (PauliConsistencyQuestion ι) (Bool × Bool) (Bool × Bool) 𝒜) [Nonempty ι] (T : CommutingStrategy (PauliConsistencyQuestion ι) (PauliConsistencyQuestion ι) (Bool × Bool) Bool 𝒜) (hstate : T.state = S.state) (halice : T.alice = S.alice) :
(BitString.oddExpect fun (x z : ι → Bool) => have q := { xString := x, zString := z, basis := basis }; have a := if basis = true then z else x; S.state.norm (PauliConsistencyQuestion.averagedObservable S.alice basis a - (T.bob q).observable) ^ 2) ≤ 32 * (1 - (pauliSameBasisTest ι basis).commutingWinProb S) + 8 * ↑(BitString.oddPairs ι).dens * (1 - (pauliSpecialQuestionTest ι basis).commutingWinProb T)

Averaging Alice's dummy coordinate preserves consistency with the special-question observable on odd pairs. The left-hand side is masked by the odd-pair event, so the special-question rejection probability on the right is weighted by the same density. The two games share Alice's question measurement.