qiskit.aqua.operators.evolutions.TrotterizationFactory¶
-
class
TrotterizationFactory
[ソース]¶ A factory for conveniently creating TrotterizationBase instances.
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
build
([mode, reps])A factory for conveniently creating TrotterizationBase instances.
-
static
build
(mode='trotter', reps=1)[ソース]¶ A factory for conveniently creating TrotterizationBase instances.
- パラメータ
mode (
str
) – One of 『trotter』, 『suzuki』, 『qdrift』reps (
int
) – The number of times to repeat the Trotterization circuit.
- 戻り値の型
TrotterizationBase
- 戻り値
The desired TrotterizationBase instance.
- 例外
ValueError – A string not in [『trotter』, 『suzuki』, 『qdrift』] is given for mode.
-