TeX source:
\text{CNOT}|q_0q_1\rangle = \begin{bmatrix}a & b & d & c\end{bmatrix}^\top = a|00\rangle + b|01\rangle + d|10\rangle + c|11\rangle.