qbraid.transpiler.conversions.qasm2.qasm2_to_ionq

qasm2_to_ionq(qasm)[source]

Returns an IonQ JSON format representation the input OpenQASM 2 string.

Parameters:

qasm (str) – OpenQASM 2 string to convert to IonQDict type.

Returns:

IonQ JSON format equivalent to input OpenQASM 2 string.

Return type:

dict