Statevector.multiply

Statevector.multiply(other)

Return the scalar multipled state other * self.

Parameters

other (complex) – a complex number.

Returns

the scalar multipled state other * self.

Return type

QuantumState

Raises

QiskitError – if other is not a valid complex number.