qbraid.transpiler.conversions.qasm2

OpenQASM 2 conversions

Functions

qasm2_to_cirq(qasm)

Returns a Cirq circuit equivalent to the input QASM string.

qasm2_to_pytket(qasm)

Returns a pytket circuit equivalent to the input OpenQASM 2 string.

qasm2_to_qiskit(qasm)

Returns a Qiskit circuit equivalent to the input OpenQASM 2 string.

qasm2_to_qasm3(qasm_str)

Convert a OpenQASM 2.0 string to OpenQASM 3.0 string

qasm2_to_ionq(qasm)

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