I'm looking for something that performs a conversion such as qiskit.circuit.QuantumCircuit.qasm
, but for qasm code. In other words, a means to convert qasm code to qiskit code?
Not just converting from qasm code to a QuantumCircuit
object, but yielding the actual qiskit code. The closest method I've found is to paste the qasm code into IBM's circuit composer then copying from there. However, I need to automate the process.
Does anyone know about an existing function like this or do I need to write it myself?
Thanks in advance, and I'm new to this site so hopefully I haven't broken any rules! If I have, please let me know.