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

Qiskit / qiskit / 26095337901
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: revert-15783-basis_translator_dag
DEFAULT BRANCH: main
Ran 19 May 2026 12:20PM UTC
Jobs 1
Files 923
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

19 May 2026 11:22AM UTC coverage: 87.686% (-0.002%) from 87.688%
26095337901

push

github

web-flow
Fix `InverseCancellation` for symmetric pairs (#16153) (#16211)

* Fix `InverseCancellation` for symmetric pairs.

Symmetric gates should get cancelled irrespective of the qubit order. This did not happen in InverseCancellation, which didn't consistently cancel CS and CSdg gates in the default setup since their qubit argument were out of order. Coincidentally _it did_ cancel these gates in a specific order as a by product since the boolean logic was not grouped correctly, as reported in #15855. This commit fixes this behavior.

This commit does not more generally enable handling of symmetric, user-supplied gates.

* Better inverse pair structure



* More precise wording in reno

---------


(cherry picked from commit 26d7f00c1)

Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

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

11 existing lines in 3 files now uncovered.

104224 of 118861 relevant lines covered (87.69%)

1009036.73 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
97.63
-0.47% crates/qasm2/src/parse.rs
4
92.54
0.0% crates/qasm2/src/lex.rs
1
90.53
0.0% crates/circuit/src/parameter/parameter_expression.rs
Jobs
ID Job ID Ran Files Coverage
1 26095337901.1 19 May 2026 12:20PM UTC 923
87.69
GitHub Action Run
Source Files on build 26095337901
  • Tree
  • List 923
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26095337901
  • 4ead185d on github
  • Prev Build on gh-readonly-queue/stable/2.4/pr-16209-2be7c413821ef30b0675188068972c631e72a842 (#26047935085)
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