Compute expectation value of a 2-body dual-basis operator with a
openfermion.linalg.expectation_two_body_db_operator_computational_basis_state(
dual_basis_action, plane_wave_occ_orbitals, grid, spinless
)
plane wave computational basis state.
Args |
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.
|
Returns |
A float giving the expectation value.
|