TeX source:
\rho' = \dfrac{\mathbf{A}_i\rho\mathbf{A}_i}{\text{tr}(\mathbf{A}_i\rho)}.