openfermion.linalg.expectation_two_body_db_operator_computational_basis_state

{ }

Compute expectation value of a 2-body dual-basis operator with a plane wave computational basis state.

dual_basis_action Dual-basis action of FermionOperator to evaluate expectation value of.
plane_wave_occ_orbitals list

list of occupied plane-wave orbitals.

grid openfermion.utils.Grid

The grid used for discretization.

spinless bool

Whether the system is spinless.

A float giving the expectation value.