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
칼럼 1 | 칼럼 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.
이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.