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