InlineBoxes¶
- class samplomatic.transpiler.passes.InlineBoxes(*args, **kwargs)[source]¶
Bases:
TransformationPassInline every box in the input circuit by replacing it with its content.
Every annotation that is present in the boxes is ignored.
Methods Summary
run(dag)Run a pass on the DAGCircuit.
Methods Documentation
- run(dag: DAGCircuit) DAGCircuit[source]¶
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.