MinimizeResult

class MinimizeResult

Bases: Protocol

Protocol for the result of a classical minimization run.

Returned by MinimizeProtocol.__call__() after the optimizer finishes.

Methods

Attributes

best_objective

Best (lowest) objective value found by the optimizer.

best_parameters

Circuit parameter values corresponding to the best objective.

__init__(*args, **kwargs)
abstract property best_objective: float

Best (lowest) objective value found by the optimizer.

abstract property best_parameters: tuple[float, ...]

Circuit parameter values corresponding to the best objective.