Documentation

CsdLean4.RecordLayer.BasisMeasurement

SigmaLayer/BasisMeasurement: the record layer for an arbitrary observable (MD-1) #

Category: 7-SigmaLayer (the record layer — arbitrary measurement context).

The record layer of SigmaLayer/Measurement.lean is stated in the computational basis (bornRate ψ i = ‖ψ i‖²). This file generalises it to an arbitrary observable — any orthonormal basis b : OrthonormalBasis (Fin n) ℂ E of a complex inner-product space E — with the outcome probability the standard Born weight ‖⟨bᵢ, ψ⟩‖². The generalisation is a change of basis: measuring ψ in context b is measuring the coordinate representation b.repr ψ in the computational basis, so every record-layer theorem transports along the isometry b.repr.

Foundational-triple, no sorry.

References #

SigmaLayer/Measurement.lean (the computational-basis record layer, bornMeasurement); Mathlib OrthonormalBasis.repr (the isometry to EuclideanSpace).

noncomputable def CSD.RecordLayer.bornRateBasis {n : } {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace E] (b : OrthonormalBasis (Fin n) E) (ψ : E) (i : Fin n) :

The Born rate for a general observable (orthonormal basis b): the squared overlap ‖⟨bᵢ, ψ⟩‖², realised as the computational-basis rate of the coordinate representation b.repr ψ.

Equations
Instances For
    theorem CSD.RecordLayer.bornRateBasis_eq_inner_sq {n : } {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace E] (b : OrthonormalBasis (Fin n) E) (ψ : E) (i : Fin n) :
    bornRateBasis b ψ i = inner (b i) ψ ^ 2

    The general Born rate is the standard squared overlap ‖⟨bᵢ, ψ⟩‖².

    The coordinate representation is norm-preserving (b.repr is an isometry).

    theorem CSD.RecordLayer.sum_bornRateBasis_unit {n : } {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace E] (b : OrthonormalBasis (Fin n) E) (ψ : E) ( : ψ = 1) :
    i : Fin n, bornRateBasis b ψ i = 1

    The general Born rates form a probability vector on a unit state.

    The record-layer measurement in a general observable context b: the computational-basis Born measurement of the coordinate representation b.repr ψ.

    Equations
    Instances For

      The basins set the probabilities = Born, in any observable context. The outcome-i probability of the measurement in context b is exactly ‖⟨bᵢ, ψ⟩‖².