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

'IonQJob' object has no attribute 'queue_position' #168

Open
balewski opened this issue Feb 14, 2024 · 0 comments
Open

'IonQJob' object has no attribute 'queue_position' #168

balewski opened this issue Feb 14, 2024 · 0 comments

Comments

@balewski
Copy link

Information

core@32b1bb668001:~$ pip3 list |grep qiskit
qiskit 0.45.1
qiskit-aer 0.13.3
qiskit-algorithms 0.2.1
qiskit-ibm-provider 0.7.3
qiskit-ibm-runtime 0.17.0
qiskit-ibmq-provider 0.20.2
qiskit-ionq 0.4.7
qiskit-machine-learning 0.7.1
qiskit-terra 0.45.1

  • Python version:

  • python3 -V
    Python 3.10.12

  • Operating system:
    Ubuntu 22

What is the current behavior?

When job = backend.run(qc, shots=shots, noise_model='harmony-2') has too many shots
then
job_monitor(job)
crashes with

  File "/usr/local/lib/python3.10/dist-packages/qiskit/tools/monitor/job_monitor.py", line 49, in _text_checker
    msg += " (%s)" % job.queue_position()
AttributeError: 'IonQJob' object has no attribute 'queue_position'

Steps to reproduce the problem

https://github.com/balewski/quantumMind/blob/main/IonQ/issues/issue2_jobMonCrash.py

What is the expected behavior?

job_monitor(job) should wait until simulation completes

Suggested solutions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant