ExcitedStatesEigensolver
class ExcitedStatesEigensolver(transformation, solver)
Bases: qiskit.chemistry.algorithms.excited_states_solvers.excited_states_solver.ExcitedStatesSolver
The calculation of excited states via an Eigensolver algorithm
Parameters
- transformation (
Transformation
) – Qubit Operator Transformation - solver (
Union
[Eigensolver
,EigensolverFactory
]) – Minimum Eigensolver or MESFactory object.
Methods
solve
ExcitedStatesEigensolver.solve(driver, aux_operators=None)
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 type FermionicOperator
.
Return type
Union
[ElectronicStructureResult
, VibronicStructureResult
]
Returns
An eigenstate result. Depending on the transformation this can be an electronic structure or bosonic result.
Attributes
solver
Returns the minimum eigensolver or factory.
Return type
Union
[Eigensolver
, EigensolverFactory
]
transformation
Returns the transformation used to obtain a qubit operator from the molecule.
Return type
Transformation