NumberNumberNN
NumberNumberNN(const List<integer> sites) -> OperatorFermiNamed
Legacy alias for NearestNumberSum. Returns the sum of nearest-neighbor number interactions with support on the specified sites.
Parameters
- sites: The sites where the operator acts.
Example
NumberNumberNN([0,1,2])*Fbit("0110") // Returns (1 + 0i)|0110>