TeX source:
\mathbf{P}_i \triangleq |i\rangle\langle i|