qiskit.chemistry.algorithms.ExcitedStatesEigensolver.solve¶
-
ExcitedStatesEigensolver.
solve
(driver, aux_operators=None)[source]¶ Compute Ground and Excited States properties.
- Parameters
driver (
BaseDriver
) – a chemistry driver object which defines the chemical problem that is to be solved by this calculation.aux_operators (
Optional
[List
[Any
]]) – Additional auxiliary operators to evaluate. Must be of typeFermionicOperator
if the qubit transformation is fermionic and of typeBosonicOperator
it is bosonic.
- Raises
NotImplementedError – If an operator in
aux_operators
is not of typeFermionicOperator
.- Return type
Union
[ElectronicStructureResult
,VibronicStructureResult
]- Returns
An eigenstate result. Depending on the transformation this can be an electronic structure or bosonic result.