Density-Matrix Expectation Values
Formula
Section titled “Formula”For a density operator and observable ,
A physical density operator satisfies
For a measurement effect ,
The expectation and probability rules are the same state–operator pairing. An observable labels outcomes numerically; an effect represents one event.
At a glance
Section titled “At a glance”| Setting | Trace rule |
|---|---|
| Observable expectation | |
| Projective outcome | |
| General measurement effect | |
| Function or moment | |
| Variance | |
| Matrix components | |
| Ensemble representation | |
| Pure state | |
| Local observable | |
| Conditional branch | |
| Qubit | , gives |
Meaning
Section titled “Meaning”The density operator contains exactly the information needed to predict all measurements on the represented system. If two preparation procedures produce the same , then
is the same for every observable , and
is the same for every effect . Measurements on that system alone cannot distinguish those preparations.
The trace rule applies to:
- pure states;
- classical random mixtures of preparations;
- reduced states of entangled systems;
- thermal states;
- states produced by noisy dynamics or unrecorded measurements.
It does not reveal which ensemble decomposition or environment produced the state. A density operator is an operational state, not a unique hidden list of pure states.
Trace essentials
Section titled “Trace essentials”In a finite-dimensional Hilbert space,
in any orthonormal basis. The result is basis independent.
Useful identities include
and
Cyclicity permits cyclic rotation, not arbitrary reordering. In general,
In infinite dimensions, cyclicity requires the products to lie in classes for which the traces exist. Formal symbol rearrangement is not a substitute for that condition.
Pure states as a special case
Section titled “Pure states as a special case”For
the rank-one trace identity gives
For a rank-one projector
The density-operator formulation therefore extends rather than replaces the pure-state Born and expectation formulas.
Matrix-component formula
Section titled “Matrix-component formula”In any orthonormal basis,
Off-diagonal entries of contribute whenever has matching off-diagonal entries. Reading probabilities from the diagonal of is valid only after specifying the measurement basis.
If the chosen basis diagonalizes a nondegenerate ,
then
where
is the probability of outcome . In another basis, the same diagonal entries need not be the probabilities for measuring .
For degenerate eigenvalues, use the full spectral projector:
Ensemble form
Section titled “Ensemble form”If
then
This is the classical average of the component quantum expectations.
The decomposition of is generally not unique. Any two ensembles that produce the same operator give the same result for every . Do not assign physical uniqueness to one convenient decomposition unless the preparation record supplies that additional information.
Probabilities, moments, and variance
Section titled “Probabilities, moments, and variance”For a POVM ,
and
Positivity gives
while completeness gives
For a self-adjoint observable and suitable function ,
In particular,
when the moment exists, and
An effect determines outcome probability but not the conditional state. Different measurement instruments can have the same effects and different post-measurement maps.
Reality, positivity, and spectral bounds
Section titled “Reality, positivity, and spectral bounds”If is a valid state and is self-adjoint,
If , then
For bounded self-adjoint with spectrum in ,
For an effect ,
These are powerful diagnostics. A complex expectation for a Hermitian matrix or probability outside usually signals invalid input, inconsistent bases, incorrect conjugation, or numerical error.
Local observables and reduced states
Section titled “Local observables and reduced states”Let describe a bipartite system and let act only on subsystem . The full-system observable is
Its expectation is
Define
Then
The reduced state reproduces every local prediction on , whether is separable or entangled.
For a product observable ,
This generally cannot be computed from and alone because those marginals do not determine correlations.
Qubit shortcut
Section titled “Qubit shortcut”Every qubit state can be written as
Every Hermitian qubit observable has the form
with real and . Using
one obtains
For a spin measurement along unit vector , the projectors are
so
The Bloch vector encodes exactly the three Pauli expectation values:
Unnormalized and conditional states
Section titled “Unnormalized and conditional states”A positive operator with
can be normalized by
Then
For a measurement branch
its trace is the outcome probability:
If , the conditional expectation is
Do not normalize a branch before recording its trace if the branch probability is needed.
Changes of basis
Section titled “Changes of basis”Under a unitary basis change,
Then
Transforming both objects is a passive representation change. Transforming only the state or only the observable generally describes a physical change, not merely new coordinates.
Infinite-dimensional conditions
Section titled “Infinite-dimensional conditions”If is trace class and is bounded, then is trace class and
is well defined.
For an unbounded self-adjoint , a standard absolute-integrability condition is
Equivalently, the first absolute moment of the Born spectral measure is finite. A finite variance requires the second moment:
in the positive spectral sense.
Writing matrix elements in an arbitrary basis and rearranging infinite sums can fail when absolute convergence is absent. Use the spectral measure or trace-class formulation.
Assumptions
Section titled “Assumptions”- is positive, trace class, and trace one, or the displayed normalization denominator is included.
- , , or acts on the same Hilbert space as .
- Observables are self-adjoint.
- POVM effects are positive and complete for the modeled outcome set.
- The trace pairing and required moments exist.
- Local subsystem formulas use an explicitly specified tensor-product decomposition and tensor ordering.
- Matrix component formulas use one common orthonormal basis for both operators.
Validity and limitations
Section titled “Validity and limitations”The trace rule is exact within standard quantum mechanics. It applies to pure and mixed states and to reduced states of open subsystems.
The rule does not:
- choose a unique ensemble decomposition of ;
- determine dynamics without a Hamiltonian, channel, or master equation;
- determine post-measurement states from effects alone;
- make nonpositive trace-one matrices physical;
- guarantee finite moments for unbounded observables;
- reconstruct correlations from reduced states alone.
Calculation checks
Section titled “Calculation checks”- Verify , , and .
- Verify dimensions and basis ordering of and match.
- For Hermitian , the result must be real within numerical tolerance.
- For positive , the result must be nonnegative.
- For , the result must equal one.
- For an effect, the result must lie in .
- A complete POVM must give probabilities summing to one.
- A bounded-observable expectation must lie in the spectral range.
- A consistent unitary basis change must preserve the result.
- For a pure state, compare against .
- For a local observable, compare full and reduced-state calculations.
Minimal worked uses
Section titled “Minimal worked uses”Coherence-sensitive qubit expectation
Section titled “Coherence-sensitive qubit expectation”Let
For
The diagonal entries alone do not determine this expectation. The off-diagonal coherence contributes.
Local state of a Bell pair
Section titled “Local state of a Bell pair”For
the reduced state of either qubit is
Therefore
for , even though the joint state has nontrivial correlations.
Derivation and canonical home
Section titled “Derivation and canonical home”Trace Rule for Expectation Values owns the derivation, component formulas, ensemble interpretation, bounds, POVM probabilities, subsystem reduction, and infinite-dimensional qualification.
Density Operators owns state validity and preparation meaning. Reduced Density Matrices and Partial Trace own the subsystem construction.
Worked examples
Section titled “Worked examples”Common mistakes
Section titled “Common mistakes”- Treating the diagonal of as a basis-independent probability table.
- Ignoring off-diagonal terms in .
- Using matrix entries of and from different bases.
- Forgetting positivity because Hermiticity and trace one happen to hold.
- Reordering noncommuting factors inside a trace rather than cycling them.
- Using an effect as though it uniquely specified state update.
- Assuming an ensemble decomposition of is unique.
- Suppressing the identity in until subsystem order becomes ambiguous.
- Trying to compute correlations from reduced states alone.
- Normalizing a conditional branch before saving its probability.
- Applying finite-dimensional trace manipulations to unbounded operators without checking existence.
- Inferring a Hamiltonian or dynamics from the instantaneous state.
Related formulas
Section titled “Related formulas”- Expectation Value
- Born Rule
- Variance and Standard Deviation
- Partial Trace
- Kraus Map
- Lindblad Equation
- Von Neumann Entropy
- Bloch Vector
References
Section titled “References”- L. E. Ballentine, Quantum Mechanics: A Modern Development, 2nd ed., World Scientific, 2014, chs. 2 and 3.
- J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020, ch. 1.
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press, 2010, chs. 2 and 8.
- A. S. Holevo, Probabilistic and Statistical Aspects of Quantum Theory, 2nd ed., Edizioni della Normale, 2011, chs. 1 and 2.
Exercises
Section titled “Exercises”Exercise 1: off-diagonal contribution
Section titled “Exercise 1: off-diagonal contribution”Let
Compute and identify the diagonal and off-diagonal contributions.
Solution
Using
the diagonal contribution is
The off-diagonal contribution is
Therefore
The matrix has eigenvalues , so the answer lies inside its spectral range as required.
Exercise 2: qubit along an arbitrary axis
Section titled “Exercise 2: qubit along an arbitrary axis”A qubit has Bloch vector and is measured with
Find the expectation and the two outcome probabilities.
Solution
The qubit trace shortcut gives
The effects are
so
Their difference is the expectation and their sum is one.
Exercise 3: conditional expectation
Section titled “Exercise 3: conditional expectation”An unnormalized measurement branch is
Find the outcome probability, normalized conditional state, and conditional expectation of .
Solution
The outcome probability is
The conditional state is
Therefore
Equivalently,