EvolutionBase#
- class qiskit.opflow.evolutions.EvolutionBase[Quellcode]#
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 evolutionCircuitOp
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.Veraltet ab 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)[Quellcode]#
Traverse the operator, replacing any
EvolutionOps
with their equivalent evolutionCircuitOps
.- Args:
operator: The Operator to convert.
- Rückgabe:
The converted Operator, with
EvolutionOps
replaced byCircuitOps
.- Rückgabetyp: