openfermion.hamiltonians.dual_basis_potential

Return the potential operator in the dual basis of arXiv:1706.00023

grid Grid

The discretization to use.

spinless bool

Whether to use the spinless model or not.

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)