Multi-outcome classical readouts of computational-basis measurements #
Measuring a unit quantum state ψ : EuclideanSpace ℂ ι in the computational basis and applying
a classical readout map out : ι → β yields a probability mass function Cslib.Quantum.measureOut
over arbitrary outcome values β (such as ℝ or an ordered alphabet α).
Main definitions #
Cslib.Quantum.measureOut: distribution of a classical readout of a computational-basis measurement.
Main results #
Cslib.Quantum.measureOut_apply: probability mass of an outcome valueb : β.Cslib.Quantum.measureOut_ket: reading a basis state returns its readout with certainty.Cslib.Quantum.measureOut_map: classical postprocessing composes with the readout.Cslib.Quantum.measureOut_eq_ofReal_measureProb: point mass atbequals the computational-basis probability of the readout fiber overb.Cslib.Quantum.measureOut_toOuterMeasure_apply: event probabilities undermeasureOut.
@[simp]
theorem Cslib.Quantum.measureOut_ket {ι : Type u_1} {β : Type u_2} [Fintype ι] [DecidableEq ι] (x : ι) (out : ι → β) :
Reading a computational basis state returns its classical readout with certainty.
theorem Cslib.Quantum.measureOut_map {ι : Type u_1} {β : Type u_2} {γ : Type u_3} [Fintype ι] (ψ : EuclideanSpace ℂ ι) (hψ : ‖ψ‖ = 1) (out : ι → β) (f : β → γ) :
Applying a deterministic postprocessing map after measurement is the same as composing it with the classical readout.
@[simp]
theorem Cslib.Quantum.measureOut_apply {ι : Type u_1} {β : Type u_2} [Fintype ι] (ψ : EuclideanSpace ℂ ι) (hψ : ‖ψ‖ = 1) (out : ι → β) (b : β) :
Probability mass of an outcome value b under measureOut.
theorem Cslib.Quantum.measureOut_toOuterMeasure_apply {ι : Type u_1} {β : Type u_2} [Fintype ι] (ψ : EuclideanSpace ℂ ι) (hψ : ‖ψ‖ = 1) (out : ι → β) (P : β → Prop) [DecidablePred P] :
(measureOut ψ hψ out).toOuterMeasure {b : β | P b} = ENNReal.ofReal (measureProb ψ {y : ι | P (out y)})
The probability that measureOut lands in {b | P b} equals measureProb of the preimage
subset {y | P (out y)}.
theorem Cslib.Quantum.measureOut_eq_ofReal_measureProb {ι : Type u_1} {β : Type u_2} [Fintype ι] [DecidableEq β] (ψ : EuclideanSpace ℂ ι) (hψ : ‖ψ‖ = 1) (out : ι → β) (b : β) :
Point mass of measureOut at b : β equals ENNReal.ofReal of measureProb on the preimage
fiber {a | out a = b}.