qiskit.transpiler.passes.EnlargeWithAncilla.run¶
-
EnlargeWithAncilla.
run
(dag)[source]¶ Run the EnlargeWithAncilla pass on dag.
- Parameters
dag (DAGCircuit) – DAG to extend.
- Returns
An extended DAG.
- Return type
- Raises
TranspilerError – If there is not layout in the property set or not set at init time.