English
Languages
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.optimization.algorithms.IntermediateResult

class IntermediateResult(value)[source]

Defines whether the intermediate results of RecursiveMinimumEigenOptimizer at each iteration should be stored and returned to the end user.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Attributes

ALL_ITERATIONS

All intermediate results are stored.

LAST_ITERATION

Only results from the last iteration are stored.

NO_ITERATIONS

No intermediate results are stored.

ALL_ITERATIONS = 2

All intermediate results are stored.

LAST_ITERATION = 1

Only results from the last iteration are stored.

NO_ITERATIONS = 0

No intermediate results are stored.