qiskit.dagcircuit.DAGCircuitError¶ exception DAGCircuitError(*msg)[source]¶ Base class for errors raised by the DAGCircuit object. Set the error message. with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.