Open vishal-ph opened 2 months ago
Confirming that this bug exists as described by @vishal-ph . The same issue appears to have been corrected elsewhere in Qiskit (e.g. in qiskit/providers/providerutils.py
) to adapt between V1 and V2 backend classes.
Environment
1.0.2
3.11.8
MacOS Sonoma 14.1
What is happening?
While trying to plot the pulse schedule diagram from a quantum circuit whilst passing the
backend
object as argument, the plotter fails because the scriptqiskit.visualization.pulse_v2.device_info.py
extracts the backend name as,backend.name()
which is not callable anymore.How can we reproduce the issue?
Code to reproduce the error:
This generates the following error message:
What should happen?
The code should output and draw the pulse schedule with
ns
time units.Any suggestions?
I believe the backend name should be extracted as
backend.name
here