TeX source:
|\psi\rangle_{AB}