AddNoopsAll
class samplomatic.transpiler.passes.insert_noops.AddNoopsAll(*args, **kwargs)
Bases: TransformationPass
Expand boxes to all qubits contained in a circuit.
This pass leaves non-box operations as-is, but boxes are modified to span all the qubits as defined when initializing the QuantumCircuit object.
Methods Summary
칼럼 1 | 칼럼 2 |
|---|---|
run(dag) | Run a pass on the DAGCircuit. |
Methods Documentation
run
run(dag: 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에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.