I am interested in retrieving the OpenQasm code of a quantum circuit, as it appears on IBM Quantum Experience. This is the code that the quantum machine actually runs. I used to be able to just copy the code from the results tab, but I seem to not be able to do that anymore. Is there any way to retrieve said Qasm code? Thank you in advance.
[EDIT] You cannot copy and paste code from this tab. You can retrieve the QASM in a text format simply by using Qiskit instead, all you need is the Job ID. This code can be run easily in a notebook in the IBM Quantum Experience. You can do this as follows
provider = IBMQ.load_account() result = backend.retrieve_job('job id') qob = result.qobj() from qiskit.assembler import disassemble jobs = disassemble(qob) qc = jobs qc.qasm()