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

Qiskit / qiskit / 29733301808
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: fix/controlflow-drawer-layer-collisions
DEFAULT BRANCH: main
Ran 20 Jul 2026 10:27AM 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 09:56AM UTC coverage: 87.634% (+0.001%) from 87.633%
29733301808

Pull #16615

github

mergify[bot]
Fix `sx` resynthesis of negative angles in `CommutativeCancellation` (#16599)

* 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)
Pull Request #16615: Fix `sx` resynthesis of negative angles in `CommutativeCancellation` (backport #16599)

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

18 existing lines in 3 files now uncovered.

112780 of 128695 relevant lines covered (87.63%)

999387.94 hits per line

Coverage Regressions

Lines Coverage ∆ File
12
97.15
0.0% crates/qasm2/src/parse.rs
5
92.29
0.0% crates/qasm2/src/lex.rs
1
93.88
-0.24% crates/qasm2/src/expr.rs
Jobs
ID Job ID Ran Files Coverage
1 29733301808.1 20 Jul 2026 10:27AM UTC 950
87.63
GitHub Action Run
Source Files on build 29733301808
  • Tree
  • List 950
  • Changed 5
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29733301808
  • Pull Request #16615
  • PR Base - stable/2.5 (#29583802132)
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