From here: SU(2) is isomorphic to the group of quaternions of norm 1!
U =
a+idc+ib
−c+iba−id
= a
10
01
+ b
0i
i0
+ c
01
−10
+ d
i0
0−i
= a1 + bi + cj + dk.
a2 + b2 + c2 + d2 = 1.
U* is the conjugate transpose of U.

U is unitary iffU*U =
10
01
This code (in this framework) confirms that these U’s are indeed unitary.

For every 2 by 2 complex matrix A, there is a unitary U and complex e and f such that:
U*AU =
e0
0f


Play:

above
frontWWW(World Wide Web)backx()
below ⋀⋏⌃