pub fn import_qasm<S>(code: S) -> CircuitExpand description
Creates a Circuit from OpenQASM2 code.
All gates are inlined up to the known gates defined in crate::gates. All
qubits are initialized to zero. Note that not all QASM instructions are
supported, such as measure or if.