monoprop

FermiString

An ordered product of fermionic ladder operators.

Attributes

attributeexpression
= expression.expression

Functions

func__init__(self, expression) -> None

Initialize the Fermi string.

paramself
paramexpressionSequence[tuple[int, str]] | FermiString

A sequence of (mode index, '+' or '-') pairs, with non-negative indices, or another FermiString to copy.

Returns

None
func__repr__(self) -> str

Return a string representation of the Fermi string.

paramself

Returns

str
func__eq__(self, value) -> bool

Check equality of two FermiStrings.

paramself
paramvalueobject

Returns

bool
func__hash__(self) -> int

Return a hash of the Fermi string.

paramself

Returns

int

On this page