Operator.expand

Operator.expand(other)[source]

Return the tensor product operator other ⊗ self.

Parameters

other (Operator) – an operator object.

Returns

the tensor product operator other ⊗ self.

Return type

Operator

Raises

QiskitError – if other cannot be converted to an operator.