# qiskit.providers.aer.library.set_statevector¶

set_statevector(self, state)[ソース]

Set the statevector state of the simulator.

パラメータ

state (Statevector) – A state matrix.

with attached instruction.

QuantumCircuit

ExtensionError – If the state is the incorrect size for the current circuit.