IntermediateResult#

class IntermediateResult(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

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

Attributes

NO_ITERATIONS = 0#

No intermediate results are stored.

LAST_ITERATION = 1#

Only results from the last iteration are stored.

ALL_ITERATIONS = 2#

All intermediate results are stored.