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