pub fn parse_qasm_str(source: &str) -> Result<(Vec<QuantumOp>, usize), String>
Parse QASM string into a list of quantum operations