qiskit.optimization.algorithms.IntermediateResult
class IntermediateResult(value)
Defines whether the intermediate results of RecursiveMinimumEigenOptimizer
at each iteration should be stored and returned to the end user.
__init__
__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
Default value: 2
All intermediate results are stored.
LAST_ITERATION
Default value: 1
Only results from the last iteration are stored.
NO_ITERATIONS
Default value: 0
No intermediate results are stored.
Was this page helpful?
Report a bug or request content on GitHub.