Commit e02b569
Fixing the UHF hamiltonian generation (#309)
In this PR:
1- We allowed the calculation for the spin molecular Hamiltonian for
both full and active space using UHF
2- We fixed the electron integrals calculation for the active space
Hamiltonian when using the UHF molecular orbitals.
---------
Signed-off-by: marwafar <[email protected]>
Signed-off-by: Ben Howe <[email protected]>
Co-authored-by: Ben Howe <[email protected]>
Co-authored-by: Ben Howe <[email protected]>1 parent df6c950 commit e02b569
File tree
3 files changed
+391
-155
lines changed- .github/workflows
- libs/solvers/python
- cudaq_solvers/tools/molecule/pyscf/generators
- tests
3 files changed
+391
-155
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments