The barycentre: the density operator of a preparation is ∫ |ψ⟩⟨ψ| d(π_* μprep) #
Category: 3-Local (W3 of specs/qit-chain-scoping.md; the ontic identification of the
density operator W2 obtained as a Gleason witness).
W2 (LF2/PreparationQdensity.lean) gave every preparation on Σ a density operator
preparationDensity, characterised uniquely by its trace form — effect_gleason_representation
on fromPreparation. That characterisation says what the operator does, not what it is. This
module says what it is: the barycentre of the rank-one projectors |rep ψ⟩⟨rep ψ| along the
projective law π_* μprep, an entrywise Bochner integral. So the density operator of a
preparation is the ontic average of pure-state projectors over the preparation's projective
distribution — the object Papers C and TN2 write as ∫ |ψ⟩⟨ψ| ρ_ep(ψ) dμ_FS(ψ).
entryFn,barycenterMatrix— the entry functionsψ ↦ ψⱼ conj ψₖand their integrals;barycenterMatrix_isHermitian,barycenterMatrix_trace,barycenterMatrix_posSemidef— the barycentre against a probability measure is Hermitian, has trace one (∑ⱼ |ψⱼ|² = ‖ψ‖² = 1under the integral), and is positive semidefinite (its quadratic form atuis∫ |⟨u, ψ⟩|²,dotProduct_barycenterMatrix_mulVec);barycenterDensity— the barycentre packaged as aDensityOperator, andbarycenterDensity_traceForm— its trace form against an effect is the integral of the effect function (trace_barycenterMatrix_mul: the trace ofB · Eis the integral oftr(|ψ⟩⟨ψ| E), whicheffectProjFn_eq_sumexpands entrywise);preparationBarycenter— the barycentre of a preparation onΣ, alongπ_* μprep;- ★★
preparationDensity_eq_barycenter— the identification:preparationDensity(the Gleason witness) equalspreparationBarycenter, by the uniqueness half ofeffect_gleason_representation; - ★★
preparationDensity_apply— entrywise:ρ_{jk} = ∫ ψⱼ conj ψₖ d(π_* μprep)(ψ); - ★
preparationDensity_apply_rnDeriv— theρ_epform: whenπ_* μprep ≪ μFS, withρ_epits Radon–Nikodym derivative,ρ_{jk} = ∫ ρ_ep(ψ) ψⱼ conj ψₖ dμFS(ψ).
Honest scope #
The ρ_ep form takes absolute continuity as a hypothesis here, in the abstract SectorData
interface. For region preparations of the SigmaLayer interface it is a theorem
(projectivePreparationLaw_absolutelyContinuous), and SigmaLayer/PreparationDensityBridge.lean
composes the two: preparationDensity_apply_rhoEp is this formula with Q28's Radon–Nikodym density
and no hypothesis, and kahler_preparationDensity_apply is its instance on the Kähler arena with
c = 1. The barycentre identification itself (preparationDensity_eq_barycenter) needs no such
hypothesis.
⚠️ Same posits as W2. The sector is posited (specs/POSITS.md Posit 2); what is proved is
that, given it, the density operator of a preparation is the barycentre.
References: specs/qit-chain-scoping.md (W3); LF2/PreparationQdensity.lean (W2);
LF2/EffectGleason.lean (effect_gleason_representation, trace_mul_outerProduct);
LF2/Preparation.lean (fromPreparation, effectProjFn_integrable).
The barycentre of rank-one projectors, over any finite index #
The entry function p ↦ (rep p)ⱼ · conj (rep p)ₖ of the rank-one projector |rep p⟩⟨rep p|.
Instances For
The entrywise barycentre of the rank-one projectors |rep p⟩⟨rep p| against μ.
Equations
- CSD.LF2.barycenterMatrix rep μ = Matrix.of fun (j k : ι) => ∫ (p : Q), CSD.LF2.entryFn rep j k p ∂μ
Instances For
The coordinate map p ↦ (rep p) j is measurable.
The entry functions are integrable: measurable and bounded by 1.
The barycentre is a density operator #
The barycentre is Hermitian: conjugating an entry integral conjugates the integrand, and
conj ((rep p)ₖ conj (rep p)ⱼ) = (rep p)ⱼ conj (rep p)ₖ.
The barycentre against a probability measure has trace one.
Pointwise: the quadratic form of |rep p⟩⟨rep p| at u is |⟨u, rep p⟩|², expanded.
The quadratic form of the barycentre at u is the integral of |⟨u, rep p⟩|².
The barycentre is positive semidefinite: its quadratic form is an integral of |⟨u, ψ⟩|².
The barycentre density operator, index-parametric: ∫ |rep p⟩⟨rep p| dμ(p) as a
DensityOperatorIx ι (the structure partial traces live on).
Equations
- CSD.LF2.barycenterDensityIx rep hrep_unit hrep_meas μ = { M := CSD.LF2.barycenterMatrix rep μ, isHermitian := ⋯, nonneg := ⋯, trace_one := ⋯ }
Instances For
The effect function is the real part of tr(|rep p⟩⟨rep p| · E), and that trace is real
(both factors Hermitian), so as a complex number it IS the trace — expanded entrywise:
∑ⱼₖ (rep p)ⱼ conj (rep p)ₖ E ₖⱼ.
The trace form of the barycentre against an effect is the integral of the effect function.
The barycentre density operator ∫ |rep p⟩⟨rep p| dμ(p) of a unit-norm measurable
representative against a probability measure.
Equations
- CSD.LF2.barycenterDensity rep hrep_unit hrep_meas μ = { M := CSD.LF2.barycenterMatrix rep μ, isHermitian := ⋯, nonneg := ⋯, trace_one := ⋯ }
Instances For
The trace form of the barycentre density operator is the integral of the effect function.
The identification: the density operator of a preparation IS its barycentre #
The projective law π_* μprep of a preparation is a probability measure.
The barycentre of a preparation: ∫ |rep ψ⟩⟨rep ψ| d(π_* μprep)(ψ), packaged as a density
operator.
Equations
- CSD.LF2.preparationBarycenter D μprep rep hrep_unit hrep_meas = CSD.LF2.barycenterDensity rep hrep_unit hrep_meas (MeasureTheory.Measure.map D.π μprep)
Instances For
★★ The density operator of a preparation IS its barycentre. The Gleason witness of
fromPreparation (W2) and the Bochner integral of the rank-one projectors along the projective law
have the same trace form, so by effect_gleason_representation's uniqueness they are equal.
★★ Entrywise: ρ_{jk} = ∫ ψⱼ conj ψₖ d(π_* μprep)(ψ).
★ The ρ_ep form. When the projective law is absolutely continuous with respect to the
reference measure μFS — ρ_ep := d(π_* μprep)/dμFS its Radon–Nikodym derivative — the density
operator is ∫ |ψ⟩⟨ψ| ρ_ep(ψ) dμFS(ψ) entrywise.