Japanese
言語
English
Bengali
Japanese
Spanish



GroverOptimizer

class GroverOptimizer(num_value_qubits, num_iterations=3, quantum_instance=None, converters=None, penalty=None)[ソース]

ベースクラス: OptimizationAlgorithm

Uses Grover Adaptive Search (GAS) to find the minimum of a QUBO function.

パラメータ:
例外:

TypeError – When there one of converters is an invalid type.

Attributes

quantum_instance

The quantum instance to run the circuits.

Methods

get_compatibility_msg(problem)

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

solve(problem)

Tries to solves the given problem using the grover optimizer.