Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.chemistry.algorithms.ExcitedStatesEigensolver

class ExcitedStatesEigensolver(transformation, solver)

GitHub

The calculation of excited states via an Eigensolver algorithm

Parameters

  • transformation (Transformation) – Qubit Operator Transformation
  • solver (Union[Eigensolver, EigensolverFactory]) – Minimum Eigensolver or MESFactory object.

__init__

__init__(transformation, solver)

Parameters

  • transformation (Transformation) – Qubit Operator Transformation
  • solver (Union[Eigensolver, EigensolverFactory]) – Minimum Eigensolver or MESFactory object.

Methods

__init__(transformation, solver)type transformationTransformation
solve(driver[, aux_operators])Compute Ground and Excited States properties.

Attributes

solverReturns the minimum eigensolver or factory.
transformationReturns the transformation used to obtain a qubit operator from the molecule.

solve

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 type FermionicOperator if the qubit transformation is fermionic and of type BosonicOperator 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.

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

Was this page helpful?
Report a bug or request content on GitHub.