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

Qiskit / qiskit / 6801884624
88%

Build:
DEFAULT BRANCH: main
Ran 08 Nov 2023 06:06PM UTC
Jobs 1
Files 1270
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

08 Nov 2023 04:10PM UTC coverage: 86.952% (+0.04%) from 86.917%
6801884624

push

github

web-flow
Use InverseCancellation in opt level 1 instead of CXCancellation (#11210)

* Use InverseCancellation in opt level 1 instead of CXCancellation

This commit updates the default optimization stage plugin to use the
InverseCancellation pass instead of CXCancellation for optimization
level 1. The CXCancellation pass was hard coded to only cancel runs of
CX gates on the same qubits. This was fine when CX is the target, but
for other targets which aren't using CX the pass had no value. An
alternative, more general, inverse cancellation pass was added in #6855
that enables defining arbitrary inverse cancellation rules and
simplifying a dag based on it. This commit updates the default
optimization plugin at optimization level 1 to use this with some common
inverse rules for 2q gates from the standard gate library.

Closes: #6576
Closes: #7016
Related-to: #7112

* Add sx sx dagger inverse pair to pass

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

8 existing lines in 2 files now uncovered.

74356 of 85514 relevant lines covered (86.95%)

90959.71 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
84.15
-2.44% qiskit/extensions/quantum_initializer/squ.py
6
91.41
-0.76% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 6801884624.1 08 Nov 2023 06:06PM UTC 1270
86.95
GitHub Action Run
Source Files on build 6801884624
  • Tree
  • List 1270
  • Changed 29
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 940ccab4 on github
  • Prev Build on gh-readonly-queue/main/pr-11179-af643eb09b22fc3833084b3112890b1aebdcbf92 (#6797762554)
  • Next Build on main (#6815123352)
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