qiskit.quantum_info.PTM.tensor¶
-
PTM.
tensor
(other)[source]¶ Return the tensor product with another PTM.
- Parameters
other (PTM) – a PTM object.
- Returns
- the tensor product \(a \otimes b\), where \(a\)
is the current PTM, and \(b\) is the other PTM.
- Return type
Note
The tensor product can be obtained using the
^
binary operator. Hencea.tensor(b)
is equivalent toa ^ b
.