Skip to main content
IBM Quantum Platform
Informations sur la traduction

D'autres traductions de cette page seront bientôt disponibles.

InlineBoxes

class samplomatic.transpiler.passes.InlineBoxes(*args, **kwargs)

GitHub

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

Chronique « 1 »
Chronique « 2 »
run(dag)Run a pass on the DAGCircuit.

Methods Documentation

run

run(dag: DAGCircuit) → DAGCircuit

GitHub

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.

Cette page a-t-elle été utile ?
Signaler un bogue, une coquille ou proposer du contenu sur GitHub.