Compute the ground state energy of the molecule that was supplied via the driver
MinimumEigensolver]]) – If not None will be called with the following values num_particles, num_orbitals, qubit_mapping, two_qubit_reduction, z2_symmetries in that order. This information can then be used to setup chemistry specific component(s) that are needed by the chosen MinimumEigensolver. The MinimumEigensolver can then be built and returned from this callback for use as the solver here.
- Return type
A molecular ground state result
QiskitChemistryError – If no MinimumEigensolver was given and no callback is being used that could supply one instead.