I know there is some unitary matrix $T$ that maps a diagonal matrix $A = \begin{bmatrix}a+bj & 0 \cr 0 & a-bj \end{bmatrix}$ to a real matrix, namely
$$T^{-1}AT = \begin{bmatrix}a & b \cr -b & a \end{bmatrix}$$
but I am having trouble figuring how to construct $T$. At first I thought it was just a Givens rotation, that can't be right because Givens rotations have real entries and that wouldn't eliminate the non-real components.
How can I compute $T$?