Documentation

CslibFrontier.Computability.PCP.TwoProverGame.Schmidt

Symmetric quantum strategies in Schmidt coordinates #

A symmetric strategy, in the joint Schmidt basis of its state, is specified by a nonnegative spectrum summing to one and Alice's POVMs. The state has amplitudes √dᵢ at (i,i), and Bob's POVMs are the transposes of Alice's. This is the coordinate form of symmetry from Vidick, Definition 2.3.

def Cslib.Quantum.POVM.transpose {ι : Type u_1} {A : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype A] (M : POVM A ι) :
POVM A ι

Transpose every effect of a matrix POVM.

@[simp]
theorem Cslib.Quantum.POVM.transpose_effect {ι : Type u_1} {A : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype A] (M : POVM A ι) (a : A) :
noncomputable def Cslib.PCP.QuantumStrategy.schmidtVector {ι : Type u_1} [DecidableEq ι] (d : ι → ℝ) :

A bipartite vector with squared Schmidt coefficients d, in its Schmidt basis.

@[simp]
theorem Cslib.PCP.QuantumStrategy.schmidtVector_apply {ι : Type u_1} [DecidableEq ι] (d : ι → ℝ) (i j : ι) :
(schmidtVector d).ofLp (i, j) = if i = j then ↑√(d i) else 0
noncomputable def Cslib.PCP.QuantumStrategy.ofSchmidt {ι : Type u_1} {X : Type u_2} {A : Type u_3} [DecidableEq ι] [Fintype ι] [Fintype A] (d : ι → ℝ) (hd : ∀ (i : ι), 0 ≤ d i) (htrace : ∑ i : ι, d i = 1) (M : X → Quantum.POVM A ι) :
QuantumStrategy X X A A ι ι

The normalized symmetric strategy specified in its Schmidt basis.

@[simp]
theorem Cslib.PCP.QuantumStrategy.ofSchmidt_state {ι : Type u_1} {X : Type u_2} {A : Type u_3} [DecidableEq ι] [Fintype ι] [Fintype A] (d : ι → ℝ) (hd : ∀ (i : ι), 0 ≤ d i) (htrace : ∑ i : ι, d i = 1) (M : X → Quantum.POVM A ι) :
(ofSchmidt d hd htrace M).state = schmidtVector d
@[simp]
theorem Cslib.PCP.QuantumStrategy.ofSchmidt_alice_effect {ι : Type u_1} {X : Type u_2} {A : Type u_3} [DecidableEq ι] [Fintype ι] [Fintype A] (d : ι → ℝ) (hd : ∀ (i : ι), 0 ≤ d i) (htrace : ∑ i : ι, d i = 1) (M : X → Quantum.POVM A ι) (x : X) (a : A) :
((ofSchmidt d hd htrace M).alice x).effect a = (M x).effect a
@[simp]
theorem Cslib.PCP.QuantumStrategy.ofSchmidt_bob_effect {ι : Type u_1} {X : Type u_2} {A : Type u_3} [DecidableEq ι] [Fintype ι] [Fintype A] (d : ι → ℝ) (hd : ∀ (i : ι), 0 ≤ d i) (htrace : ∑ i : ι, d i = 1) (M : X → Quantum.POVM A ι) (x : X) (a : A) :
((ofSchmidt d hd htrace M).bob x).effect a = ((M x).effect a).transpose
theorem Cslib.PCP.QuantumStrategy.prob_ofSchmidt_same {ι : Type u_1} {X : Type u_2} {A : Type u_3} [DecidableEq ι] [Fintype ι] [Fintype A] (d : ι → ℝ) (hd : ∀ (i : ι), 0 ≤ d i) (htrace : ∑ i : ι, d i = 1) (M : X → Quantum.POVM A ι) (x : X) (a : A) :
(ofSchmidt d hd htrace M).prob x x a a = ∑ i : ι, ∑ j : ι, √(d i) * √(d j) * ‖(M x).effect a i j‖ ^ 2

The probability of a matching answer is the squared-entry sum with geometric-mean weights.

theorem Cslib.PCP.QuantumStrategy.prob_ofSchmidt_const {ι : Type u_1} {X : Type u_2} {A : Type u_3} [DecidableEq ι] [Fintype ι] [Fintype A] (r : ℝ) (hr : 0 ≤ r) (htrace : ∑ x : ι, r = 1) (M : X → Quantum.POVM A ι) (x y : X) (a b : A) :
(ofSchmidt (fun (x : ι) => r) ⋯ htrace M).prob x y a b = r * ((M x).effect a * (M y).effect b).trace.re

On a uniform Schmidt spectrum, the joint probability is the normalized trace of the product of the two Alice effects. Bob's effect is the transpose of the second effect.

theorem Cslib.PCP.QuantumStrategy.partialTraceRight_pureState_schmidtVector {ι : Type u_1} [DecidableEq ι] [Fintype ι] (d : ι → ℝ) (hd : ∀ (i : ι), 0 ≤ d i) :

Tracing out Bob in the Schmidt basis gives the diagonal matrix of squared coefficients.