PhyslibAlpha.AlgebraicFramework.CStarAlgebra.Uncertainty
Uncertainty relations
Positivity of a state gives a Cauchy–Schwarz inequality for expectation values. Applied to centered observables, this yields the Robertson–Schrödinger and Robertson uncertainty relations.
Unlike `StarAlgebra.Statistics`, this file genuinely needs a C⋆-algebra: `gns_cauchy_schwarz`, the seed of every inequality below, is Cauchy–Schwarz for the sesquilinear form `(x, y) ↦ ω(x⋆y)`, and the cleanest route to it is through the GNS Hilbert space `ω.GNS` of `CStarAlgebra.GNS` — the completion needs `CStarAlgebra A`, not just a bare star-ordered ring. We get it from the already-built `UnitalPositiveLinearMap.gnsRep`/`gnsCyclicVector` API (rather than reaching past `GNS.lean` into mathlib's raw `PreGNS` machinery) via the identity `⟪π_ω(x) Ω_ω, π_ω(y) Ω_ω⟫ = ω(x⋆y)`: expand the inner product using that `π_ω` is a ⋆-representation and that `Ω_ω` reproduces `ω` (`inner_gnsCyclicVector_gnsRep_gnsCyclicVector`), then invoke the general Cauchy–Schwarz inequality `inner_mul_inner_self_le` on the Hilbert space `ω.GNS`.
The commutator observable used to state the relations is the Lie bracket `⁅a, b⁆` already built in `StarAlgebra/Lie.lean`; the only fact about it needed here beyond what that file already proves is that centering leaves it unchanged (`bracket_centered`).
Main results
- `gns_cauchy_schwarz` : Cauchy–Schwarz for the state-induced sesquilinear form on `A`. - `robertson_schrodinger` : the Robertson–Schrödinger uncertainty inequality, jointly bounding covariance and the commutator's expectation by the product of the spreads. - `covariance_cauchy_schwarz`, `robertson` : the familiar `|correlation| ≤ σ_a σ_b` and Heisenberg-type `|⟨⁅a,b⁆⟩| ≤ σ_a σ_b` relations obtained from it by dropping one term.
Cauchy–Schwarz
Uncertainty relations
17 declarations
The commutator is invariant under centering:
Let be a unital -algebra and be a state on . For any observables , let the centered observables be defined by and , where is the identity element of . Then the commutator of the centered observables is equal to the commutator of the original observables: where denotes the Lie bracket (commutator).
Let be a state (a unital positive linear map) on a -algebra . For any two observables , let and denote their centered fluctuations. The expectation value of the product of these fluctuations decomposes into a real symmetric part (the covariance) and an imaginary antisymmetric part (half the expectation of the commutator): where is the covariance and is the commutator of and .
Let be a unital -algebra and be a state (a unital positive linear map) on . Let be the GNS representation of on the Hilbert space , and let be the GNS cyclic vector. For any elements , the inner product in of the vectors and is given by the value of the state on the product : where denotes the adjoint of .
Cauchy–Schwarz Inequality for State-induced Sesquilinear Forms
Let be a -algebra and be a state on (a unital positive linear map). For any elements , the following inequality holds: where denotes the adjoint of , denotes the complex modulus, and denotes the real part.
Let be a state (a unital positive linear map) on a -algebra . For any observables , let and denote the centered observables (fluctuations). Then the product of the norms of the expectations of their cross-fluctuations is bounded by the product of their variances: where is the variance of the observable in the state .
Cauchy–Schwarz Inequality for Centered Observables:
Let be a unital -algebra and be a state (a unital positive linear map). For any two observables (self-adjoint elements), let and be the centered observables. The squared magnitude of the expectation value of the product of these centered observables is bounded by the product of their variances: where denotes the variance of the observable with respect to the state .
The Robertson–Schrödinger Uncertainty Inequality
Let be a -algebra and be a state (a unital positive linear map) on . For any two observables (self-adjoint elements) , the Robertson–Schrödinger uncertainty inequality holds: where and are the variances of and with respect to the state , is their covariance, and is the commutator of and .
Covariance Cauchy-Schwarz Inequality:
Let be a state on a -algebra . For any two observables and in , the square of their covariance with respect to is less than or equal to the product of their variances: where denotes the covariance of and , and denotes the variance of an observable under the state .
Robertson Uncertainty Relation:
Let be a state on a unital -algebra . For any two observables , the square of the expectation value of their commutator (multiplied by to ensure it is real) is less than or equal to the product of their variances: where is the commutator and is the variance of the observable in the state . This result is a version of Heisenberg's uncertainty relation obtained by neglecting the covariance term in the Robertson–Schrödinger inequality.
Gram defect
Let be a state (a unital positive linear map) on a -algebra , and let be observables (self-adjoint elements) in . The **centered Gram defect** is the real-valued difference between the product of the variances of and and the squared absolute value of the expectation of the product of their centered fluctuations: where and are the centered observables, and is the variance of in the state . This quantity represents the non-negative gap in the Robertson–Schrödinger uncertainty relation.
The centered Gram defect is non-negative:
Let be a state (a unital positive linear map) on a -algebra . For any two observables (self-adjoint elements) , the centered Gram defect is non-negative: where and are the centered observables, and is the variance of in the state .
Let be a star-algebra and be a state (a unital positive linear map) on . For any two observables (self-adjoint elements) , let and denote the centered observables representing the fluctuations of and about their mean values. The squared absolute value of the expectation of the product is equal to the sum of the square of the covariance of and and the square of the expectation of their Lie bracket: where and .
Robertson's Gap Equals Gram Defect plus Squared Covariance
Let be a star-algebra and be a state (a unital positive linear map) on . For any two observables (self-adjoint elements), the difference between the product of their variances and the square of the expectation of their Lie bracket is equal to the sum of the centered Gram defect and the square of their covariance: In this expression, denotes the variance of observable , is the covariance of and , and the centered Gram defect is defined as , where represents the fluctuation of about its mean.
Robertson–Schrödinger Equality iff Zero Centered Gram Defect
Let be a state (a unital positive linear map) on a -algebra , and let and be observables (self-adjoint elements) in . The Robertson–Schrödinger uncertainty relation is saturated, satisfying the equality if and only if the centered Gram defect of and in the state is zero. Here, denotes the covariance, the variance, and the Lie bracket of the observables.
iff Centered Gram Defect and Covariance are Zero
Let be a state (a unital positive linear map) on a -algebra . For any two observables (self-adjoint elements), let be their Lie bracket, be the variance of an observable, and be their covariance. The Robertson uncertainty relation saturates, meaning if and only if the centered Gram defect is zero () and the covariance between the observables is zero (). This equivalence holds generally, including cases where the variance is zero, without the need for division.
for normalized commutator expectation
Let be a state (a unital positive linear map) on a -algebra , and let and be observables (self-adjoint elements). If the expectation value of their Lie bracket satisfies the normalization condition then the product of their variances satisfies the inequality where denotes the variance of an observable in the state .
Let be a state (a unital positive linear map) on a -algebra . For any two observables (self-adjoint elements), let be their Lie bracket and be the variance of an observable in the state . If the expectation value of the Lie bracket satisfies then the variances of and are strictly positive:
