The two-player linearity test #
In the linearity test the verifier draws k ∈ {0, 1, 2} and a, b ∈ {0,1}ⁿ uniformly, sends
the pair (a, b) to the pair player (Bob), and sends the point c = a, b or a + b
(Cslib.PCP.linearityQuery), according to k, to the point player (Alice). Alice answers a bit
γ, Bob answers bits (α, β), and the verifier runs the single check selected by k:
γ = α, γ = β or γ = α ⊕ β (Cslib.PCP.linearityCheck). The verifier's choice k is private,
and when the queries coincide (for instance a = b) several values of k produce the same
questions but different checks. So the test is a seeded game (Cslib.PCP.linearityGame, a
Cslib.PCP.SeededGame) rather than a Cslib.PCP.TwoProverGame, whose acceptance predicate sees
only the questions. Its winning probability is the acceptance probability with the sampled check
(Cslib.PCP.CommutingStrategy.linearityTestProb, Cslib.PCP.commutingWinProb_linearityGame).
The acceptance probability is an average of correlations
(Cslib.PCP.CommutingStrategy.linearityTestProb_eq), by
Cslib.PCP.CommutingStrategy.sum_ite_prob_eq. When a strategy with projective pair measurements
is accepted with probability 1 - ε, Alice's observables A(c) are linear on average
(Cslib.PCP.CommutingStrategy.one_sub_le_expect_re_apply_mul_mul_of_linearityTest):
E_{a,b} Re φ(A(a) A(b) A(a + b)) ≥ 1 - 6ε - 2√(12ε).
Each check passes with probability at least 1 - 3ε. The consistency checks bound the distances
between Alice's observables and the marginals of Bob's, and the linearity check bounds the
correlation of A(a + b) with the product of Bob's marginals, which for a projective measurement
is the parity observable. Linearity from consistency
(Cslib.Quantum.one_sub_le_expect_re_apply_mul_mul) then gives the bound.
This is the test of Natarajan and Vidick, §3, Figure 1 (arXiv:1610.03574v1) in an asymmetric variant, and the estimate is the commuting-operator, point-player form of their Theorem 11. The variant differs from the source in three ways:
- one player always gets the point and the other the pair, whereas the source labels the players at random and sends Bob a second, uniformly random query so that symmetric strategies apply;
- the pair is sent in sampled order
(a, b). Figure 1 sends it in lexicographic order, so a strategy for this variant can distinguish the two sampled orders; - the conclusion concerns the point player's own observables, whereas the source rounds the Naimark dilation of the averaged pair marginals.
As in the source, the strategy's measurements are assumed projective here. The
CslibFrontier.Computability.PCP.TwoProverGame.SymmetricLinearity module defines the source's
symmetric verifier as Cslib.PCP.symmetricLinearityGame. Its seed also assigns the players' roles
and samples the dummy query. Quantum soundness of the symmetric verifier and the remaining steps
toward Pauli rigidity are tracked in #6149.
Main definitions #
Cslib.PCP.linearityQuery,Cslib.PCP.linearityCheck: the point query and the check of each test.Cslib.PCP.CommutingStrategy.linearityTestProb: the probability that the verifier accepts.Cslib.PCP.linearityGame: the linearity test as a seeded game.
Main results #
Cslib.PCP.CommutingStrategy.linearityTestProb_eq: the acceptance probability as an average of correlations.Cslib.PCP.commutingWinProb_linearityGame: it is the winning probability of the seeded game.Cslib.PCP.CommutingStrategy.one_sub_le_expect_re_apply_mul_mul_of_linearityTest: acceptance makes the point player's observables linear on average.
References #
The probability that the linearity-test verifier accepts the strategy S: it draws
k ∈ {0, 1, 2} and a, b uniformly, asks linearityQuery k a b and (a, b), and accepts when the
point player's bit equals linearityCheck k of the pair player's bits.
The acceptance probability of the linearity test is the average of
(1 + Re φ(A(c) N_k(a, b))) / 2, for the point player's observable A(c) and the observable
N_k(a, b) of the pair player's checked bit.
Passing the linearity test makes the point player's observables linear. A
commuting-operator strategy with projective pair measurements accepted by the linearity-test
verifier with probability at least 1 - ε has
E_{a,b} Re φ(A(a) A(b) A(a + b)) ≥ 1 - 6ε - 2√(12ε) for the point observables A(c).
The two-player linearity test as a seeded game: the verifier's seed (k, a, b) is uniform,
the questions are linearityQuery k a b and (a, b), and the verifier accepts when the point
player's bit equals linearityCheck k of the pair player's bits. The seed k stays private.
The winning probability of the seeded linearity game is the acceptance probability of the linearity test.