EvolutionBase#

class qiskit.opflow.evolutions.EvolutionBase[source]#

Bases : ConverterBase, ABC

Deprecated: A base for Evolution converters. Evolutions are converters which traverse an Operator tree, replacing any EvolvedOp e with a Schrodinger equation-style evolution CircuitOp equalling or approximating the matrix exponential of -i * the Operator contained inside (e.primitive). The Evolutions are essentially implementations of Hamiltonian Simulation algorithms, including various methods for Trotterization.

Obsolète depuis la version 0.24.0: The class qiskit.opflow.evolutions.evolution_base.EvolutionBase is deprecated as of qiskit-terra 0.24.0. It will be removed no earlier than 3 months after the release date. For code migration guidelines, visit https://qisk.it/opflow_migration.

Methods

abstract convert(operator)[source]#

Traverse the operator, replacing any EvolutionOps with their equivalent evolution CircuitOps.

Args:

operator: The Operator to convert.

Renvoie:

The converted Operator, with EvolutionOps replaced by CircuitOps.

Type renvoyé:

OperatorBase