Linearity from consistency #
In the two-player linearity test, one player answers a single query a + b with an observable
A(a + b), and the other answers the pair (a, b) with two commuting observables N₁(a, b) and
N₂(a, b). The test checks the product N₁ N₂ against A(a + b), and the consistency tests
check N₁(a, b) against A(a) and N₂(a, b) against A(b).
If the other player's observables commute with the first player's, then passing these tests makes the first player's observables linear on average:
E_{a,b} Re φ(A(a) A(b) A(a + b)) ≥ 1 - ε - √η₁ - √η₂
(Cslib.Quantum.one_sub_le_expect_re_apply_mul_mul), where 1 - ε is the average correlation
Re φ(N₁ N₂ A(a + b)) and η₁, η₂ bound the average squared distances ‖A(a) - N₁(a, b)‖²_φ
and ‖A(b) - N₂(a, b)‖²_φ. The proof moves each factor A(a), A(b) to the other player's
consistent copy and commutes it past the first player's operators
(Cslib.Quantum.re_apply_mul_mul_ge). This is the computation in
Natarajan and Vidick, §3, proof of Theorem 11 (arXiv:1610.03574v1), in any
state of any star-ordered algebra, with exact constants, and with the test outcomes written as
correlations of observables. Relating a strategy's winning probability to these correlations and
distances is tracked in cslib-community/cslib-frontier#6149.
Together with the rounding of approximately linear observables
(Cslib.Quantum.exists_isProjective_charObs_of_linear), the bound gives exactly linear unitaries
close to A.
Main results #
Cslib.Quantum.re_apply_mul_mul_ge: the pointwise estimate.Cslib.Quantum.one_sub_le_expect_re_apply_mul_mul: linearity on average from the linearity and consistency tests.
References #
Pointwise estimate. If N₁ commutes with A₂ and A₃, and N₂ commutes with A₃, then
Re φ(A₃ A₂ A₁) ≥ Re φ(N₁ N₂ A₃) - ‖A₁ - N₁‖_φ - ‖A₂ - N₂‖_φ, for contractions A₂, A₃, N₁.
Linearity from consistency. Let A(a) be contractions, and N₁(a, b), N₂(a, b) operators
commuting with every A(c), with N₁(a, b) a contraction. If
E_{a,b} Re φ(N₁(a, b) N₂(a, b) A(a + b)) ≥ 1 - ε, E_{a,b} ‖A(a) - N₁(a, b)‖²_φ ≤ η₁ and
E_{a,b} ‖A(b) - N₂(a, b)‖²_φ ≤ η₂, then E_{a,b} Re φ(A(a) A(b) A(a + b)) ≥ 1 - ε - √η₁ - √η₂.