qiskit.aqua.operators.evolutions.EvolutionBase¶
-
class
EvolutionBase
[código fonte]¶ 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.-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
convert
(operator)Traverse the operator, replacing any
EvolutionOps
with their equivalent evolutionCircuitOps
.-
convert
(operator)[código fonte]¶ Traverse the operator, replacing any
EvolutionOps
with their equivalent evolutionCircuitOps
.- Args:
operator: The Operator to convert.
- Tipo de retorno
OperatorBase
- Retorna
The converted Operator, with
EvolutionOps
replaced byCircuitOps
.
-