Skip to main content

NumberNumberNNN

NumberNumberNNN(const List<integer> sites) -> OperatorFermiNamed

Legacy alias for NextNearestNumberSum. Returns the sum of next-nearest-neighbor number interactions inini+2\sum_{i} n_{i} n_{i+2} with support on the specified sites.

Parameters

  • sites: The sites where the operator acts.

Example

NumberNumberNNN([0,1,2])*Fbit("0110") // Returns (1 + 0i)|0110>