mqt.ionshuttler.multi_shuttler.inside.compilation¶ Module Contents¶ is_qasm_file(filename: Path) → bool[source]¶ extract_qubits_from_gate(gate_line: str) → list[int][source]¶ Extract qubit numbers from a gate operation line. parse_qasm(filename: Path) → list[tuple[int, Ellipsis]][source]¶ Parse a QASM file and return qubits used for each gate preserving their order. compile(filename: Path | str) → list[tuple[int, Ellipsis]][source]¶ Compile a QASM file and return the compiled sequence of qubits.