What Is the Trace of an Operator ?
At a glance
- 1. Identify the operator
The dyad |ψ⟩⟨φ| maps any state |χ⟩ to |ψ⟩ times the amplitude ⟨φ|χ⟩.
- 2. Use the trace rule
For a rank-one operator, Tr(|ψ⟩⟨φ|) = ⟨φ|ψ⟩.
- 3. Check normalization
The trace is 1 for a normalized projector |ψ⟩⟨ψ|, but need not be 1 for different vectors.
- 4. Verify with a basis
Summing diagonal matrix elements in any orthonormal basis gives the same inner product.
The operator built from two state vectors is usually written . It takes an input state, extracts its overlap with , and multiplies by that amplitude. Its trace is the overlap of the two vectors in the opposite order: .
This formula does not require the vectors to be normalized or orthogonal. The familiar trace-one result applies to the special case of a projector onto a normalized state.
The rank-one operator
In bra-ket notation, is a linear functional on states. Acting on any ket , the operator gives
The result is the ket scaled by the complex number . This is a rank-one operator when both vectors are nonzero.
The trace is the sum of diagonal matrix elements in an orthonormal basis. Choose any orthonormal basis and insert the operator:
The second line uses the completeness relation . The answer is independent of the basis because the trace is basis-independent.
Worked example in a two-dimensional space
Take
The bra corresponding to is its conjugate transpose, . The operator matrix is
Its trace is the sum of its diagonal entries:
Computing the overlap gives the same result:
The trace can be complex for a general operator of this form. That is not a problem: need not be Hermitian. Its adjoint is .
Special case: the operator
Set . Then is Hermitian and positive semidefinite. Its trace is
If is normalized, , so this operator is a projector with trace 1. If it is not normalized, the trace is its squared norm, not 1, and the operator is generally not a projector. A density operator for a pure state is normally formed from a normalized ket, which is why it has unit trace.
If and are orthogonal, then and the operator has trace zero, even though the operator itself may not be zero.
Common mistakes
- Reversing the overlap: For , the trace is , not . These are complex conjugates in general.
- Assuming every rank-one operator is a projector: is generally not Hermitian. It is a projector when the two kets coincide and are normalized.
- Assuming the trace must equal 1: That is true for a normalized pure-state projector, not for an arbitrary pair of vectors.
- Dropping the conjugation in a matrix calculation: Form the bra by conjugate-transposing the ket. For complex components, this changes the result.
In an infinite-dimensional Hilbert space, the same calculation applies: this rank-one operator is trace-class, so its trace is well-defined and equals .
References
- Modern Quantum Mechanics — J. J. Sakurai and Jim Napolitano
- Quantum Theory: Concepts and Methods — Asher Peres
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.