0.8 Outer products

Apart from the inner product uv\langle u|v\rangle, which is a complex number, we can also form the outer product uv|u\rangle\langle v|, which is a linear map (operator) on H\mathcal{H} (or on H\mathcal{H}^\star, depending how you look at it). This is what physicists like (and what mathematicians dislike!) about Dirac notation: a certain degree of healthy ambiguity.

  • The result of uv|u\rangle\langle v| acting on a ket x|x\rangle is uvx|u\rangle\langle v|x\rangle, i.e. the vector u|u\rangle multiplied by the complex number vx\langle v|x\rangle.
  • Similarly, the result of uv|u\rangle\langle v| acting on a bra y\langle y| is yuv\langle y|u\rangle\langle v|, i.e. the linear functional v\langle v| multiplied by the complex number yu\langle y|u\rangle.

The product of two maps, A=abA=|a\rangle\langle b| followed by B=cdB=|c\rangle\langle d|, is a linear map BABA, which can be written in Dirac notation as BA=cdab=dacb BA = |c\rangle\langle d|a\rangle\langle b| = \langle d|a\rangle|c\rangle\langle b| i.e. the inner product (complex number) da\langle d|a\rangle times the outer product (linear map) cb|c\rangle\langle b|.

Any operator on H\mathcal{H} can be expressed as a sum of outer products. Given an orthonormal basis {ei}i=1,,n\{|e_i\rangle\}_{i=1,\ldots,n}, any operator which maps the basis vectors ei|e_i\rangle to vectors fi|f_i\rangle can be written as i=1nfiei\sum_{i=1}^n|f_i\rangle\langle e_i|. If the vectors {fi}\{|f_i\rangle\} also form an orthonormal basis then the operator simply “rotates” one orthonormal basis into another. These are unitary operators which preserve the inner product. In particular, if each ei|e_i\rangle is mapped to ei|e_i\rangle, then we obtain the identity operator: ieiei=1. \sum_i|e_i\rangle\langle e_i|=\mathbf{1}. This relation holds for any orthonormal basis, and it is one of the most ubiquitous and useful formulas in quantum theory, known as completeness.17 For example, for any vector v|v\rangle and for any orthonormal basis {ei}\{|e_i\rangle\}, we have v=1v=ieiei  v=iei  eiv=iviei \begin{aligned} |v\rangle &= \mathbf{1}|v\rangle \\&= \sum_i |e_i\rangle\langle e_i|\;|v\rangle \\&= \sum_i |e_i\rangle\;\langle e_i|v\rangle \\&= \sum_i v_i|e_i\rangle \end{aligned} where vi=eivv_i=\langle e_i|v\rangle are the components of v|v\rangle.

Finally, note that calculating the adjoint of an outer product boils down to just swapping the order: (ab)=ba. (|a\rangle\langle b|)^\dagger = |b\rangle\langle a|.


  1. Not to be confused with “completeness” in the sense of Hilbert spaces.↩︎