openfermion.transforms.chemist_ordered

Puts a two-body fermion operator in chemist ordering.

Main aliases

openfermion.chemist_ordered, openfermion.transforms.opconversions.chemist_ordered, openfermion.transforms.opconversions.term_reordering.chemist_ordered

The normal ordering convention for chemists is different. Rather than ordering the two-body term as physicists do, as aaaa the chemist ordering of the two-body term is aaaa

fermion_operator FermionOperator

a fermion operator guaranteed to have number conserving one- and two-body fermion terms only.

chemist_ordered_operator FermionOperator

the input operator ordered in the chemistry convention.

OperatorSpecificationError Operator is not two-body number conserving.