qiskit-documentation/docs/api/qiskit/0.31/qiskit.chemistry.algorithms...

40 lines
1.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: ExcitedStatesSolver (v0.31)
description: API reference for qiskit.chemistry.algorithms.ExcitedStatesSolver in qiskit v0.31
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.chemistry.algorithms.ExcitedStatesSolver
---
# ExcitedStatesSolver
<Class id="qiskit.chemistry.algorithms.ExcitedStatesSolver" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/chemistry/algorithms/excited_states_solvers/excited_states_solver.py" signature="ExcitedStatesSolver" modifiers="class">
Bases: `abc.ABC`
The excited states calculation interface
## Methods
<span id="qiskit-chemistry-algorithms-excitedstatessolver-solve" />
### solve
<Function id="qiskit.chemistry.algorithms.ExcitedStatesSolver.solve" signature="ExcitedStatesSolver.solve(driver, aux_operators=None)" modifiers="abstract">
Compute the excited states energies of the molecule that was supplied via the driver.
**Parameters**
* **driver** (`BaseDriver`) a chemistry driver object which defines the chemical problem that is to be solved by this calculation.
* **aux\_operators** (`Union`\[`List`\[`FermionicOperator`], `List`\[`BosonicOperator`], `None`]) Additional auxiliary operators to evaluate. Must be of type `FermionicOperator` if the qubit transformation is fermionic and of type `BosonicOperator` it is bosonic.
**Return type**
`Union`\[`ElectronicStructureResult`, `VibronicStructureResult`]
**Returns**
an eigenstate result
</Function>
</Class>