Return the e-e potential operator in the plane wave basis.

grid Grid

The discretization to use.

spinless bool

Whether to use the spinless model or not.

e_cutoff float

Energy cutoff.

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)