We're celebrating World Quantum Day 2022! Join us

openfermion.functionals.get_one_norm_int_woconst

Returns 1-norm, emitting the constant term in the qubit Hamiltonian.

See get_one_norm_int.

Parameters

one_body_integrals(ndarray) : An array of the one-electron integrals having shape of (n_orb, n_orb), where n_orb is the number of spatial orbitals. two_body_integrals(ndarray) : An array of the two-electron integrals having shape of (n_orb, n_orb, n_orb, n_orb).

Returns

one_norm : 1-Norm of the qubit Hamiltonian