Documentation

CsdLean4.LF2.EffectAux

LF2: auxiliary effect constructions #

Category: 3-Local (LF2 Effect-algebra helpers).

Shared infrastructure for building concrete (possibly non-projective) effects, used by the Empirical POVM examples (trine, USD, …):

theorem CSD.LF2.psd_smul {N : } {M : Matrix (Fin N) (Fin N) } (hM : M.PosSemidef) {c : } (hc : 0 c) :
(c M).PosSemidef

(c • M) is positive semidefinite for 0 ≤ c (real) and PSD M, via the conjugation (√c·I)ᴴ M (√c·I) = c·M.

noncomputable def CSD.LF2.scaledRankOneEffect {N : } (c : ) (hc0 : 0 c) (hc1 : c 1) (φ : EuclideanSpace (Fin N)) ( : φ = 1) :

c|φ⟩⟨φ| as an Effect, for 0 ≤ c ≤ 1 and a unit vector φ. The c = 1 case is rankOneEffect.

Equations
Instances For
    @[simp]
    theorem CSD.LF2.scaledRankOneEffect_M {N : } (c : ) (hc0 : 0 c) (hc1 : c 1) (φ : EuclideanSpace (Fin N)) ( : φ = 1) :
    (scaledRankOneEffect c hc0 hc1 φ ).M = c outerProduct φ

    Tr(|ψ⟩⟨ψ| · M) = ⟨ψ, M ψ⟩ — the trace-form / expectation bridge.

    theorem CSD.LF2.scaledRankOne_quadratic {N : } (c : ) (φ ψ : EuclideanSpace (Fin N)) ( : φ = 1) ( : ψ = 1) :

    Quadratic form of a scaled rank-1 effect: ⟨ψ, (c|φ⟩⟨φ|) ψ⟩ = c‖⟨ψ,φ⟩‖². The per-outcome Born weight of a scaled rank-1 effect on a unit preparation.