Compute expectation value of a 1-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 real float giving the expectation value.