Documentation

CslibFrontier.Foundations.Quantum.LinearityTest

Exactly linear observables from the linearity and consistency tests #

In a tensor-product strategy on ℂ^ι ⊗ ℂ^κ, let the first player answer a single query c with a ±1 observable A(c) ⊗ 1, and the second player answer a pair (a, b) with two commuting ±1 observables 1 ⊗ N₁(a, b) and 1 ⊗ N₂(a, b). If the linearity test correlation E_{a,b} Re φ((1 ⊗ N₁)(1 ⊗ N₂)(A(a + b) ⊗ 1)) is at least 1 - ε, and the consistency distances E_{a,b} ‖A(a) ⊗ 1 - 1 ⊗ N₁(a, b)‖²_φ, E_{a,b} ‖A(b) ⊗ 1 - 1 ⊗ N₂(a, b)‖²_φ are at most η₁ and η₂, then a projective measurement P on the first player's space ℂ^ι has unitary, exactly linear character observables with

E_a ‖(A(a) - χ_P(a)) ⊗ 1‖²_φ ≤ 40 (ε + √η₁ + √η₂)

(Cslib.Quantum.exists_isProjective_charObs_of_linearityTest).

It composes linearity from consistency (Cslib.Quantum.one_sub_le_expect_re_apply_mul_mul, the computation in the proof of Natarajan and Vidick, §3, Theorem 11, arXiv:1610.03574v1) with the same-space rounding (Cslib.Quantum.exists_isProjective_charObs_kroneckerOne_of_linear, a variant of their Theorem 10). Unlike the source, the rounded observables act on the first player's factor, with no ancilla. Deriving the correlations and distances from a strategy's winning probability, for the players' measurements and with the source's question distribution, is tracked in cslib-community/cslib-frontier#6149.

Main results #

References #

theorem Cslib.Quantum.exists_isProjective_charObs_of_linearityTest {ι : Type u_1} {κ : Type u_2} {n : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] [Fintype n] [DecidableEq n] (φ : AlgState (Matrix (ι × κ) (ι × κ) ℂ)) (A : (n → Bool) → Matrix ι ι ℂ) (hA : ∀ (a : n → Bool), IsSelfAdjoint (A a)) (hA2 : ∀ (a : n → Bool), A a * A a = 1) (N₁ N₂ : (n → Bool) → (n → Bool) → Matrix κ κ ℂ) (hN₁ : ∀ (a b : n → Bool), N₁ a b ∈ unitary (Matrix κ κ ℂ)) {ε η₁ η₂ : ℝ} (hL : 1 - ε ≤ Finset.univ.expect fun (a : n → Bool) => Finset.univ.expect fun (b : n → Bool) => (φ (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) 1 (N₁ a b) * Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) 1 (N₂ a b) * Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (A (a + b)) 1)).re) (hC₁ : (Finset.univ.expect fun (a : n → Bool) => Finset.univ.expect fun (b : n → Bool) => φ.norm (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (A a) 1 - Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) 1 (N₁ a b)) ^ 2) ≤ η₁) (hC₂ : (Finset.univ.expect fun (a : n → Bool) => Finset.univ.expect fun (b : n → Bool) => φ.norm (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (A b) 1 - Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) 1 (N₂ a b)) ^ 2) ≤ η₂) :
∃ (P : Measurement (n → Bool) (Matrix ι ι ℂ)), P.IsProjective ∧ (∀ (a : n → Bool), P.charObs a ∈ unitary (Matrix ι ι ℂ)) ∧ (∀ (a a' : n → Bool), P.charObs a * P.charObs a' = P.charObs (a + a')) ∧ (Finset.univ.expect fun (a : n → Bool) => φ.norm (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (A a - P.charObs a) 1) ^ 2) ≤ 40 * (ε + √η₁ + √η₂)

Exactly linear observables from the linearity and consistency tests, on the first player's factor of a tensor-product strategy.