Module: fqe.hamiltonians.hamiltonian_utils

Contains definitions for several Hamiltonian constructor routines.

Functions

antisymm_four_body(...): Given a four body matrix, perform antisymmeterization on the elements.

antisymm_three_body(...): Given a three body matrix, perform antisymmeterization on the elements.

antisymm_two_body(...): Given a two body matrix, perform antisymmeterization on the elements.

gather_nbody_spin_sectors(...): Given an nbody FermionOperator string, split it into alpha

nbody_matrix(...): Parse the creation and annihilation operators and return a sparse matrix

Type Aliases

Newop: The central part of internal API.

TYPE_CHECKING False