quantax.nn.changed_inds#

quantax.nn.changed_inds(s: Array, s_old: Array, nhops: int) Tuple[Array, Array]#

Get the indices of the hopping fermions.

Parameters:
  • s – A 1D array representing the new fermion configuration.

  • s_old – A 1D array representing the old fermion configuration.

  • nhops – The number of hopping fermions.