Closed mrossinek closed 1 year ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
qiskit_nature_pyscf/pyscf_ground_state_solver.py | 48 | 52 | 92.31% | ||
<!-- | Total: | 49 | 53 | 92.45% | --> |
Totals | |
---|---|
Change from base Build 5219162798: | 7.9% |
Covered Lines: | 118 |
Relevant Lines: | 152 |
Rerunning CI here to see if the fix from https://github.com/qiskit-community/qiskit-nature/pull/1202 propagates down to fix things here, too :+1:
Thanks for the review! Seems like I overlooked quite a lot of things. I guess I should go back to my development style of always writing TODO
in places which I have not actually written a proper message yet rather than putting something semi-useful in there because then the TODO
will actually stand out to me :upside_down_face:
Summary
This PR adds the
PySCFGroundStateSolver
, a new class which flips the API integration on its head, by using PySCF'sfci
module to allow solving Qiskit Nature problems. This obviously will not scale to huge problems but I find this to be a useful utility when testing and debugging classical computational workflows in Qiskit Nature. Especially since this approach is a lot more performant than theNumPyMinimumEigensolver
alternative with afilter_criterion
added into it (see also https://github.com/Qiskit/qiskit-terra/issues/10194).Details and comments