I would like to know how to derive the explicit form of the GENERATOR of a general two-qubit gate (also here), e.g., controlled-rotation Y.
From the definition: $$\exp(-i\theta G) \ ,$$
I see it is: $$G=\begin{pmatrix}0&0&0&0\\0&0&0&0\\0&0&0&-i\\0&0&i&0\end{pmatrix} \ ,$$
but, I would like to know how to write it in the form of Pauli Y operator.
Many thanks.
[Update] The question is about if a unitary two-qubit gate is given, how to derive its generator explicitly. For instance, if we look at a Molmer Sorenson gate, we will immediately know its generator is XX or YY or ZZ. For Controlled rotation gate, if we do the calculation $-\log[U]/(i\theta)$, we have the G in the main text. The problem is how to write it in form of Pauli-Y and identity matrix (with tensor product or other operation).