qiskit.quantum_info.SparsePauliOp.expand¶
- SparsePauliOp.expand(other)[source]¶
Return the reverse-order tensor product with another SparsePauliOp.
- Paramètres
other (SparsePauliOp) – a SparsePauliOp object.
- Renvoie
- the tensor product \(b \otimes a\), where \(a\)
is the current SparsePauliOp, and \(b\) is the other SparsePauliOp.
- Type renvoyé