qiskit.quantum_info.Statevector.evolve¶
- Statevector.evolve(other, qargs=None)[Quellcode]¶
Evolve a quantum state by the operator.
- Parameter
other (Operator | QuantumCircuit | circuit.Instruction) – The operator to evolve by.
qargs (list) – a list of Statevector subsystem positions to apply the operator on.
- Rückgabe
the output quantum state.
- Rückgabetyp
- Verursacht
QiskitError – if the operator dimension does not match the specified Statevector subsystem dimensions.