47 lines
2.6 KiB
Plaintext
47 lines
2.6 KiB
Plaintext
---
|
||
title: ExcitedStatesSolver
|
||
description: API reference for qiskit.chemistry.algorithms.ExcitedStatesSolver
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.chemistry.algorithms.ExcitedStatesSolver
|
||
---
|
||
|
||
# qiskit.chemistry.algorithms.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">
|
||
The excited states calculation interface
|
||
|
||
### \_\_init\_\_
|
||
|
||
<Function id="qiskit.chemistry.algorithms.ExcitedStatesSolver.__init__" signature="__init__()">
|
||
Initialize self. See help(type(self)) for accurate signature.
|
||
</Function>
|
||
|
||
## Methods
|
||
|
||
| | |
|
||
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
|
||
| [`__init__`](#qiskit.chemistry.algorithms.ExcitedStatesSolver.__init__ "qiskit.chemistry.algorithms.ExcitedStatesSolver.__init__")() | Initialize self. |
|
||
| [`solve`](#qiskit.chemistry.algorithms.ExcitedStatesSolver.solve "qiskit.chemistry.algorithms.ExcitedStatesSolver.solve")(driver\[, aux\_operators]) | Compute the excited states energies of the molecule that was supplied via the driver. |
|
||
|
||
### solve
|
||
|
||
<Function id="qiskit.chemistry.algorithms.ExcitedStatesSolver.solve" signature="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>
|
||
|