Documentation

CslibFrontier.Foundations.Quantum.Algebra.Consistency

Consistent measurements are close #

Two measurements P and Q with the same outcomes whose effects commute, typically the measurements of two provers, can be performed jointly in a state φ; they agree with probability ∑_a Re φ(P_a Q_a) (Cslib.Quantum.Measurement.agreement). Consistency is the basic test of nonlocal games: ask both provers the same question and check that the answers agree.

When they agree with probability 1 - ε, their effects are close in the state: ∑_a ‖P_a - Q_a‖²_φ ≤ 2ε (Cslib.Quantum.Measurement.sum_norm_sub_sq_le), for arbitrary measurements, not only projective ones. The reason is that an effect 0 ≤ E ≤ 1 satisfies E² ≤ E (Cslib.Quantum.Measurement.effect_mul_self_le), so ‖P_a - Q_a‖² = φ(P_a²) + φ(Q_a²) - 2 φ(P_a Q_a) ≤ φ(P_a) + φ(Q_a) - 2 φ(P_a Q_a), and summing over a gives 2 - 2(1 - ε). This is the step "consistency implies closeness" of rigidity arguments Ji, Natarajan, Vidick, Wright and Yuen, §5.2, Fact 5.18(1).

Main definitions #

Main results #

References #

noncomputable def Cslib.Quantum.Measurement.agreement {α : Type u_1} {A : Type u_2} [Fintype α] [Ring A] [PartialOrder A] [Algebra ℂ A] (φ : AlgState A) (P Q : Measurement α A) :

The probability ∑_a Re φ(P_a Q_a) that the measurements P and Q agree in the state φ.

theorem Cslib.Quantum.Measurement.agreement_comm {α : Type u_1} {A : Type u_2} [Fintype α] [Ring A] [PartialOrder A] [Algebra ℂ A] (φ : AlgState A) (P Q : Measurement α A) (h : ∀ (a : α), Commute (P.effect a) (Q.effect a)) :
agreement φ P Q = agreement φ Q P

Exchanging the roles of commuting effects leaves their agreement unchanged.

theorem Cslib.Quantum.Measurement.agreement_map_map {α : Type u_1} {A : Type u_2} [Fintype α] [Ring A] [PartialOrder A] [Algebra ℂ A] {β : Type u_3} {γ : Type u_4} [Fintype β] [Fintype γ] [DecidableEq γ] [IsOrderedAddMonoid A] (φ : AlgState A) (P : Measurement α A) (Q : Measurement β A) (f : α → γ) (g : β → γ) :
agreement φ (map f P) (map g Q) = ∑ a : α, ∑ b : β, if f a = g b then (φ (P.effect a * Q.effect b)).re else 0

Agreement of two postprocessed measurements sums exactly the joint coefficients whose decoded outcomes match.

theorem Cslib.Quantum.Measurement.agreement_map_left {α : Type u_1} {A : Type u_2} [Fintype α] [Ring A] [PartialOrder A] [Algebra ℂ A] {β : Type u_3} [Fintype β] [DecidableEq β] [IsOrderedAddMonoid A] (φ : AlgState A) (P : Measurement α A) (Q : Measurement β A) (f : α → β) :
agreement φ (map f P) Q = ∑ a : α, (φ (P.effect a * Q.effect (f a))).re

If only the first measurement is postprocessed, the second outcome is determined by the image of the first outcome under the relabeling.

theorem Cslib.Quantum.Measurement.sum_re_effect_mul_effect {α : Type u_1} {A : Type u_2} [Fintype α] [Ring A] [PartialOrder A] [Algebra ℂ A] {β : Type u_3} [Fintype β] (φ : AlgState A) (P : Measurement α A) (Q : Measurement β A) :
∑ a : α, ∑ b : β, (φ (P.effect a * Q.effect b)).re = 1

The total joint mass of two complete measurements is one.

The agreement of commuting measurements is at most their total joint mass.

An element between 0 and 1 satisfies e² ≤ e.

theorem Cslib.Quantum.Measurement.sum_norm_sub_sq_eq_of_isProjective {α : Type u_1} {A : Type u_2} [Fintype α] [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] (φ : AlgState A) (P Q : Measurement α A) (h : ∀ (a : α), Commute (P.effect a) (Q.effect a)) (hP : P.IsProjective) (hQ : Q.IsProjective) :
∑ a : α, φ.norm (P.effect a - Q.effect a) ^ 2 = 2 - 2 * agreement φ P Q

For commuting projective measurements the squared distance is twice the disagreement.

theorem Cslib.Quantum.Measurement.sum_norm_sub_sq_le {α : Type u_1} {A : Type u_2} [Fintype α] [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [TopologicalSpace A] [ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [NonnegSpectrumClass ℝ A] [StarModule ℂ A] [SelfAdjointDecompose A] (φ : AlgState A) (P Q : Measurement α A) (h : ∀ (a : α), Commute (P.effect a) (Q.effect a)) :
∑ a : α, φ.norm (P.effect a - Q.effect a) ^ 2 ≤ 2 - 2 * agreement φ P Q

Consistency implies closeness: if the effects of P and Q commute, then ∑_a ‖P_a - Q_a‖²_φ ≤ 2 - 2 · agreement.

The sum of the squared effects of a measurement has state mass at most one.

theorem Cslib.Quantum.Measurement.two_mul_agreement_le_sum_re_effect_sq {α : Type u_1} {A : Type u_2} [Fintype α] [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] (φ : AlgState A) (P Q : Measurement α A) (h : ∀ (a : α), Commute (P.effect a) (Q.effect a)) :
2 * agreement φ P Q ≤ ∑ a : α, (φ (P.effect a * P.effect a)).re + ∑ a : α, (φ (Q.effect a * Q.effect a)).re

Agreement is bounded by the mean of the two squared-effect masses.

theorem Cslib.Quantum.Measurement.sum_norm_sub_sq_triangle {α : Type u_1} {A : Type u_2} [Fintype α] [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] (φ : AlgState A) (P Q R : Measurement α A) :
∑ a : α, φ.norm (P.effect a - R.effect a) ^ 2 ≤ 2 * (∑ a : α, φ.norm (P.effect a - Q.effect a) ^ 2 + ∑ a : α, φ.norm (Q.effect a - R.effect a) ^ 2)

Squared state distance between measurements satisfies a triangle bound with factor two.

theorem Cslib.Quantum.Measurement.sum_norm_sub_sq_le_of_agreement {α : Type u_1} {A : Type u_2} [Fintype α] [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [TopologicalSpace A] [ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [NonnegSpectrumClass ℝ A] [StarModule ℂ A] [SelfAdjointDecompose A] (φ : AlgState A) (P Q : Measurement α A) (h : ∀ (a : α), Commute (P.effect a) (Q.effect a)) {ε : ℝ} (hε : 1 - ε ≤ agreement φ P Q) :
∑ a : α, φ.norm (P.effect a - Q.effect a) ^ 2 ≤ 2 * ε

Measurements that agree with probability at least 1 - ε have effects that are close in the state: ∑_a ‖P_a - Q_a‖²_φ ≤ 2ε.

If two binary measurements have commuting effects, the squared distance between their observables is at most four times the probability that they disagree.

The squared distance of a binary observable from the identity is bounded by four times its true outcome probability.