Is there a possibility to access such function from Qiskit interface? By this "interface" I mean mostly classes Molecule, ElectronicStructureProblem and ElectronicStructureMoleculeDriver. I need this functionality to solve my problem, while I'd much prefer to stick with the general interface enabling me to use different molecule drivers (PySCF, Gaussian...), then to depend solely on PSI4. On the other hand, I don't want to write it completely by myself, if possible, to prevent redundancy in the code.
Qiskit Nature, to compute an
ElectronicStructureProblem, you will find
nuclear_repulsion_energy as a field in the ElectronicStructureResult
I will note that this value is not computed by Qiskit rather it is retrieved directly from the driver and passed along via the driver result in the ElectronicEnergy property where you will find a like-named field.