openfermion.hamiltonians.jordan_wigner_dual_basis_jellium

Return the jellium Hamiltonian as QubitOperator in the dual basis.

grid Grid

The discretization to use.

spinless bool

Whether to use the spinless model or not.

include_constant bool

Whether to include the Madelung constant. Note constant is unsupported for non-uniform, non-cubic cells with ions.

hamiltonian (QubitOperator)