TrotterizationFactory#
- class qiskit.opflow.evolutions.TrotterizationFactory[source]#
Bases :
object
Deprecated: A factory for conveniently creating TrotterizationBase instances.
Methods
- static build(mode='trotter', reps=1)[source]#
A factory for conveniently creating TrotterizationBase instances.
Obsolète depuis la version 0.24.0: The method
qiskit.opflow.evolutions.trotterizations.trotterization_factory.TrotterizationFactory.build()
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.- Paramètres:
- Renvoie:
The desired TrotterizationBase instance.
- Lève:
ValueError – A string not in [“trotter”, “suzuki”, “qdrift”] is given for mode.
- Type renvoyé: