qiskit.quantum_info.SparsePauliOp.tensor¶
- SparsePauliOp.tensor(other)[Quellcode]¶
Return the tensor product with another SparsePauliOp.
- Parameter
other (SparsePauliOp) – a SparsePauliOp object.
- Rückgabe
- the tensor product \(a \otimes b\), where \(a\)
is the current SparsePauliOp, and \(b\) is the other SparsePauliOp.
- Rückgabetyp
Bemerkung
The tensor product can be obtained using the
^
binary operator. Hencea.tensor(b)
is equivalent toa ^ b
.