Learn more about our quantum error correction milestone

Module: openfermion.functionals

Modules

contextuality module: tests for whether operators are contextual contextuality

get_one_norm module: Function to calculate the 1-Norm of a molecular Hamiltonian

Functions

get_one_norm_int(...): Returns the 1-Norm of a RHF or ROHF Hamiltonian described in

get_one_norm_int_woconst(...): Returns 1-norm, emitting the constant term in the qubit Hamiltonian.

get_one_norm_mol(...): Returns the 1-Norm of a RHF or ROHF Hamiltonian described in

get_one_norm_mol_woconst(...): Returns 1-norm, emitting the constant term in the qubit Hamiltonian.

is_contextual(...): Determine whether a hamiltonian (instance of QubitOperator) is contextual,