We're celebrating World Quantum Day 2022! Join us

openfermion.ops.DiagonalCoulombHamiltonian

Class for storing Hamiltonians of the form

\[ \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

- \\(T\\) is a Hermitian matrix.
- \\(V\\) is a real symmetric matrix.

Methods

__mul__

View source

__rmul__

View source

__truediv__

View source