Let ρ\rho be a on a finite-dimensional Hilbert space and AA a self-adjoint element of the . The expectation value of AA in the state ρ\rho is

⟨A⟩ρ=Tr⁡(ρA).\langle A\rangle_\rho=\operatorname{Tr}(\rho A).

For a pure state ρ=∣ψ⟩⟨ψ∣\rho=|\psi\rangle\langle\psi|, this is ⟨A⟩ρ=⟨ψ∣A∣ψ⟩\langle A\rangle_\rho=\langle\psi|A|\psi\rangle.

Properties

The map A↦⟨A⟩ρA\mapsto\langle A\rangle_\rho is linear, positive, and normalized by ⟨I⟩ρ=1\langle I\rangle_\rho=1. For self-adjoint AA, its value is real and satisfies

∣⟨A⟩ρ∣≤∥A∥.|\langle A\rangle_\rho|\le \|A\|.

If PP is an orthogonal projection, then ⟨P⟩ρ\langle P\rangle_\rho is the Born probability of the outcome represented by PP.

Thermal expectation

At inverse temperature β>0\beta>0, the thermal expectation is computed with the ρβ\rho_\beta:

⟨A⟩β=Tr⁡(ρβA).\langle A\rangle_\beta=\operatorname{Tr}(\rho_\beta A).