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

Qiskit / qiskit / 26091433602 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 19 May 2026 10:59AM UTC
Files 940
Run time 1min
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 10:00AM UTC coverage: 87.687% (-0.01%) from 87.697%
26091433602.1

push

github

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

* 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

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

* More precise wording in reno

---------

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

107900 of 123052 relevant lines covered (87.69%)

950074.85 hits per line

Source Files on job 26091433602.1
  • Tree
  • List 940
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26091433602
  • 26d7f00c on github
  • Prev Job for on main (#26043944639.1)
  • Next Job for on main (#26127687227.1)
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