Given a complex unitary $2*2$ matrix $A$ that represents some quantum gate on a single qubit.
What is the formula to extract to $\theta_X, \theta_Y, \theta_Z $ rotations around each one of the axes in the Bloch Sphere?
I will mention that I know that :
$$U_3(\theta, \phi, \lambda) = \begin{pmatrix}\cos(\theta/2) & -e^{i\lambda}\sin(\theta/2) \\ e^{i\phi}\sin(\theta/2) & e^{i\lambda + i\phi}\cos(\theta/2)\end{pmatrix}$$
But while trying to use it, I struggled with $cos()=complex-value$ that gave me complex angles