Commit 1fa498b
Document InteractionOperator Hermitian assumptions (#1306)
Fixes #479.
This updates the `InteractionOperator` docstring to clarify that the
representation is intended for Hermitian interaction Hamiltonians, such
as molecular electronic-structure Hamiltonians.
For arbitrary non-Hermitian fermionic operators, users should use
`FermionOperator`. This is important because transform routines
specialized for `InteractionOperator` may rely on Hermitian structure
assumptions.
Co-authored-by: Michael Hucka <mhucka@google.com>1 parent 9fec6a2 commit 1fa498b
1 file changed
Lines changed: 11 additions & 4 deletions
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
36 | 43 | | |
37 | 44 | | |
38 | 45 | | |
| |||
0 commit comments