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

service.job() doesn't know about job version #1471

Closed
jyu00 opened this issue Mar 5, 2024 · 2 comments · Fixed by #1524
Closed

service.job() doesn't know about job version #1471

jyu00 opened this issue Mar 5, 2024 · 2 comments · Fixed by #1524
Assignees
Labels
api action Needs new API or changes to existing APIs before this ticket can be worked upon. bug Something isn't working priority: high High priority issue (must have for current release)
Milestone

Comments

@jyu00
Copy link
Collaborator

jyu00 commented Mar 5, 2024

Describe the bug

If I submit a primitive V2 job then do service.job(), it will return a V1 RuntimeJob instead of RuntimeJobV2. This applies to service.jobs() as well.

Steps to reproduce

Expected behavior

Suggested solutions

Unfortunately there is no good solution since the version number is only in inputs and results, which means potentially download the entire circuit inputs.

Additional Information

  • qiskit-ibm-runtime version: main
  • Python version:
  • Operating system:
@jyu00 jyu00 added bug Something isn't working priority: high High priority issue (must have for current release) labels Mar 5, 2024
@kt474 kt474 added the api action Needs new API or changes to existing APIs before this ticket can be worked upon. label Mar 13, 2024
@kt474
Copy link
Member

kt474 commented Mar 13, 2024

Created issue on the ntc side - 3938

@jyu00
Copy link
Collaborator Author

jyu00 commented Mar 27, 2024

I think for now we can just query the job inputs until the ntc issue is fixed. If the job has completed, the version number is also in the results.

@kt474 kt474 added this to the 0.24.0 milestone Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api action Needs new API or changes to existing APIs before this ticket can be worked upon. bug Something isn't working priority: high High priority issue (must have for current release)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants