Trace Rule for Expectation Values
For a density operator and an observable , the expectation value is
For a projective outcome with projector ,
For a general measurement effect ,
These are not three unrelated rules. The probability formulas are trace rules applied to effects, and the expectation formula is the probability-weighted average of the outcomes of an observable. Together they extend the pure-state Born rule to pure states, randomized ensembles, open subsystems, and general measurements.
Trace essentials
Section titled “Trace essentials”In a finite-dimensional Hilbert space, the trace of an operator is
where is any orthonormal basis.
Basis independence
Section titled “Basis independence”Let another orthonormal basis be related by
for a unitary matrix . Then
The trace may be calculated in any convenient basis without changing the answer.
Cyclicity
Section titled “Cyclicity”For finite matrices,
and
Cyclicity permits cyclic rotations, not arbitrary reordering. In general,
This distinction matters when observables and states do not commute.
Rank-one trace identity
Section titled “Rank-one trace identity”For any vectors and operator ,
To verify it, insert an orthonormal basis:
This identity is the cleanest bridge between trace notation and bra–ket notation.
Recovering the pure-state formula
Section titled “Recovering the pure-state formula”A normalized pure state has
The rank-one identity gives
The density-operator rule therefore reproduces the familiar pure-state expectation value exactly.
For a rank-one outcome
the same identity gives
This is the ordinary Born probability.
Component formula
Section titled “Component formula”In a chosen orthonormal basis,
This formula is useful for direct matrix calculations. It also shows that off-diagonal entries of contribute whenever has matching off-diagonal matrix elements.
If the basis diagonalizes ,
then
For a nondegenerate eigenbasis, this becomes
Only in the measurement eigenbasis may one read the outcome probabilities directly from the diagonal entries.
Ensemble average
Section titled “Ensemble average”If
then linearity gives
The trace rule combines quantum expectation within each preparation branch with the classical average over branches. Different ensembles with the same necessarily give the same expectation for every .
Outcomes, moments, and variance
Section titled “Outcomes, moments, and variance”Let the spectral decomposition of a Hermitian observable be
The outcome probabilities are
and therefore
The expectation is an ensemble average over possible outcomes. It need not itself be an eigenvalue or a possible result of one trial.
For any function defined on the spectrum,
In particular,
and the variance is
Reality and bounds
Section titled “Reality and bounds”If , then is real:
If the spectrum lies between and , then
This follows because the expectation is a convex average of the eigenvalues. Likewise,
because it is the expectation of a positive operator.
These inequalities are powerful error checks. An answer outside the spectral range or a negative variance signals a calculation or normalization mistake.
Projective measurement probabilities
Section titled “Projective measurement probabilities”For projectors satisfying
the trace rule gives
The probabilities are nonnegative because both and are positive. They are normalized:
For a degenerate outcome, projects onto the full eigenspace. The probability is the sum of the density-matrix populations in any orthonormal basis of that eigenspace.
POVM probabilities
Section titled “POVM probabilities”A general POVM has effects
Its outcome probabilities are
To see nonnegativity directly, write
because is positive. Completeness again gives
The effects determine outcome probabilities. They do not alone determine the conditional post-measurement states; that requires an instrument. See POVMs: First Encounter and Generalized Measurements Overview.
Reduced states and local observables
Section titled “Reduced states and local observables”For a joint state , an observable local to is
If
then
This equality is the defining operational property of the partial trace: the reduced state reproduces every trace-rule prediction local to the subsystem. Correlation observables such as still require the joint state.
See Reduced Density Matrices for the construction and Subsystems and Local Observables for the operator embedding.
Qubit matrix example
Section titled “Qubit matrix example”Write a general qubit density matrix as
Using the Pauli matrices,
The expectation depends on the populations, while and expose the real and imaginary parts of the coherence.
Equivalently, if
and
then
This compact formula follows from .
Unsharp qubit measurement
Section titled “Unsharp qubit measurement”For , define two effects
They are positive and satisfy . If the state’s Bloch component is
then
At , this is the projective measurement. At , both outcomes have probability regardless of the state. Intermediate values model a noisy or unsharp binary measurement at the level of effects.
Infinite-dimensional qualification
Section titled “Infinite-dimensional qualification”In an infinite-dimensional Hilbert space, a density operator is trace class. If is bounded, then is trace class and is well-defined.
Unbounded observables require more care. The expectation exists only when the state has the required finite moment and the operator-domain conditions are satisfied. Formally writing does not guarantee convergence. Cyclic trace manipulations also require the relevant products to be trace class.
The representation-independent formulation is developed in States as Positive Linear Functionals.
Practical workflow
Section titled “Practical workflow”For a finite-dimensional expectation or probability:
- Confirm that is positive and has trace one.
- Put and the observable or effect in the same basis.
- Check that the operators act on the same Hilbert space.
- Multiply in the written order and take the trace.
- Use a diagonal basis when it simplifies the calculation.
- For local quantities, either include the identity factor or use the reduced state.
- Check that probabilities lie in and sum to one.
- Check that Hermitian expectations are real and lie in the spectral range.
- Distinguish an expectation value from a possible single-shot outcome.
- For unbounded operators, verify existence rather than relying on formal cyclicity.
Common mistakes
Section titled “Common mistakes”- Treating as an operator instead of a number.
- Assuming the expectation must be an eigenvalue.
- Reading diagonal entries as probabilities before choosing the measurement basis.
- Reordering factors inside a trace rather than rotating them cyclically.
- Replacing with .
- Using an arbitrary positive operator as a POVM effect without checking the complete set sums to identity.
- Confusing POVM probabilities with a post-measurement update rule.
- Dropping the identity in a local observable on a composite space.
- Using a reduced state to compute a joint correlation.
- Applying finite-dimensional cyclicity to unbounded products without checking trace-class conditions.
Where deeper treatment lives
Section titled “Where deeper treatment lives”Born Rule develops the probability postulate. Expectation Values focuses on physical interpretation in state-vector language. Variance and Standard Deviation develops moments and uncertainty.
Density-Matrix Formulation collects the postulates in density-operator language. A compact lookup is available at Reference Formula: Expectation Value.
References
Section titled “References”- J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press (1955), Ch. IV.
- R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer (1994), Chs. 1 and 4.
- L. E. Ballentine, Quantum Mechanics: A Modern Development, 2nd ed., World Scientific (2014), Ch. 3.
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press (2010), Secs. 2.2 and 2.4.
- J. Watrous, The Theory of Quantum Information, Cambridge University Press (2018), Ch. 2.
- A. S. Holevo, Probabilistic and Statistical Aspects of Quantum Theory, 2nd ed., Edizioni della Normale (2011), Ch. 2.
Exercises
Section titled “Exercises”- Prove the rank-one trace identity
Solution
Insert an orthonormal basis:
- Starting from matrices, show that
Solution
By matrix multiplication,
Summing the diagonal entries gives
- Let have smallest and largest eigenvalues . Prove that every density operator obeys
Solution
With , define
These probabilities are nonnegative and sum to one. Therefore
is a convex average of the eigenvalues and lies between their minimum and maximum.
- Show that
is nonnegative.
Solution
Let
Because is positive,
Expanding and using gives
Thus the variance is nonnegative.
- Prove that a POVM gives normalized, nonnegative probabilities.
Solution
For each effect,
because the operator inside the trace is positive. Completeness gives
- For
derive the three Pauli expectations.
Solution
Direct multiplication gives
The signs agree with the convention
- For the unsharp effects
derive and check the limits and .
Solution
Using and ,
At , both probabilities are . At ,
which are the projective -measurement probabilities.
- Verify the reduced-state identity in a product basis:
Solution
Write the joint matrix elements as
Then
The reduced-state entries are
Substitution gives