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.