Statevector.expand

Statevector.expand(other)[source]

Return the tensor product state other ⊗ self.

Parameters

other (Statevector) – a quantum state object.

Returns

the tensor product state other ⊗ self.

Return type

Statevector

Raises

QiskitError – if other is not a quantum state.