Ph · Physics

What Is the Trace of an Operator ∣ψ⟩⟨ϕ∣|\psi\rangle\langle\phi|?

Published By the 9to5Science editorial team

At a glance

  1. 1. Identify the operator

    The dyad |ψ⟩⟨φ| maps any state |χ⟩ to |ψ⟩ times the amplitude ⟨φ|χ⟩.

  2. 2. Use the trace rule

    For a rank-one operator, Tr(|ψ⟩⟨φ|) = ⟨φ|ψ⟩.

  3. 3. Check normalization

    The trace is 1 for a normalized projector |ψ⟩⟨ψ|, but need not be 1 for different vectors.

  4. 4. Verify with a basis

    Summing diagonal matrix elements in any orthonormal basis gives the same inner product.

Advertisement

The operator built from two state vectors is usually written ∣ψ⟩⟨ϕ∣|\psi\rangle\langle\phi|. It takes an input state, extracts its overlap with ∣ϕ⟩|\phi\rangle, and multiplies ∣ψ⟩|\psi\rangle by that amplitude. Its trace is the overlap of the two vectors in the opposite order: ⟨ϕ∣ψ⟩\langle\phi|\psi\rangle.

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 ∣ψ⟩⟨ϕ∣|\psi\rangle\langle\phi|

In bra-ket notation, ⟨ϕ∣\langle\phi| is a linear functional on states. Acting on any ket ∣χ⟩|\chi\rangle, the operator gives

∣ψ⟩⟨ϕ∣χ⟩=∣ψ⟩ ⟨ϕ∣χ⟩.|\psi\rangle\langle\phi|\chi\rangle = |\psi\rangle\,\langle\phi|\chi\rangle.

The result is the ket ∣ψ⟩|\psi\rangle scaled by the complex number ⟨ϕ∣χ⟩\langle\phi|\chi\rangle. 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 {∣n⟩}\{|n\rangle\} and insert the operator:

Tr⁡(∣ψ⟩⟨ϕ∣)=∑n⟨n∣ψ⟩⟨ϕ∣n⟩=⟨ϕ∣(∑n∣n⟩⟨n∣)∣ψ⟩=⟨ϕ∣ψ⟩.\begin{aligned} \operatorname{Tr}(|\psi\rangle\langle\phi|) &= \sum_n \langle n|\psi\rangle\langle\phi|n\rangle \\ &= \langle\phi|\left(\sum_n |n\rangle\langle n|\right)|\psi\rangle \\ &= \langle\phi|\psi\rangle. \end{aligned}

The second line uses the completeness relation ∑n∣n⟩⟨n∣=I\sum_n |n\rangle\langle n|=I. The answer is independent of the basis because the trace is basis-independent.

Worked example in a two-dimensional space

Take

∣ψ⟩=12(1i),∣ϕ⟩=12(11).|\psi\rangle=\frac{1}{\sqrt{2}}\begin{pmatrix}1\\i\end{pmatrix}, \qquad |\phi\rangle=\frac{1}{\sqrt{2}}\begin{pmatrix}1\\1\end{pmatrix}.

The bra corresponding to ∣ϕ⟩|\phi\rangle is its conjugate transpose, ⟨ϕ∣=(1,1)/2\langle\phi|=(1,1)/\sqrt{2}. The operator matrix is

∣ψ⟩⟨ϕ∣=12(11ii).|\psi\rangle\langle\phi| =\frac{1}{2}\begin{pmatrix}1&1\\i&i\end{pmatrix}.

Its trace is the sum of its diagonal entries:

Tr⁡(∣ψ⟩⟨ϕ∣)=1+i2.\operatorname{Tr}(|\psi\rangle\langle\phi|) =\frac{1+i}{2}.

Computing the overlap gives the same result:

⟨ϕ∣ψ⟩=12(1+i)=1+i2.\langle\phi|\psi\rangle =\frac{1}{2}(1+i) =\frac{1+i}{2}.

The trace can be complex for a general operator of this form. That is not a problem: ∣ψ⟩⟨ϕ∣|\psi\rangle\langle\phi| need not be Hermitian. Its adjoint is ∣ϕ⟩⟨ψ∣|\phi\rangle\langle\psi|.

Special case: the operator ∣ψ⟩⟨ψ∣|\psi\rangle\langle\psi|

Set ∣ϕ⟩=∣ψ⟩|\phi\rangle=|\psi\rangle. Then ∣ψ⟩⟨ψ∣|\psi\rangle\langle\psi| is Hermitian and positive semidefinite. Its trace is

Tr⁡(∣ψ⟩⟨ψ∣)=⟨ψ∣ψ⟩=∥ψ∥2.\operatorname{Tr}(|\psi\rangle\langle\psi|)=\langle\psi|\psi\rangle=\|\psi\|^2.

If ∣ψ⟩|\psi\rangle is normalized, ⟨ψ∣ψ⟩=1\langle\psi|\psi\rangle=1, 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 ∣ψ⟩|\psi\rangle and ∣ϕ⟩|\phi\rangle are orthogonal, then ⟨ϕ∣ψ⟩=0\langle\phi|\psi\rangle=0 and the operator has trace zero, even though the operator itself may not be zero.

Common mistakes

  • Reversing the overlap: For ∣ψ⟩⟨ϕ∣|\psi\rangle\langle\phi|, the trace is ⟨ϕ∣ψ⟩\langle\phi|\psi\rangle, not ⟨ψ∣ϕ⟩\langle\psi|\phi\rangle. These are complex conjugates in general.
  • Assuming every rank-one operator is a projector: ∣ψ⟩⟨ϕ∣|\psi\rangle\langle\phi| 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 ⟨ϕ∣ψ⟩\langle\phi|\psi\rangle.

References

  1. Modern Quantum Mechanics — J. J. Sakurai and Jim Napolitano
  2. Quantum Theory: Concepts and Methods — Asher Peres

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.