RotEuler
RotEuler(real phi, real theta, real omega, integer site) -> OperatorParam<real>
Returns a general spin-1/2 rotation operator RotEuler.
Parameters
- phi: The first rotation angle.
- theta: The second rotation angle.
- omega: The third rotation angle.
- site: The site index where the operator acts.
Example
var rot0 = RotEuler(1.57, 0.78, 3.14, 0) // General rotation on site 0