Skip to main contentIBM Quantum Documentation

OptimizerResult

qiskit.algorithms.optimizers.OptimizerResult

Bases: AlgorithmResult

The result of an optimization routine.


Attributes

fun

The final value of the minimization.

jac

The final gradient of the minimization.

nfev

The total number of function evaluations.

nit

The total number of iterations.

njev

The total number of gradient evaluations.

x

The final point of the minimization.


Methods

combine

combine(result)

Any property from the argument that exists in the receiver is updated. :param result: Argument result with properties to be set.

Raises

TypeError (opens in a new tab) – Argument is None

Was this page helpful?