NumberPhase
NumberPhase(real angle, integer i) -> RealOperatorFermiParam
Returns the site number phase operator with support on the specified site.
Parameters
- angle: The phase angle in radians.
- i: The site index where the operator acts.
Example
NumberPhase(pi,0)*Fbit("1000") // Returns (-1 + 0i)|1000>