Skip to content

feature: add IonQ program_set support with task-level shot floor and reservation shots range#223

Merged
AjinkyaGawali merged 1 commit into
mainfrom
ionq-program-set
Jun 19, 2026
Merged

feature: add IonQ program_set support with task-level shot floor and reservation shots range#223
AjinkyaGawali merged 1 commit into
mainfrom
ionq-program-set

Conversation

@AjinkyaGawali

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:
Adds IonQ ProgramSet support to the schemas package:

  • OpenQASMProgramSetDeviceActionProperties.minimumTotalShots: Optional[conint(ge=1)] = None — task-level shot floor for ProgramSet submissions.
  • DeviceServiceProperties.reservationShotsRange: tuple[int, int] | None = None — per-circuit shots range that overrides shotsRange for Braket Direct reservation tasks.
  • IonqDeviceCapabilities.action now accepts OpenQASMProgramSetDeviceActionProperties in the action union.

All fields are backward-compatible Optional with safe defaults.

Testing done:
Tests for default values, explicit values, and validation constraints.

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

General

  • [ X] I have read the CONTRIBUTING doc
  • [ X] I used the commit message format described in CONTRIBUTING
  • [ X ] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

  • [ X] I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • [ X] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@AjinkyaGawali AjinkyaGawali requested a review from a team as a code owner June 19, 2026 18:58
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (180abb5) to head (d9ad10a).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #223   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          121       121           
  Lines         1807      1810    +3     
  Branches        21        21           
=========================================
+ Hits          1807      1810    +3     

☔ 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.

@AjinkyaGawali AjinkyaGawali merged commit f186da4 into main Jun 19, 2026
21 checks passed
@AjinkyaGawali AjinkyaGawali deleted the ionq-program-set branch June 19, 2026 19:07
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

Successfully merging this pull request may close these issues.

2 participants