Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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.

রিটার্ন টাইপ

SparsePauliOp

নোট

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