qiskit.opflow.primitive_ops.PrimitiveOp.tensorpower¶
- PrimitiveOp.tensorpower(other)[source]¶
Return tensor product with self multiple times, overloaded by
^
.- Paramètres
other (int) – The int number of times to tensor product self with itself via
tensorpower
.- Renvoie
An
OperatorBase
equivalent to the tensorpower of self by other.- Type renvoyé
Union[OperatorBase, int]