TeX source:
\color{red}{\sum_{i,j}|i\rangle_A\langle j|_A \otimes |i\rangle_B\langle j|_B}.