RealOperatorFermiParam
Represents a named fermionic operator acting on specified sites. Create instances using factory functions like Create(), Destroy(), Number(), or Hop().
Factories
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>
NumberNumberPhase(real angle, integer i, integer j) -> RealOperatorFermiParam
Returns the two-site number-number phase operator with support on the specified sites.
Parameters
- angle: The phase angle in radians.
- i: The first site index.
- j: The second site index.
Example
NumberNumberPhase(pi,0,1)*Fbit("1100") // Returns (-1 + 0i)|1100>
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>
NumberPotential(const List<real> coefficients) -> RealOperatorFermiParam
Returns an operator representing a weighted sum of number operators , where the site indices are implicitly . If a subset of sites or a different ordering is desired, use the factory overload that accepts an explicit list of site indices.
Parameters
- coefficients: The coefficients .
Example
var coefficients = [1.0,3.0,4.0,0.0]
NumberPotential(coefficients)*Fbit("0110") // Returns (7 + 0i)|0110>
NumberPotential(const List<real> coefficients, const List<integer> sites) -> RealOperatorFermiParam
Returns an operator representing a weighted sum of number operators .
Parameters
- coefficients: The coefficients .
- sites: The site indices where the operator acts.