VQEProgram.compute_minimum_eigenvalue¶
- VQEProgram.compute_minimum_eigenvalue(operator, aux_operators=None)[source]¶
Calls the VQE Runtime to approximate the ground state of the given operator.
- Parameters
operator (
OperatorBase
) – Qubit operator of the observableaux_operators (
Optional
[List
[Optional
[OperatorBase
]]]) – Optional list of auxiliary operators to be evaluated with the (approximate) eigenstate of the minimum eigenvalue main result and their expectation values returned. For instance in chemistry these can be dipole operators, total particle count operators so we can get values for these at the ground state.
- Return type
MinimumEigensolverResult
- Returns
MinimumEigensolverResult
- Raises
ValueError – If the backend has not yet been set.
ValueError – If the provider has not yet been set.
RuntimeError – If the job execution failed.