iqm.cirq_iqm.extended_qasm_parser.circuit_from_qasm

iqm.cirq_iqm.extended_qasm_parser.circuit_from_qasm#

iqm.cirq_iqm.extended_qasm_parser.circuit_from_qasm(qasm: str) Circuit#

Parses an OpenQASM 2.0 program to a Cirq circuit.

Parameters:

qasm (str) – OpenQASM program

Returns:

parsed circuit

Return type:

Circuit