Documentation

CslibFrontier.Foundations.Quantum.POVM.Postprocessing

Post-processing POVM outcomes #

A deterministic function on the outcomes combines the effects in each fibre. This pushes the distribution forward and commutes with forming a pair of local measurements.

noncomputable def Cslib.Quantum.POVM.map {A : Type u_1} {B : Type u_2} {ι : Type u_5} [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [DecidableEq B] (M : POVM A ι) (f : A → B) :
POVM B ι

Report f a when the original measurement has outcome a.

theorem Cslib.Quantum.POVM.map_effect {A : Type u_1} {B : Type u_2} {ι : Type u_5} [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [DecidableEq B] (M : POVM A ι) (f : A → B) (b : B) :
(M.map f).effect b = ∑ a : A with f a = b, M.effect a
theorem Cslib.Quantum.POVM.measure_map {A : Type u_1} {B : Type u_2} {ι : Type u_5} [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [DecidableEq B] (M : POVM A ι) (f : A → B) (ψ : EuclideanSpace ℂ ι) (hψ : ‖ψ‖ = 1) :
(M.map f).measure ψ hψ = PMF.map f (M.measure ψ hψ)

Measuring and post-processing give the pushforward of the original law.

theorem Cslib.Quantum.POVM.kronecker_map {A : Type u_1} {B : Type u_2} {C : Type u_3} {D : Type u_4} {ι : Type u_5} {κ : Type u_6} [Fintype A] [Fintype B] [Fintype C] [Fintype D] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] [DecidableEq C] [DecidableEq D] (M : POVM A ι) (N : POVM B κ) (f : A → C) (g : B → D) :
(M.map f).kronecker (N.map g) = (M.kronecker N).map (Prod.map f g)

Post-processing independently on the two sides commutes with their joint measurement.