openfermion.transforms.fourier_transform

Apply Fourier transform to change hamiltonian in plane wave basis.

Used in the notebooks

Used in the tutorials

.. math::

c^\dagger_v = \sqrt{1/N} \sum_m {a^\dagger_m \exp(-i k_v r_m)}
c_v = \sqrt{1/N} \sum_m {a_m \exp(i k_v r_m)}

hamiltonian (FermionOperator): The hamiltonian in plane wave basis. grid (Grid): The discretization to use. spinless (bool): Whether to use the spinless model or not.

FermionOperator The fourier-transformed hamiltonian.