Skip to main content

PairHop

PairHop(integer i, integer j, integer k, integer l) -> OperatorFermiNamed

Returns the pair hopping operator fifjfkfl+h.c.f_{i}^\dagger f_{j}^\dagger f_{k} f_{l} + \mathrm{h.c.} with support on the specified sites.

Parameters

  • i: The first creation site index.
  • j: The second creation site index.
  • k: The first annihilation site index.
  • l: The second annihilation site index.

Example

PairHop(0,1,2,3)*Fbit("0110") // Returns (0 + 0i)|0110>