Statevector.evolve

Statevector.evolve(other, qargs=None)[source]

Evolve a quantum state by the operator.

Parameters
  • other (Operator) – The operator to evolve by.

  • qargs (list) – a list of Statevector subsystem positions to apply the operator on.

Returns

the output quantum state.

Return type

Statevector

Raises

QiskitError – if the operator dimension does not match the specified Statevector subsystem dimensions.