Skip to main content
IBM Quantum Platform
翻訳情報

このページの追加言語翻訳は近日公開予定です。

AddNoops

class samplomatic.transpiler.passes.insert_noops.AddNoops(*args, **kwargs)

GitHub

Bases: TransformationPass

Expand boxes to the given qubits.

This pass leaves non-box operations as-is, but boxes are modified to span the original qubits, original clbits, and any user-specified qubits not already included in the original qubits.

Methods Summary

コラム「 1 」
コラム「 2 」
run(dag)Run a pass on the DAGCircuit.

Methods Documentation

run

run(dag: 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.

このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。