Fold QASM2Fold dataclass QASM2Fold( inline_gate_subroutine: bool = True, unroll_ifs: bool = True, ) Bases: Pass Fold pass for qasm2.extended