bloqade.qasm3.parse.lowering
lowering¶
bloqade.qasm3.parse.lowering
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
SINGLE_QUBIT_GATES | dict[str, type] | {'h': uop.H, 'x': uop.X, 'y': uop.Y, 'z': uop.Z, 's': uop.S, 't': uop.T} | |
ROTATION_GATES | dict[str, type] | {'rx': uop.RX, 'ry': uop.RY, 'rz': uop.RZ} | |
TWO_QUBIT_GATES | dict[str, type] | {'cx': uop.CX, 'cy': uop.CY, 'cz': uop.CZ} | |
GENERAL_UNITARY | dict[str, type] | {'U': uop.UGate, 'u3': uop.UGate} | |
UNSUPPORTED_CONSTRUCTS | — | {'ForInLoop', 'WhileLoop', 'BranchingStatement', 'SubroutineDefinition', 'SwitchStatement'} |
View bloqade.qasm3.parse.lowering.QASM3Lowering →View bloqade.qasm3.parse.lowering.QASM3Lowering.max_lines →View bloqade.qasm3.parse.lowering.QASM3Lowering.hint_indent →View bloqade.qasm3.parse.lowering.QASM3Lowering.hint_show_lineno →View bloqade.qasm3.parse.lowering.QASM3Lowering.stacktrace →View bloqade.qasm3.parse.lowering.QASM3Lowering.run →View bloqade.qasm3.parse.lowering.QASM3Lowering.get_frame →View bloqade.qasm3.parse.lowering.QASM3Lowering.visit →View bloqade.qasm3.parse.lowering.QASM3Lowering.lower_global →View bloqade.qasm3.parse.lowering.QASM3Lowering.lower_literal →View bloqade.qasm3.parse.lowering.QASM3Lowering.visit_Program →View bloqade.qasm3.parse.lowering.QASM3Lowering.visit_QubitDeclaration →View bloqade.qasm3.parse.lowering.QASM3Lowering.visit_ClassicalDeclaration →View bloqade.qasm3.parse.lowering.QASM3Lowering.visit_QuantumGate →View bloqade.qasm3.parse.lowering.QASM3Lowering.visit_QuantumGateDefinition →View bloqade.qasm3.parse.lowering.QASM3Lowering.visit_QuantumMeasurementStatement →View bloqade.qasm3.parse.lowering.QASM3Lowering.visit_QuantumReset →View bloqade.qasm3.parse.lowering.QASM3Lowering.visit_QuantumBarrier →View bloqade.qasm3.parse.lowering.QASM3Lowering.visit_Include →