Return jellium Hamiltonian in the dual basis of arXiv:1706.00023

grid Grid

The discretization to use.

spinless bool

Whether to use the spinless model or not.

kinetic bool

Whether to include kinetic terms.

potential bool

Whether to include potential terms.

include_constant bool

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

non_periodic bool

If the system is non-periodic, default to False.

period_cutoff float

Period cutoff, default to grid.volume_scale() ** (1. / grid.dimensions).

operator (FermionOperator)