PairRotation
PairRotation(real angle, integer i, integer j) -> RealOperatorFermiParam
Returns the pair 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
PairRotation(pi/2,0,1)*Fbit("0000") // Returns (0 + 1i)|1100>