pychemiq.FermionOperator#

Classes#

class FermionOperator({fermion_string: coefficient})#
Parameters:
  • fermion_string (str) – The Fermi operator in character form.

  • coefficient (float) – The coefficient of this Fermi operator.

Returns:

Fermion operator class.

normal_ordered()#

The normal_ordered interface organizes fermionic operators. In this transformation, it is specified that the orbital encoding applied is sorted from high to low, and the generated operator appears before the annihilation operator.

data()#

The fermionic operator class also provides a data interface that can return data maintained internally by the fermionic operator.

Note

For a detailed introduction to this class, please refer to the Operator Class Tutorial in the advanced tutorial.