qbraid.transpiler.conversions.qasm3.qasm3_to_pyqir

qasm3_to_pyqir(program)[source]

Returns a PyQIR module equivalent to the input OpenQASM 3 program.

Parameters:

program (str) – OpenQASM 3 program circuit to convert to PyQIR module.

Returns:

module equivalent to input OpenQASM 3 program.

Return type:

pyqir.Module