Open alexfleury-sb opened 1 year ago
Note: some tests rely on reading pre-generated QASM files. There is a chance that these files may be updated, unless they were not written in a particular format and were not restricted to any particular subset of QASM.
Issue: Feature Request
What problem does this feature request help you overcome? Please describe. Our current implementation to get circuits from the qasm format only supported a subset of OpenQASM, and was written early 2020.
Describe the solution you'd like Implement this using the reverse qiskit translation combined with https://qiskit.org/documentation/stubs/qiskit.circuit.QuantumCircuit.from_qasm_str.html#qiskit.circuit.QuantumCircuit.from_qasm_str ?
The file is located here https://github.com/goodchemistryco/Tangelo/blob/develop/tangelo/linq/translator/translate_openqasm.py.