SparsePauliOp.tensor

SparsePauliOp.tensor(other)[source]

Return the tensor product operator self ⊗ other.

Parameters

other (SparsePauliOp) – a operator subclass object.

Returns

the tensor product operator self ⊗ other.

Return type

SparsePauliOp

Raises

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