About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
OptimizerResult
class OptimizerResult
Bases: qiskit.algorithms.algorithm_result.AlgorithmResult
The result of an optimization routine.
Methods
combine
OptimizerResult.combine(result)
Any property from the argument that exists in the receiver is updated. :type result: AlgorithmResult
:param result: Argument result with properties to be set.
Raises
TypeError – Argument is None
Return type
None
Attributes
fun
The final value of the minimization.
Return type
Optional
[float
]
jac
The final gradient of the minimization.
Return type
Union
[float
, ndarray
, None
]
nfev
The total number of function evaluations.
Return type
Optional
[int
]
nit
The total number of iterations.
Return type
Optional
[int
]
njev
The total number of gradient evaluations.
Return type
Optional
[int
]
x
The final point of the minimization.
Return type
Union
[float
, ndarray
, None
]
Was this page helpful?
Report a bug or request content on GitHub.