Module: openfermion.ops.representations

Modules

diagonal_coulomb_hamiltonian module: Class for electronic structure Hamiltonians with a diagonal Coulomb term

interaction_operator module: Class and functions to store interaction operators.

interaction_rdm module: Class and functions to store reduced density matrices.

polynomial_tensor module: Base class for representating operators that are polynomials in the

quadratic_hamiltonian module: Hamiltonians that are quadratic in the fermionic ladder operators.

Classes

class DiagonalCoulombHamiltonian: Class for storing Hamiltonians of the form

class InteractionOperator: Class for storing 'interaction operators' which are defined to be

class InteractionOperatorError: Common base class for all non-exit exceptions.

class InteractionRDM: Class for storing 1- and 2-body reduced density matrices.

class InteractionRDMError: Common base class for all non-exit exceptions.

class PolynomialTensor: Class for storing tensor representations of operators that correspond

class PolynomialTensorError: Common base class for all non-exit exceptions.

class QuadraticHamiltonian: Class for storing Hamiltonians that are quadratic in the fermionic

class QuadraticHamiltonianError: Common base class for all non-exit exceptions.

Functions

antisymmetric_canonical_form(...): Compute the canonical form of an antisymmetric matrix.

general_basis_change(...): Change the basis of an general interaction tensor.