• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 28599829984
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: stable/2.5
DEFAULT BRANCH: main
Ran 02 Jul 2026 03:30PM UTC
Jobs 1
Files 950
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jul 2026 02:57PM UTC coverage: 87.637% (+0.001%) from 87.636%
28599829984

push

github

web-flow
Fix OverflowError in QuantumCircuit.for_loop for negative integers in list indexset   (#16432) (#16525)

* Fix OverflowError in for_loop for negative integers

* trigger ci

* trigger ci

* Add QPY compatibility test for for_loop with negative indexset

* Merge main, fix linting, and refine QPY compatibility tests

* Fix C API: revert CLoopElements to usize, cast internally

* Fix C API type, QPY compat gate, and add release note

- Fix CLoopElements.elements type from *const usize to *const isize.
  The cast was a sign that the exposed C API type was wrong; using isize
  (intptr_t in C) is correct for signed loop indices.
- Update QPY compat test to re-enable for_loop_negative.qpy generation
  for versions >= 2.5.0 where the fix lands.
- Add release note for the bug fix.

* Fix C test: use intptr_t for QkLoopElements element comparisons

Update the C test to compare loop elements as intptr_t (the C
equivalent of isize) instead of size_t, matching the corrected
QkLoopElements.elements field type.

* Revert premature QPY version gate for 2.5.0

The fix hasn't made it to a 2.5.0 release yet (the CI runs against 2.5.0rc1
which currently lacks this fix). Leave the gate for 1.x only. The higher-end
gate should be added when this fix is actually backported.

* Reword release note

* Fix types in C test

* Re-enable QPY tests after 2.5.0

* Revert incorrect C-type fix

* Fix QPY reverse-version compatibility tests

---------


(cherry picked from commit dc24fc3ac)

Co-authored-by: Ebrahim Eldesoky <at264939@gmail.com>
Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

1 of 1 new or added line in 1 file covered. (100.0%)

17 existing lines in 3 files now uncovered.

112775 of 128684 relevant lines covered (87.64%)

999281.72 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
73.98
-0.33% crates/circuit/src/parameter/symbol_expr.rs
6
97.63
0.47% crates/qasm2/src/parse.rs
3
92.03
0.77% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 28599829984.1 02 Jul 2026 03:30PM UTC 950
87.64
GitHub Action Run
Source Files on build 28599829984
  • Tree
  • List 950
  • Changed 6
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28599829984
  • 3f94e02c on github
  • Prev Build on gh-readonly-queue/stable/2.5/pr-16521-c8de61d7d40987759bd8898b45df6aab97887db2 (#28584581627)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc