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.
- 반환 형식
- 예외
ExtensionError – If the state is the incorrect size for the current circuit.