TeX source:
\rho_m = \dfrac{\mathbf{M}_m\rho\mathbf{M}_m^\dagger}{\text{tr}(\mathbf{M}_m^\dagger\mathbf{M}_m\rho)}.