Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

OptimizerResult

class qiskit.algorithms.optimizers.OptimizerResult

GitHub

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 – Argument is None

Was this page helpful?
Report a bug or request content on GitHub.