PySCFGroundStateSolver.solve#

PySCFGroundStateSolver.solve(problem, aux_operators=None)[source]#

Finds the ground-state of the provided problem.

This method is written to match the GroundStateSolver API of Qiskit Nature but it does not support the evaluation of aux_operators and will ignore them. It is also only capable of solving an ElectronicStructureProblem and will raise an error if another problem object is provided.

Parameters:
  • problem (BaseProblem) – the problem instance to be solved.

  • aux_operators (dict[str, SparseLabelOp | SparsePauliOp] | None) – ignored.

Raises:

TypeError – if a problem other than an ElectronicStructureProblem is provided.

Returns:

The interpreted result object in Qiskit Nature format.

Return type:

ElectronicStructureResult