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 intermediate results are stored.
Only results from the last iteration are stored.
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.
-