ADMMOptimizer#

class ADMMOptimizer(qubo_optimizer=None, continuous_optimizer=None, params=None)[ソース]#

ベースクラス: OptimizationAlgorithm

An implementation of the ADMM-based heuristic.

This algorithm is introduced in [1].

References:

[1] Gambella, C., & Simonetto, A. (2020). Multi-block ADMM Heuristics for Mixed-Binary

Optimization on Classical and Quantum Computers. arXiv preprint arXiv:2001.02069.

パラメータ:
  • qubo_optimizer (OptimizationAlgorithm | None) – An instance of OptimizationAlgorithm that can effectively solve QUBO problems. If not specified then MinimumEigenOptimizer initialized with an instance of NumPyMinimumEigensolver will be used.

  • continuous_optimizer (OptimizationAlgorithm | None) – An instance of OptimizationAlgorithm that can solve continuous problems. If not specified then SlsqpOptimizer will be used.

  • params (ADMMParameters | None) – An instance of ADMMParameters.

Attributes

parameters#

Returns current parameters of the optimizer.

戻り値:

The parameters.

Methods

get_compatibility_msg(problem)[ソース]#

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

パラメータ:

problem (QuadraticProgram) – The optimization problem to check compatibility.

戻り値:

Returns the incompatibility message. If the message is empty no issues were found.

戻り値の型:

str

is_compatible(problem)#

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

パラメータ:

problem (QuadraticProgram) – The optimization problem to check compatibility.

戻り値:

Returns True if the problem is compatible, False otherwise.

戻り値の型:

bool

solve(problem)[ソース]#

Tries to solves the given problem using ADMM algorithm.

パラメータ:

problem (QuadraticProgram) – The problem to be solved.

戻り値:

The result of the optimizer applied to the problem.

例外:

QiskitOptimizationError – If the problem is not compatible with the ADMM optimizer.

戻り値の型:

ADMMOptimizationResult