Documentation

CslibFrontier.Foundations.Quantum.Algebra.Involution

Involutions, their projections and joint measurements #

A ±1 observable is a self-adjoint involution O: O⋆ = O and O² = 1. Its eigenspace projections are P_b(O) = (1 + σ_b O)/2 with the sign σ_b = Cslib.BitString.signVal b (Cslib.Quantum.signProj): self-adjoint idempotents with P_false + P_true = 1, P_b P_{!b} = 0 and O P_b = σ_b P_b. Measuring O gives the outcome b with effect P_b (Cslib.Quantum.Measurement.ofInvolution). Three pairwise commuting involutions are measured jointly by the products P_{a₀}(O₀) P_{a₁}(O₁) P_{a₂}(O₂) (Cslib.Quantum.Measurement.ofInvolution₃), the measurement a prover performs on a row of a linear-constraint game such as the magic square.

Two operators that are 0-close in a state, X ≈[φ; 0] Y, can be exchanged at the right end of any product inside the state: φ(cX) = φ(cY) (Cslib.Quantum.AlgState.apply_mul_eq_of_approx_zero). In a perfect strategy one prover's observables agree in this sense with the other's, and this is how the operators of one prover are transferred to the other.

Main definitions #

Main results #

theorem Cslib.Quantum.normalized_add_sub_mul_self_of_anticommute {A : Type u_1} [Ring A] [Algebra ℂ A] {X Y : A} (hX : X * X = 1) (hY : Y * Y = 1) (hXY : Y * X = -(X * Y)) (b : Bool) :
have C := ↑(√2 / 2) • bif b then X - Y else X + Y; C * C = 1

The normalized sum and difference of two anticommuting involutions are involutions. These are the tilted operators of the CHSH strategy.

noncomputable def Cslib.Quantum.signProj {A : Type u_1} [Ring A] [Algebra ℂ A] (O : A) (b : Bool) :
A

The eigenspace projection (1 + σ_b O)/2 of the ±1 observable O.

theorem Cslib.Quantum.map_signProj {A : Type u_1} [Ring A] [Algebra ℂ A] {B : Type u_2} {F : Type u_3} [Ring B] [Algebra ℂ B] [FunLike F A B] [AlgHomClass F ℂ A B] (f : F) (O : A) (b : Bool) :
f (signProj O b) = signProj (f O) b

Star-algebra homomorphisms carry projections to projections.

theorem Cslib.Quantum.signProj_add_signProj_not {A : Type u_1} [Ring A] [Algebra ℂ A] (O : A) (b : Bool) :
(signProj O b + signProj O !b) = 1
theorem Cslib.Quantum.sum_signProj {A : Type u_1} [Ring A] [Algebra ℂ A] (O : A) :
∑ b : Bool, signProj O b = 1
theorem Cslib.Quantum.signProj_sub_signProj {A : Type u_1} [Ring A] [Algebra ℂ A] (O O' : A) (b : Bool) :
signProj O b - signProj O' b = (2⁻¹ * ↑(BitString.signVal b)) • (O - O')
theorem Cslib.Quantum.mul_signProj {A : Type u_1} [Ring A] [Algebra ℂ A] {O : A} (hO : O * O = 1) (b : Bool) :

O P_b = σ_b P_b.

theorem Cslib.Quantum.signProj_mul_self {A : Type u_1} [Ring A] [Algebra ℂ A] {O : A} (hO : O * O = 1) (b : Bool) :
theorem Cslib.Quantum.signProj_mul_signProj_not {A : Type u_1} [Ring A] [Algebra ℂ A] {O : A} (hO : O * O = 1) (b : Bool) :
(signProj O b * signProj O !b) = 0
theorem Cslib.Quantum.signProj_mul_signProj_of_ne {A : Type u_1} [Ring A] [Algebra ℂ A] {O : A} (hO : O * O = 1) {b c : Bool} (h : b ≠ c) :
signProj O b * signProj O c = 0
theorem Commute.signProj_left {A : Type u_1} [Ring A] [Algebra ℂ A] {O O' : A} (h : Commute O O') (b : Bool) :

An observable commuting with O commutes with the projections of O.

theorem Commute.signProj {A : Type u_1} [Ring A] [Algebra ℂ A] {O O' : A} (h : Commute O O') (b c : Bool) :

The projections of commuting observables commute.

theorem Cslib.Quantum.nonneg_of_isSelfAdjoint_of_mul_self {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] {P : A} (hP : IsSelfAdjoint P) (hPP : P * P = P) :
0 ≤ P

A self-adjoint idempotent is nonnegative.

noncomputable def Cslib.Quantum.Measurement.ofInvolution {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] {O : A} (hO : IsSelfAdjoint O) (hO' : O * O = 1) :

The measurement of a ±1 observable: outcome b with effect (1 + σ_b O)/2.

noncomputable def Cslib.Quantum.signProj₃ {A : Type u_1} [Ring A] [Algebra ℂ A] (O₀ O₁ O₂ : A) :

The product P_{a₀}(O₀) P_{a₁}(O₁) P_{a₂}(O₂) of the projections of three observables.

noncomputable def Cslib.Quantum.Measurement.ofInvolution₃ {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] {O₀ O₁ O₂ : A} (h₀ : IsSelfAdjoint O₀) (h₁ : IsSelfAdjoint O₁) (h₂ : IsSelfAdjoint O₂) (h₀' : O₀ * O₀ = 1) (h₁' : O₁ * O₁ = 1) (h₂' : O₂ * O₂ = 1) (c₀₁ : Commute O₀ O₁) (c₀₂ : Commute O₀ O₂) (c₁₂ : Commute O₁ O₂) :

The joint measurement of three pairwise commuting ±1 observables.

theorem Cslib.Quantum.AlgState.apply_mul_eq_of_approx_zero {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {φ : AlgState A} {a b : A} (h : φ.Approx 0 a b) (c : A) :
φ (c * a) = φ (c * b)

Operators that are 0-close in a state can be exchanged at the right end of a product: φ(cX) = φ(cY).

theorem Cslib.Quantum.AlgState.apply_mul_signProj_eq_of_approx_zero {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [StarModule ℂ A] [SelfAdjointDecompose A] {φ : AlgState A} {X Y : A} (h : φ.Approx 0 X Y) (c : A) (b : Bool) :
φ (c * signProj X b) = φ (c * signProj Y b)

The projections of 0-close observables can be exchanged at the right end of a product.