English
Languages
English
Shortcuts



OptimizationAlgorithm

class OptimizationAlgorithm[source]

Bases: abc.ABC

An abstract class for optimization algorithms in Qiskit’s optimization module.

Methods

get_compatibility_msg(problem)

Checks whether a given problem can be solved with the optimizer implementing this method.

is_compatible(problem)

Checks whether a given problem can be solved with the optimizer implementing this method.

solve(problem)

Tries to solves the given problem using the optimizer.