openfermion.transforms.inverse_fourier_transform

Apply inverse Fourier transform to change hamiltonian in plane wave dual basis.

\[ a^\dagger_v = \sqrt{1/N} \sum_m {c^\dagger_m \exp(i k_v r_m)} a_v = \sqrt{1/N} \sum_m {c_m \exp(-i k_v r_m)} \]

hamiltonian FermionOperator

The hamiltonian in plane wave dual basis.

grid Grid

The discretization to use.

spinless bool

Whether to use the spinless model or not.

FermionOperator The inverse-fourier-transformed hamiltonian.