ffsim.SupportsFermionOperator

class ffsim.SupportsFermionOperator(*args, **kwargs)[source]

Bases: Protocol

An object that can be converted to a FermionOperator.

Methods

_fermion_operator_()

Return a FermionOperator representing the object.

_fermion_operator_()[source]

Return a FermionOperator representing the object.

Return type:

FermionOperator

Returns:

A FermionOperator representing the object.