Classical mixtures of algebraic measurements #
An independent classical draw chooses a measurement. Its effect at each outcome is the average of that outcome's effects.
theorem Cslib.Quantum.AlgState.re_apply_uniformAverage {ι : Type u_1} {A : Type u_2} [Fintype ι] [CStarAlgebra A] [PartialOrder A] (φ : AlgState A) (f : ι → A) :
Evaluating a uniform average of operators gives the average of their state expectations.
noncomputable def Cslib.Quantum.Measurement.mixture {ι : Type u_1} {α : Type u_2} {A : Type u_3} [Fintype ι] [Fintype α] [Ring A] [PartialOrder A] [IsOrderedAddMonoid A] [Module ℝ A] [PosSMulMono ℝ A] (p : PMF ι) (M : ι → Measurement α A) :
Measurement α A
Randomly choose a measurement according to a finite probability mass function.
theorem Cslib.Quantum.Measurement.mixture_effect {ι : Type u_1} {α : Type u_2} {A : Type u_3} [Fintype ι] [Fintype α] [Ring A] [PartialOrder A] [IsOrderedAddMonoid A] [Module ℝ A] [PosSMulMono ℝ A] (p : PMF ι) (M : ι → Measurement α A) (a : α) :
theorem Cslib.Quantum.Measurement.mixture_uniform_effect {ι : Type u_1} {α : Type u_2} {A : Type u_3} [Fintype ι] [Fintype α] [Ring A] [PartialOrder A] [IsOrderedAddMonoid A] [Module ℝ A] [PosSMulMono ℝ A] [Nonempty ι] (M : ι → Measurement α A) (a : α) :
(mixture (Probability.PMF.uniformOfFintype ι) M).effect a = (↑(Fintype.card ι))⁻¹ • ∑ i : ι, (M i).effect a
Mixing uniformly gives the ordinary finite average of each effect.
theorem Cslib.Quantum.Measurement.map_mixture {ι : Type u_1} {α : Type u_2} {A : Type u_3} [Fintype ι] [Fintype α] [Ring A] [PartialOrder A] [IsOrderedAddMonoid A] [Module ℝ A] [PosSMulMono ℝ A] {β : Type u_4} [Fintype β] [DecidableEq β] (p : PMF ι) (M : ι → Measurement α A) (f : α → β) :
Classical mixing commutes with postprocessing measurement outcomes.