qbraid.transpiler.conversions.qasm2.qasm2_to_qiskit

qasm2_to_qiskit(qasm)[source]

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

Parameters:

qasm (Qasm2StringType) – OpenQASM 2 string to convert to a Qiskit circuit.

Return type:

QuantumCircuit

Returns:

Qiskit.QuantumCircuit object equivalent to the input OpenQASM 2 string.