Skip to content

Unroll if

UnrollIfs

Bases: Pass

This pass lifts statements that are not UOP out of the if body and then splits whatever is left into multiple if statements so you obtain valid QASM2