# Expectation value (quantum mechanics)

{{#invoke:Hatnote|hatnote}}

In quantum mechanics, the expectation value is the probabilistic expected value of the result (measurement) of an experiment. It is not the most probable value of a measurement; indeed the expectation value may have zero probability of occurring. It is a fundamental concept in all areas of quantum physics.

## Operational definition

Quantum physics shows an inherent statistical behaviour: The measured outcome of an experiment will generally not be the same if the experiment is repeated several times. Only the statistical mean of the measured values, averaged over a large number of runs of the experiment, is a repeatable quantity. Quantum theory does not, in fact, predict the result of individual measurements, but only their statistical mean. This predicted mean value is called the expectation value.

While the computation of the mean value of experimental results is very much the same as in classical statistics, its mathematical representation in the formalism of quantum theory differs significantly from classical measure theory.

## Formalism in quantum mechanics

In quantum theory, an experimental setup is described by the observable ${\displaystyle A}$ to be measured, and the state ${\displaystyle \sigma }$ of the system. The expectation value of ${\displaystyle A}$ in the state ${\displaystyle \sigma }$ is denoted as ${\displaystyle \langle A\rangle _{\sigma }}$.

Mathematically, ${\displaystyle A}$ is a self-adjoint operator on a Hilbert space. In the most commonly used case in quantum mechanics, ${\displaystyle \sigma }$ is a pure state, described by a normalized[1] vector ${\displaystyle \psi }$ in the Hilbert space. The expectation value of ${\displaystyle A}$ in the state ${\displaystyle \psi }$ is defined as

If dynamics is considered, either the vector ${\displaystyle \psi }$ or the operator ${\displaystyle A}$ is taken to be time-dependent, depending on whether the Schrödinger picture or Heisenberg picture is used. The time-dependence of the expectation value does not depend on this choice, however.

If ${\displaystyle A}$ has a complete set of eigenvectors ${\displaystyle \phi _{j}}$, with eigenvalues ${\displaystyle a_{j}}$, then (1) can be expressed as

This expression is similar to the arithmetic mean, and illustrates the physical meaning of the mathematical formalism: The eigenvalues ${\displaystyle a_{j}}$ are the possible outcomes of the experiment,[2] and their corresponding coefficient ${\displaystyle |\langle \psi |\phi _{j}\rangle |^{2}}$ is the probability that this outcome will occur; it is often called the transition probability.

A particularly simple case arises when ${\displaystyle A}$ is a projection, and thus has only the eigenvalues 0 and 1. This physically corresponds to a "yes-no" type of experiment. In this case, the expectation value is the probability that the experiment results in "1", and it can be computed as

In quantum theory, also operators with non-discrete spectrum are in use, such as the position operator ${\displaystyle Q}$ in quantum mechanics. This operator does not have eigenvalues, but has a completely continuous spectrum. In this case, the vector ${\displaystyle \psi }$ can be written as a complex-valued function ${\displaystyle \psi (x)}$ on the spectrum of ${\displaystyle Q}$ (usually the real line). For the expectation value of the position operator, one then has the formula

A similar formula holds for the momentum operator ${\displaystyle P}$, in systems where it has continuous spectrum.

All the above formulas are valid for pure states ${\displaystyle \sigma }$ only. Prominently in thermodynamics, also mixed states are of importance; these are described by a positive trace-class operator ${\displaystyle \rho =\sum _{i}\rho _{i}|\psi _{i}\rangle \langle \psi _{i}|}$, the statistical operator or density matrix. The expectation value then can be obtained as

## General formulation

In general, quantum states ${\displaystyle \sigma }$ are described by positive normalized linear functionals on the set of observables, mathematically often taken to be a C* algebra. The expectation value of an observable ${\displaystyle A}$ is then given by

If the algebra of observables acts irreducibly on a Hilbert space, and if ${\displaystyle \sigma }$ is a normal functional, that is, it is continuous in the ultraweak topology, then it can be written as

${\displaystyle \sigma (\cdot )={\mathrm {Trace} }(\rho \;\cdot )}$

with a positive trace-class operator ${\displaystyle \rho }$ of trace 1. This gives formula (5) above. In the case of a pure state, ${\displaystyle \rho =|\psi \rangle \langle \psi |}$ is a projection onto a unit vector ${\displaystyle \psi }$. Then ${\displaystyle \sigma =\langle \psi |\cdot \;\psi \rangle }$, which gives formula (1) above.

${\displaystyle A}$ is assumed to be a self-adjoint operator. In the general case, its spectrum will neither be entirely discrete nor entirely continuous. Still, one can write ${\displaystyle A}$ in a spectral decomposition,

${\displaystyle A=\int a\,{\mathrm {d} }P(a)}$

with a projector-valued measure ${\displaystyle P}$. For the expectation value of ${\displaystyle A}$ in a pure state ${\displaystyle \sigma =\langle \psi |\cdot \,\psi \rangle }$, this means

${\displaystyle \langle A\rangle _{\sigma }=\int a\;{\mathrm {d} }\langle \psi |P(a)\psi \rangle }$,

which may be seen as a common generalization of formulas (2) and (4) above.

In non-relativistic theories of finitely many particles (quantum mechanics, in the strict sense), the states considered are generally normalTemplate:Clarify. However, in other areas of quantum theory, also non-normal states are in use: They appear, for example. in the form of KMS states in quantum statistical mechanics of infinitely extended media,[3] and as charged states in quantum field theory.[4] In these cases, the expectation value is determined only by the more general formula (6).

## Example in configuration space

As an example, let us consider a quantum mechanical particle in one spatial dimension, in the configuration space representation. Here the Hilbert space is ${\displaystyle {\mathcal {H}}=L^{2}({\mathbb {R} })}$, the space of square-integrable functions on the real line. Vectors ${\displaystyle \psi \in {\mathcal {H}}}$ are represented by functions ${\displaystyle \psi (x)}$, called wave functions. The scalar product is given by ${\displaystyle \langle \psi _{1}|\psi _{2}\rangle =\int \psi _{1}^{\ast }(x)\psi _{2}(x)\,\mathrm {d} x}$. The wave functions have a direct interpretation as a probability distribution:

${\displaystyle p(x)dx=\psi ^{*}(x)\psi (x)dx}$

gives the probability of finding the particle in an infinitesimal interval of length ${\displaystyle dx}$ about some point ${\displaystyle x}$.

As an observable, consider the position operator ${\displaystyle Q}$, which acts on wavefunctions ${\displaystyle \psi }$ by

${\displaystyle (Q\psi )(x)=x\psi (x)}$.

The expectation value, or mean value of measurements, of ${\displaystyle Q}$ performed on a very large number of identical independent systems will be given by

${\displaystyle \langle Q\rangle _{\psi }=\langle \psi |Q\psi \rangle =\int _{-\infty }^{\infty }\psi ^{\ast }(x)\,x\,\psi (x)\,{\mathrm {d} }x=\int _{-\infty }^{\infty }x\,p(x)\,{\mathrm {d} }x}$.

The expectation value only exists if the integral converges, which is not the case for all vectors ${\displaystyle \psi }$. This is because the position operator is unbounded, and ${\displaystyle \psi }$ has to be chosen from its domain of definition.

In general, the expectation of any observable can be calculated by replacing ${\displaystyle Q}$ with the appropriate operator. For example, to calculate the average momentum, one uses the momentum operator in configuration space, ${\displaystyle P=-i\hbar \,d/dx}$. Explicitly, its expectation value is

${\displaystyle \langle P\rangle _{\psi }=-i\hbar \int _{-\infty }^{\infty }\psi ^{\ast }(x)\,{\frac {d\psi (x)}{dx}}\,\mathrm {d} x}$.

Not all operators in general provide a measureable value. An operator that has a pure real expectation value is called an observable and its value can be directly measured in experiment.

## Notes and references

1. This article always takes ${\displaystyle \psi }$ to be of norm 1. For non-normalized vectors, ${\displaystyle \psi }$ has to be replaced with ${\displaystyle \psi /\|\psi \|}$ in all formulas.
2. It is assumed here that the eigenvalues are non-degenerate.
3. {{#invoke:citation/CS1|citation |CitationClass=book }}
4. {{#invoke:citation/CS1|citation |CitationClass=book }}