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