ffsim.cre

ffsim.cre(spin, orb)[source]

Create a fermion.

Parameters:
  • spin (bool) – The spin of the orbital. False = alpha, True = beta.

  • orb (int) – The index of the orbital to act on.

Return type:

FermionAction