Unroller.run

Unroller.run(dag)[source]

Run the Unroller pass on dag.

Parameters

dag (DAGCircuit) – input dag

Raises
  • QiskitError – if unable to unroll given the basis due to undefined

  • decomposition rules (such as a bad basis) or excessive recursion.

Returns

output unrolled dag

Return type

DAGCircuit