quantax.nn.permute_sign#

quantax.nn.permute_sign(idx: Array, idx_annihilate: Array, idx_create: Array) Array#

Get the sign change due to fermion hopping.

Parameters:
  • idx_annihilate – The indices of the annihilated fermions.

  • idx_create – The indices of the created fermions.