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.