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

Qiskit / qiskit / 11938613551 / 1
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: mergify/bp/stable/2.3/pr-15685
DEFAULT BRANCH: main
Ran 20 Nov 2024 05:49PM UTC
Files 914
Run time 43s
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 Nov 2024 05:27PM UTC coverage: 88.917% (-0.01%) from 88.931%
11938613551.1

push

github

web-flow
Fix basis_count checking in ConsolidateBlocks (#13463) (#13465)

The ConsolidateBlocks pass was ported to rust in #13368 and as part of
that implementation a small behavior difference between the rust and
python interfaces was causing the pass to not work correctly with non-CX
gates. The internal 2q decomposer interface stores a sentinel string for
the kak gate which is used to tell the python space constructor use the
python defined gate object. However in the pass code we weren't
factoring this difference in, and for non-CX gates we were evaluating
the basis count as the number of gates with that sentinel value name
(which is almost always zero) and this was preventing the pass from
consolidating many blocks that should have been. This commit fixes this
issue by taking the name from python space and passing it through to the
rust portion of the code and using that for the comparison.

Fixes #13459

(cherry picked from commit c7924262f)

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

79056 of 88910 relevant lines covered (88.92%)

355949.63 hits per line

Source Files on job 11938613551.1
  • Tree
  • List 0
  • Changed 73
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11938613551
  • ab21e205 on github
  • Prev Job for on gh-readonly-queue/stable/1.3/pr-13465-3b8f523c74e3d9203cc01e351eba5934a8410940 (#11935910284.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