Let ρ\rho be a on a finite-dimensional Hilbert space and let AA be 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 reduces to Aρ=ψAψ\langle A\rangle_\rho=\langle\psi|A|\psi\rangle.

Properties

The map AAρ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).