qiskit.quantum_info.ScalarOp.tensor¶
- ScalarOp.tensor(other)[소스]¶
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
.