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.
VQEResult
class VQEResult
Bases: qiskit.algorithms.variational_algorithm.VariationalResult
, qiskit.algorithms.minimum_eigensolvers.minimum_eigensolver.MinimumEigensolverResult
Variational quantum eigensolver result.
Methods
combine
VQEResult.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
aux_operators_evaluated
The aux operator expectation values.
These values are in fact tuples formatted as (mean, (variance, shots)).
cost_function_evals
The number of cost optimizer evaluations.
Return type
int | None
eigenvalue
The computed minimum eigenvalue.
Return type
complex | None
optimal_circuit
The optimal circuits. Along with the optimal parameters, these can be used to retrieve the minimum eigenstate.
Return type
optimal_parameters
Returns the optimal parameters in a dictionary
Return type
Optional
[Dict
]
optimal_point
Returns optimal point
Return type
Optional
[ndarray
]
optimal_value
Returns optimal value
Return type
Optional
[float
]
optimizer_evals
Returns number of optimizer evaluations
Return type
Optional
[int
]
optimizer_result
optimizer_time
Returns time taken for optimization
Return type
Optional
[float
]
Was this page helpful?
Report a bug or request content on GitHub.