Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.ScalarOp.tensor

ScalarOp.tensor(other)[código fonte]

Return the tensor product with another ScalarOp.

Parâmetros

other (ScalarOp) – a ScalarOp object.

Retorno

the tensor product \(a \otimes b\), where \(a\)

is the current ScalarOp, and \(b\) is the other ScalarOp.

Tipo de retorno

ScalarOp

Nota

The tensor product can be obtained using the ^ binary operator. Hence a.tensor(b) is equivalent to a ^ b.