German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.SparsePauliOp.tensor

SparsePauliOp.tensor(other)[Quellcode]

Return the tensor product with another SparsePauliOp.

Parameter

other (SparsePauliOp) – a SparsePauliOp object.

Rückgabe

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

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

Rückgabetyp

SparsePauliOp

Bemerkung

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