SparsePauliOp.expand

SparsePauliOp.expand(other)[source]

Return the tensor product operator other ⊗ self.

Parameters

other (SparsePauliOp) – an operator object.

Returns

the tensor product operator other ⊗ self.

Return type

SparsePauliOp

Raises

QiskitError – if other cannot be converted to a SparsePauliOp operator.