openfermion.ops.DiagonalCoulombHamiltonian

Class for storing Hamiltonians of the form

.. math::

\sum_{p, q} T_{pq} a^\dagger_p a_q +
\sum_{p, q} V_{pq} a^\dagger_p a_p a^\dagger_q a_q +
\text{constant}

where

- :math:`T` is a Hermitian matrix.
- :math:`V` is a real symmetric matrix.

Methods

__mul__

View source

__rmul__

View source

__truediv__

View source