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.

one_body ndarray

The Hermitian matrix \(T\).

two_body ndarray

The real symmetric matrix \(V\).

constant float

The constant.

Methods

__mul__

View source

__rmul__

View source

__truediv__

View source