Skip to main content
IBM Quantum Platform
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

IntermediateResult

class IntermediateResult(value)

GitHub

Bases: enum.Enum

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


Attributes

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.