Skip to content

Finish IonQ API v0.4 migration - #8564

Merged
mhucka merged 2 commits into
quantumlib:mainfrom
splch:ionq-finish-v04-migration
Dec 2, 2026
Merged

mhucka merged 2 commits into
quantumlib:mainfrom
splch:ionq-finish-v04-migration

Conversation

@splch

@splch splch commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • finish the v0.4 move that Update IonQ API version from v0.3 to v0.4 #7438 started
  • move calibrations to the characterizations endpoint (adds a target arg + drops batch_size)
  • fix list_jobs paging, which returned duplicates or never finished
  • fix results() for batch jobs loaded with get_job
  • report why a job failed
  • accept backends like qpu.forte-1 as default_target + update the docs
  • send shots as an int, drop lang + rename running to started

Testing

  • unit tests, format, lint + mypy pass
  • ran it end to end on the live v0.4 simulator

@review-notebook-app

Copy link
Copy Markdown

Review Notebooks

Notebooks changed:

Review visual diffs and comment on any notebook cell. All comments sync back to this PR.


Powered by ReviewNB

@splch
splch marked this pull request as ready for review December 1, 2026 05:26
@splch
splch requested review from a team as code owners December 1, 2026 05:26
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.58%. Comparing base (f967f3d) to head (63e7f2b).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8564      +/-   ##
==========================================
- Coverage   99.58%   99.58%   -0.01%     
==========================================
  Files        1139     1139              
  Lines      105656   105632      -24     
==========================================
- Hits       105221   105197      -24     
  Misses        435      435              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mhucka mhucka self-assigned this Dec 1, 2026

@mhucka mhucka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this! Here are some minor things that might be good to address, if they are correct.

Comment thread cirq-ionq/cirq_ionq/ionq_client.py Resolved
Comment thread cirq-ionq/cirq_ionq/service.py Resolved
Comment thread cirq-ionq/cirq_ionq/ionq_client.py Resolved
Comment thread cirq-ionq/cirq_ionq/ionq_client.py Resolved
Comment thread cirq-ionq/cirq_ionq/ionq_client.py Resolved
Comment thread docs/hardware/ionq/service.md Resolved

@mhucka mhucka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fixes! LGTM.

@mhucka
mhucka added this pull request to the merge queue Dec 2, 2026
Merged via the queue into quantumlib:main with commit 0f2d2b1 Dec 2, 2026
46 checks passed
@splch
splch deleted the ionq-finish-v04-migration branch December 2, 2026 03:32
@splch

splch commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants