openfermion.ops.DiagonalCoulombHamiltonian
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__
View source
__mul__(
multiplier
)
__rmul__
View source
__rmul__(
multiplier
)
__truediv__
View source
__truediv__(
dividend
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]