qiskit.quantum_info.SparsePauliOp.tensor¶
- SparsePauliOp.tensor(other)[source]¶
Return the tensor product with another SparsePauliOp.
- প্যারামিটার
other (SparsePauliOp) -- a SparsePauliOp object.
- রিটার্নস
- the tensor product \(a \otimes b\), where \(a\)
is the current SparsePauliOp, and \(b\) is the other SparsePauliOp.
- রিটার্ন টাইপ
নোট
The tensor product can be obtained using the
^
binary operator. Hencea.tensor(b)
is equivalent toa ^ b
.