ffsim.fermion_operator

ffsim.fermion_operator(obj)[source]

Return a FermionOperator representing the object.

Parameters:

obj (Any) – The object to convert to a LinearOperator.

Return type:

FermionOperator

Returns:

A FermionOperator representing the object.