qbraid.transpiler.conversions.qasm3.qasm3_to_ionq

qasm3_to_ionq(qasm)[source]

Convert an OpenQASM 3 string to IonQ JSON format.

Parameters:

qasm (Qasm3StringType) – The OpenQASM 3 string to convert.

Returns:

IonQ JSON format equivalent to the input OpenQASM 3 string.

Return type:

IonQDictType

Raises:

ProgramConversionError – If the conversion fails.