RecursiveMinimumEigenOptimizer.solve¶
- RecursiveMinimumEigenOptimizer.solve(problem)[source]¶
Tries to solve the given problem using the recursive optimizer.
Runs the optimizer to try to solve the optimization problem.
- Parameters
problem (
QuadraticProgram
) – The problem to be solved.- Return type
OptimizationResult
- Returns
The result of the optimizer applied to the problem.
- Raises
QiskitOptimizationError – Incompatible problem.
QiskitOptimizationError – Infeasible due to variable substitution