Documentation

CslibFrontier.Computability.PCP.TwoProverGame.AlmostSynchronous

Projective rounding of almost-synchronous strategies #

The finite spectral mixture of Vidick, Theorem 3.1 in Schmidt coordinates. The mixture exactly recovers the reduced density. On each nonempty cut the component has the uniform Schmidt spectrum and projective effects. The error is the normalized squared column error on that cut.

noncomputable def Cslib.PCP.QuantumStrategy.spectralCutWeight {ι : Type u_1} [Fintype ι] (d : ι → ℝ) (s : { s : Finset ι // s.Nonempty }) :

The probability weight of a cut is its width times its dimension.

noncomputable def Cslib.PCP.QuantumStrategy.spectralCutDensity {ι : Type u_1} [DecidableEq ι] (s : { s : Finset ι // s.Nonempty }) :
Matrix ι ι ℂ

The totally mixed state on the cut, as a density matrix on the original space.

theorem Cslib.PCP.QuantumStrategy.sum_spectralCutWeight {ι : Type u_1} [Fintype ι] (d : ι → ℝ) (hd : ∀ (i : ι), 0 ≤ d i) (htrace : ∑ i : ι, d i = 1) :
∑ s : { s : Finset ι // s.Nonempty }, spectralCutWeight d s = 1
theorem Cslib.PCP.QuantumStrategy.diagonal_eq_sum_spectralCutDensity {ι : Type u_1} [Fintype ι] [DecidableEq ι] (d : ι → ℝ) (hd : ∀ (i : ι), 0 ≤ d i) :
(Matrix.diagonal fun (i : ι) => ↑(d i)) = ∑ s : { s : Finset ι // s.Nonempty }, spectralCutWeight d s • spectralCutDensity s

A nonempty cut carries the totally mixed density on its retained coordinates.

noncomputable def Cslib.PCP.QuantumStrategy.extendCutMatrix {ι : Type u_1} [DecidableEq ι] (s : Finset ι) (B : Matrix ↥s ↥s ℂ) :
Matrix ι ι ℂ

Extend a cut matrix by zero in both coordinates.

theorem Cslib.PCP.QuantumStrategy.cutColumnError_div_card_eq {ι : Type u_1} [Fintype ι] [DecidableEq ι] (s : { s : Finset ι // s.Nonempty }) (T : Matrix ι ι ℂ) (B : Matrix ↥↑s ↥↑s ℂ) :

Normalized column error equals the expectation of the squared operator error in the totally mixed state on the cut.

noncomputable def Cslib.PCP.QuantumStrategy.ofSpectralCut {ι : Type u_1} {X : Type u_2} {A : Type u_3} [DecidableEq ι] [Fintype A] (s : { s : Finset ι // s.Nonempty }) (M : X → Quantum.Measurement A (Matrix ↥↑s ↥↑s ℂ)) :
QuantumStrategy X X A A ↥↑s ↥↑s

The symmetric strategy on a cut with uniform squared Schmidt coefficients. When its supplied measurements are projective, this is a projective maximally entangled strategy.

@[simp]
theorem Cslib.PCP.QuantumStrategy.ofSpectralCut_alice_effect {ι : Type u_1} {X : Type u_2} {A : Type u_3} [DecidableEq ι] [Fintype A] (s : { s : Finset ι // s.Nonempty }) (M : X → Quantum.Measurement A (Matrix ↥↑s ↥↑s ℂ)) (x : X) (a : A) :
((ofSpectralCut s M).alice x).effect a = (M x).effect a
@[simp]
theorem Cslib.PCP.QuantumStrategy.ofSpectralCut_bob_effect {ι : Type u_1} {X : Type u_2} {A : Type u_3} [DecidableEq ι] [Fintype A] (s : { s : Finset ι // s.Nonempty }) (M : X → Quantum.Measurement A (Matrix ↥↑s ↥↑s ℂ)) (x : X) (a : A) :
((ofSpectralCut s M).bob x).effect a = ((M x).effect a).transpose
theorem Cslib.PCP.QuantumStrategy.ofSpectralCut_prob_eq_zero {ι : Type u_1} {X : Type u_2} {A : Type u_3} [DecidableEq ι] [Fintype A] (s : { s : Finset ι // s.Nonempty }) (M : X → Quantum.Measurement A (Matrix ↥↑s ↥↑s ℂ)) (hM : ∀ (x : X), (M x).IsProjective) (x : X) {a b : A} (hab : a ≠ b) :
(ofSpectralCut s M).prob x x a b = 0

Projective strategies on a uniform cut give zero probability to unequal answers on a repeated question.

theorem Cslib.PCP.QuantumStrategy.exists_projective_spectral_mixture {ι : Type u_1} {X : Type u_2} {A : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype A] [Fintype X] (d : ι → ℝ) (hd : ∀ (i : ι), 0 ≤ d i) (htrace : ∑ i : ι, d i = 1) (M : X → Quantum.POVM A ι) (ν : PMF X) :
have S := ofSchmidt d hd htrace M; have δ := ∑ x : X, (ν x).toReal * (1 - ∑ a : A, S.prob x x a a); ∃ (T : (s : { s : Finset ι // s.Nonempty }) → QuantumStrategy X X A A ↥↑s ↥↑s), (∀ (s : { s : Finset ι // s.Nonempty }) (x : X) (a : A), ((T s).alice x).effect a * ((T s).alice x).effect a = ((T s).alice x).effect a) ∧ (∀ (s : { s : Finset ι // s.Nonempty }) (x : X) (a : A), ((T s).bob x).effect a * ((T s).bob x).effect a = ((T s).bob x).effect a) ∧ (∀ (s : { s : Finset ι // s.Nonempty }) (x : X) (a b : A), a ≠ b → (T s).prob x x a b = 0) ∧ (∀ (s : { s : Finset ι // s.Nonempty }), extendCutMatrix (↑s) (Quantum.partialTraceRight (Quantum.pureState (T s).state)) = spectralCutDensity s) ∧ (∀ (s : { s : Finset ι // s.Nonempty }), 0 ≤ spectralCutWeight d s) ∧ ∑ s : { s : Finset ι // s.Nonempty }, spectralCutWeight d s = 1 ∧ Quantum.partialTraceRight (Quantum.pureState S.state) = ∑ s : { s : Finset ι // s.Nonempty }, spectralCutWeight d s • spectralCutDensity s ∧ (∑ x : X, (ν x).toReal * ∑ s : { s : Finset ι // s.Nonempty }, spectralCutWeight d s * ∑ a : A, have E := (M x).effect a - extendCutMatrix (↑s) (((T s).alice x).effect a); (E * E * spectralCutDensity s).trace.re) ≤ 9 * δ + 10 * √(2 * δ)

Vidick's finite projective mixture for a symmetric strategy in its Schmidt basis. The probabilities of the cuts and the component densities depend only on the input spectrum. Direct orthogonalization of the compressed POVMs gives the bound 9δ + 10√(2δ).