I need to convert a QuantumCircuit to a string of the equivalent OpenQasm 2.0 circuit in qiskit.
It seems like the method .qasm() disappeared from the QuantumCircuit class in qiskit 1.0
And I wasn’t able to find an alternative.
I need the qiskit 1.0 version of this:
c = qiskit.QuantumCircuit(1)
c.h(0)
c.qasm()