Introducing the Density Operator (20 minutes)

$$P_{+} \, = \, \left\vert\langle +\vert\psi \rangle\right\vert^{2}=\langle \psi\vert+ \rangle\langle +\vert\psi \rangle \; \; .$$

So, the rightmost expression is some number its complex conjugate. But, we don't have to think of the expression this way. Notice that in the middle there's a projection operator hidden between the $\psi$ terms.

$$ \left(\begin{array}{cc} a & b\\ \end{array}\right) \left(\begin{array}{cc} c & d\\ e & f\\ \end{array}\right) \left(\begin{array}{c} g \\ h \\ \end{array}\right) \; \; . $$

$$A\,=\,\left(\begin{array}{ccc} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \\ \end{array}\right) \; \; , $$ $$tr(A)\;=\;a_{11}+a_{22}+a_{33} \; \; .$$

The reason we are interested in the trace is that it has the unique property that

$$tr(ABCDE)=tr(BCDEA) \; \; .$$

Now, if we multiply out the three matrices that represent $\langle \psi\vert+ \rangle\langle +\vert\psi \rangle$, we are left with a single number that is defined as the trace of the remaining 1×1 matrix.

$$\langle \psi\vert+ \rangle\langle +\vert\psi \rangle \; \; → \; \; \vert+ \rangle\langle +\vert\psi \rangle\langle \psi\vert \; \; $$.

$$\vert\psi \rangle\langle \psi\vert \; \; .$$

This is the density matrix for the state $\vert\psi \rangle$.