qiskit.providers.aer.library.set_unitary¶ set_unitary(self, state)[소스]¶ Set the state state of the simulator. 매개변수 state (Operator) – A state matrix. 반환값 with attached instruction. 반환 형식 QuantumCircuit 예외 ExtensionError – If the state is the incorrect size for the current circuit. ExtensionError – if the input matrix is not unitary.