
I want to understand the relation between the following two ways of deriving a (unitary) matrix that corresponds to the action of a gate on a single qubit:
1) HERE, in IBM's tutorial, they represent the general unitary matrix acting on a qubit as:
$$
U = \begin{pmatrix}
\cos(\theta/2) &...