mqt.ionshuttler.multi_shuttler.inside.compilation

Module Contents

parse_qasm(filename: Path) list[tuple[int, ...]][source]

Parse a QASM file and return qubits used for each gate preserving their order.

create_initial_circuit(filename: Path) ParsedCircuit[source]

Return a canonicalized parsed circuit with stable gate ids.

compile(filename: Path | str) list[tuple[int, ...]][source]

Compile a QASM file and return the compiled sequence of qubits.