I learned a formula to represent the rotation around bloch sphere:
$\theta_{\phi} = e^{\frac{i\theta}{2}(\cos(\phi)\sigma_x + \sin(\phi)\sigma_y)}$
So that $\pi_0$ is the gate $X$ and $\pi_{\frac{\pi}{2}}$ is the gate $Y$.
My question is: how do we get this formula to represent the rotation gate? If we have a gate, say $\pi_{\frac{\pi}{6}}$, how do we use the rotation gates like $R_x$, $R_y$, or $R_Z$ to represent the gate?