qiskit.opflow.primitive_ops.PrimitiveOp.tensorpower¶
- PrimitiveOp.tensorpower(other)[source]¶
Return tensor product with self multiple times, overloaded by
^
.- Parameters
other (int) – The int number of times to tensor product self with itself via
tensorpower
.- Returns
An
OperatorBase
equivalent to the tensorpower of self by other.- Return type
Union[OperatorBase, int]