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で行ってください。