FermiString
An ordered product of fermionic ladder operators.
Attributes
attributeexpression= expression.expressionFunctions
func__init__(self, expression) -> NoneInitialize the Fermi string.
paramselfparamexpressionSequence[tuple[int, str]] | FermiStringA sequence of (mode index, '+' or '-') pairs, with non-negative
indices, or another FermiString to copy.
Returns
Nonefunc__repr__(self) -> strReturn a string representation of the Fermi string.
paramselfReturns
strfunc__eq__(self, value) -> boolCheck equality of two FermiStrings.
paramselfparamvalueobjectReturns
boolfunc__hash__(self) -> intReturn a hash of the Fermi string.
paramselfReturns
int