Documentation

CslibFrontier.Foundations.Quantum.Algebra.Expect

Averages in a state #

Rigidity arguments average over questions, group elements and outcomes. Mathlib's uniform average š”¼ i ∈ s, f i (Finset.expect) handles these averages, and the state norm ‖·‖_φ behaves under it like a norm:

Main results #

theorem Cslib.Quantum.AlgState.norm_sum_le {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ā„‚ A] [StarModule ā„‚ A] [SelfAdjointDecompose A] (φ : AlgState A) {ι : Type u_2} (s : Finset ι) (a : ι → A) :
φ.norm (āˆ‘ i ∈ s, a i) ≤ āˆ‘ i ∈ s, φ.norm (a i)

The triangle inequality over finite sums.

theorem Cslib.Quantum.AlgState.norm_sub_sq_le_through {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ā„‚ A] [StarModule ā„‚ A] [SelfAdjointDecompose A] (φ : AlgState A) (a b c : A) :
φ.norm (a - c) ^ 2 ≤ 2 * φ.norm (a - b) ^ 2 + 2 * φ.norm (b - c) ^ 2

Squared state-norm distance through an intermediate operator.

theorem Cslib.Quantum.AlgState.expect_norm_sub_sq_le_through {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ā„‚ A] [StarModule ā„‚ A] [SelfAdjointDecompose A] (φ : AlgState A) {ι : Type u_2} (s : Finset ι) (a b c : ι → A) :
(s.expect fun (i : ι) => φ.norm (a i - c i) ^ 2) ≤ (2 * s.expect fun (i : ι) => φ.norm (a i - b i) ^ 2) + 2 * s.expect fun (i : ι) => φ.norm (b i - c i) ^ 2

Averaged squared state-norm distance through an intermediate family.

theorem Cslib.Quantum.AlgState.re_apply_expect {A : Type u_1} [Ring A] [PartialOrder A] [Algebra ā„‚ A] (φ : AlgState A) {ι : Type u_2} (s : Finset ι) [Module ā„šā‰„0 A] (f : ι → A) :
(φ (s.expect fun (i : ι) => f i)).re = s.expect fun (i : ι) => (φ (f i)).re

The real expectation in a state commutes with finite uniform averaging.

theorem Cslib.Quantum.AlgState.norm_expect_le {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ā„‚ A] [StarModule ā„‚ A] [SelfAdjointDecompose A] (φ : AlgState A) {ι : Type u_2} (s : Finset ι) [Module ā„šā‰„0 A] (a : ι → A) :
φ.norm (s.expect fun (i : ι) => a i) ≤ s.expect fun (i : ι) => φ.norm (a i)

The triangle inequality for averages.

theorem Cslib.Quantum.AlgState.norm_expect_sq_le {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ā„‚ A] [StarModule ā„‚ A] [SelfAdjointDecompose A] (φ : AlgState A) {ι : Type u_2} (s : Finset ι) [Module ā„šā‰„0 A] (a : ι → A) :
φ.norm (s.expect fun (i : ι) => a i) ^ 2 ≤ s.expect fun (i : ι) => φ.norm (a i) ^ 2

Jensen for the state norm: ā€–š”¼_i a_i‖²_φ ≤ š”¼_i ‖a_i‖²_φ.

theorem Cslib.Quantum.AlgState.norm_sub_expect_sq_le {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ā„‚ A] [StarModule ā„‚ A] [SelfAdjointDecompose A] (φ : AlgState A) {ι : Type u_2} (s : Finset ι) [Module ā„šā‰„0 A] (hs : s.Nonempty) (a : A) (b : ι → A) :
φ.norm (a - s.expect fun (i : ι) => b i) ^ 2 ≤ s.expect fun (i : ι) => φ.norm (a - b i) ^ 2

Squared distance to a fixed operator is convex under a nonempty finite average.

theorem Cslib.Quantum.AlgState.norm_expect_sub_sq_le {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ā„‚ A] [StarModule ā„‚ A] [SelfAdjointDecompose A] (φ : AlgState A) {ι : Type u_2} (s : Finset ι) [Module ā„šā‰„0 A] (hs : s.Nonempty) (a : ι → A) (b : A) :
φ.norm ((s.expect fun (i : ι) => a i) - b) ^ 2 ≤ s.expect fun (i : ι) => φ.norm (a i - b) ^ 2

Squared distance from a finite average to a fixed operator.

theorem Cslib.Quantum.AlgState.norm_expect_sub_expect_sq_le_of_half {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ā„‚ A] [StarModule ā„‚ A] [SelfAdjointDecompose A] (φ : AlgState A) {ι : Type u_2} (s : Finset ι) [Module ā„šā‰„0 A] [Fintype ι] [Nonempty ι] (hs : s.Nonempty) (hd : 1 / 2 ≤ ↑s.dens) (a b : ι → A) :
φ.norm ((Finset.univ.expect fun (i : ι) => a i) - Finset.univ.expect fun (i : ι) => b i) ^ 2 ≤ (12 * s.expect fun (i : ι) => Finset.univ.expect fun (j : ι) => φ.norm (a i - b j) ^ 2) + 2 * s.expect fun (j : ι) => Finset.univ.expect fun (i : ι) => φ.norm (a i - b j) ^ 2

If either family is first sampled on a subset of at least half the indices and compared with the other on all indices, the two resulting distances control the distance of the full averages. The common restricted averages supply the intermediate operators.

theorem Cslib.Quantum.AlgState.norm_expect_mul_sq_le {A : Type u_1} [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ā„‚ A] [StarModule ā„‚ A] [SelfAdjointDecompose A] (φ : AlgState A) {ι : Type u_2} (s : Finset ι) [Module ā„šā‰„0 A] {u d : ι → A} (hu : āˆ€ i ∈ s, star (u i) * u i ≤ 1) :
φ.norm (s.expect fun (i : ι) => u i * d i) ^ 2 ≤ s.expect fun (i : ι) => φ.norm (d i) ^ 2

Jensen with contractions: ā€–š”¼_i u_i d_i‖²_φ ≤ š”¼_i ‖d_i‖²_φ when every u_i is a contraction.