English
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.passes.Unroll3qOrMore.run

Unroll3qOrMore.run(dag)[source]

Run the Unroll3qOrMore pass on dag.

Parameters

dag (DAGCircuit) – input dag

Returns

output dag with maximum node degrees of 2

Return type

DAGCircuit

Raises

QiskitError – if a 3q+ gate is not decomposable