We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from qiskit import QuantumCircuit, transpile, schedule from qiskit.visualization.pulse_v2 import draw from qiskit_ibm_runtime import QiskitRuntimeService service = QiskitRuntimeService() backend = service.get_backend('ibm_sherbrooke') qc = QuantumCircuit(2) qc.cx(0, 1) trans_qc = transpile(qc, backend) sched = schedule(trans_qc, backend) draw(sched, backend=backend)
File ~/mambaforge/envs/qiskit/lib/python3.11/site-packages/qiskit/visualization/pulse_v2/device_info.py:113, in OpenPulseBackendInfo.create_from_backend(cls, backend) 110 defaults = backend.defaults() 112 # load name --> 113 name = backend.name() 115 # load cycle time 116 dt = configuration.dt
TypeError: 'str' object is not callable
do above
It should draw
It is obviously just the change from method to attribute in the classes
The text was updated successfully, but these errors were encountered:
Fixed by @nkanazawa1989 in #12608.
Sorry, something went wrong.
No branches or pull requests
Environment
What is happening?
File ~/mambaforge/envs/qiskit/lib/python3.11/site-packages/qiskit/visualization/pulse_v2/device_info.py:113, in OpenPulseBackendInfo.create_from_backend(cls, backend)
110 defaults = backend.defaults()
112 # load name
--> 113 name = backend.name()
115 # load cycle time
116 dt = configuration.dt
TypeError: 'str' object is not callable
How can we reproduce the issue?
do above
What should happen?
It should draw
Any suggestions?
It is obviously just the change from method to attribute in the classes
The text was updated successfully, but these errors were encountered: