pub fn parse_file(path: &Path) -> Result<(Vec<QuantumOp>, usize), String>
Unified entry point for reading and parsing QASM files.