FermionAction¶
- class FermionAction¶
Bases:
NamedTupleA fermionic creation or annihilation action.
Attributes
Methods
- classmethod annihilation(mode)¶
Constructs an annihilation action on the fermionic mode at
mode.- Parameters:
mode (int) – the spin-less fermionic mode on which to act.
- Return type:
Self
- classmethod creation(mode)¶
Constructs a creation action on the fermionic mode at
mode.- Parameters:
mode (int) – the spin-less fermionic mode on which to act.
- Return type:
Self
Inherited Methods
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.