View source on GitHub |
Class for storing Hamiltonians of the form
openfermion.ops.DiagonalCoulombHamiltonian(
one_body, two_body, constant=0.0
)
\[ \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.
Attributes | |
---|---|
one_body
|
ndarray
The Hermitian matrix \(T\). |
two_body
|
ndarray
The real symmetric matrix \(V\). |
constant
|
float
The constant. |
Methods
__mul__
__mul__(
multiplier
)
__rmul__
__rmul__(
multiplier
)
__truediv__
__truediv__(
dividend
)