pub fn loads(qasm_as_str: &str) -> QuantumCircuit
Parse an OpenQASM 2.0 program in str format, and convert it into a QuantumCircuit.
str
QuantumCircuit