Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.passes.CommutativeCancellation.run

CommutativeCancellation.run(dag)[código fonte]

Run the CommutativeCancellation pass on dag.

Parâmetros

dag (DAGCircuit) – the DAG to be optimized.

Retorno

the optimized DAG.

Tipo de retorno

DAGCircuit

Levanta

TranspilerError – when the 1-qubit rotation gates are not found