Skip to content
New issue

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

Bug when using pulse draw with backend set up #12518

Closed
pop756 opened this issue Jun 6, 2024 · 2 comments
Closed

Bug when using pulse draw with backend set up #12518

pop756 opened this issue Jun 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@pop756
Copy link

pop756 commented Jun 6, 2024

Environment

  • Qiskit version: 1.1.0
  • Python version: 3.11.9
  • Operating system: jupyter notebook

What is happening?

When I used real backend, pulse draw cause this error
image

How can we reproduce the issue?

from qiskit import QuantumCircuit
from qiskit import pulse
from qiskit import schedule



circ = QuantumCircuit(2, 2)
circ.ecr(1, 0)
from qiskit import transpile
circ = transpile(circ,backend,optimization_level=0)
pulse_schedule = schedule(circ,backend=backend)
pulse_schedule.draw(backend=backend)

What should happen?

TypeError: 'str' object is not callable

Any suggestions?

image
When I changed the code like this, bug is fixed.

@pop756 pop756 added the bug Something isn't working label Jun 6, 2024
@HuangJunye
Copy link
Collaborator

HuangJunye commented Jun 25, 2024

I can reproduce the error.

@HuangJunye
Copy link
Collaborator

It is fixed by #12608. Verified this issue is fixed by installing from the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants