qiskit.quantum_info.SparsePauliOp.expand¶
-
SparsePauliOp.
expand
(other)[source]¶ Return the reverse-order tensor product with another SparsePauliOp.
- Parameters
other (SparsePauliOp) – a SparsePauliOp object.
- Returns
- the tensor product \(b \otimes a\), where \(a\)
is the current SparsePauliOp, and \(b\) is the other SparsePauliOp.
- Return type