pub fn rotate_spin(state: &SpinState, axis: Vec3, angle: f64) -> SpinState
Rotate spin state about an axis by an angle. Uses the SU(2) rotation: exp(-i * angle/2 * n.sigma)