qiskit.opflow.OperatorBase.tensorpower¶
- abstract OperatorBase.tensorpower(other)[código fonte]¶
Return tensor product with self multiple times, overloaded by
^
.- Parâmetros
other (
int
) – The int number of times to tensor product self with itself viatensorpower
.- Tipo de retorno
Union
[OperatorBase
,int
]- Retorno
An
OperatorBase
equivalent to the tensorpower of self by other.