Expectation Value
Average of measurement outcomes of an observable over many repetitions.
Symbols
| $O$ | Observable |
|---|---|
| $\lambda$ | Eigenvalue (measurement outcome) |
| $p(\lambda)$ | Probability of the outcome |
| $\rho$ | density matrix |
$O$ is a Hermitian observable, $\lambda$ are its eigenvalues (the possible outcomes), $p(\lambda)$ is the probability of each, and $\rho$ is the density matrix. The last form covers mixed states. Estimating $\langle O\rangle$ from $N$ shots has standard error $\sqrt{\mathrm{Var}(O)/N}$. This is the quantity computed in VQE, QAOA and variational classifiers.
Example
$|\psi\rangle=\cos\tfrac{\pi}{6}|0\rangle+\sin\tfrac{\pi}{6}|1\rangle$: $\langle Z\rangle=0.75-0.25=0.5=\cos\tfrac{\pi}{3}$ (verified). And $\langle X\rangle=2\cos\tfrac{\pi}{6}\sin\tfrac{\pi}{6}=\sin\tfrac{\pi}{3}\approx0.866$. The check $\langle X\rangle^2+\langle Z\rangle^2=1$ holds for a pure state in the $x$–$z$ plane (verified).
Test your understanding
The quiz needs JavaScript.
Related topics
References
- Michael A. Nielsen; Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press doi:10.1017/CBO9780511976667The standard reference for quantum computing; the Crossref record gives 2012 for the Cambridge Core online edition.
- Microsoft (2025). Pauli Measurements in Quantum Computing. Azure Quantum documentation learn.microsoft.com
