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

Qiskit / qiskit / 29736120358
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: transpilererror_branch
DEFAULT BRANCH: main
Ran 20 Jul 2026 11:24AM UTC
Jobs 1
Files 950
Run time 2min
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

20 Jul 2026 10:44AM UTC coverage: 87.649% (+0.02%) from 87.625%
29736120358

push

github

web-flow
Fix `sx` resynthesis of negative angles in `CommutativeCancellation` (#16599) (#16615)

* Fix `sx` resynthesis of negative angles in `CommutativeCancellation`

`%` maintains the sign of the left operand, so `0..(num_sx as i64 % 4)`
is an empty iterator for non-positive `num_sx`.  If the calculated
rotation angle was negative (such as from a chain of `sxdg`),
non-identity, and we go down the `sx`-like synthesis path, we would
miscompile.

This is a minimal fix to be backport stable, rather than a greater
reworking.

Introduced in 91081cc6d3: Add additional Z and X rotation gate handling
to CommutativeCancellation (#16191)

* Use `ddt` test parametrisaion

(cherry picked from commit 33d90a986)

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

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

2 existing lines in 1 file now uncovered.

112800 of 128695 relevant lines covered (87.65%)

997328.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
92.29
0.77% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 29736120358.1 20 Jul 2026 11:24AM UTC 950
87.65
GitHub Action Run
Source Files on build 29736120358
  • Tree
  • List 950
  • Changed 4
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29736120358
  • 7b6cb24c on github
  • Prev Build on gh-readonly-queue/stable/2.5/pr-16606-fd318ad14ebf06ab9f68207525bd47e58ed018f1 (#29582245518)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc