Skip to main content
IBM Quantum Platform
번역 정보

이 페이지의 추가 언어 번역이 곧 제공될 예정입니다.

AddNoopsActiveCircuit

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

GitHub

Bases: TransformationPass

Expand boxes to any qubit marked as active at any point in the circuit.

This pass leaves non-box operations as-is, but boxes are modified to span the original qubits, original clbits, and any qubits not already included in the original qubits which have been marked as active at any other point in the circuit.

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에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.