InlineBoxes
class samplomatic.transpiler.passes.InlineBoxes(*args, **kwargs)
Bases: TransformationPass
Inline every box in the input circuit by replacing it with its content.
Every annotation that is present in the boxes is ignored.
Methods Summary
Column 1 | Column 2 |
|---|---|
run(dag) | Run a pass on the DAGCircuit. |
Methods Documentation
run
run(dag: DAGCircuit) → DAGCircuit
Run a pass on the DAGCircuit. This is implemented by the pass developer.
Parameters
dag – the dag on which the pass is run.
Raises
NotImplementedError – when this is left unimplemented for a pass.
Was this page helpful?
Report a bug, typo, or request content on GitHub.