ModeRotation
ModeRotation(real angle, integer i, integer j) -> RealOperatorFermiParam
Returns the mode rotation operator with support on the specified sites.
Parameters
- angle: The rotation angle in radians.
- i: The first site index.
- j: The second site index.
Example
ModeRotation(pi/2,0,1)*Fbit("1000") // Returns (0 + 1i)|0100>