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.