Rotation gate (source code)

= Rotation gate

A one-qubit rotation gate is $R_\alpha(\theta)=e^{-i\theta\sigma_\alpha/2}$, where $\sigma_\alpha$ is a <Pauli matrix>. It rotates the <Bloch vector> by angle $\theta$ about the corresponding axis.