Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

OptimizerResult

class qiskit.algorithms.optimizers.OptimizerResult

GitHub(opens in a new tab)

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?
Report a bug or request content on GitHub.