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

Qiskit / qiskit / 11938613551
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: pbc_transformation
DEFAULT BRANCH: main
Ran 20 Nov 2024 05:49PM UTC
Jobs 1
Files 914
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

20 Nov 2024 05:27PM UTC coverage: 88.917% (-0.01%) from 88.931%
11938613551

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>

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

19 existing lines in 3 files now uncovered.

79056 of 88910 relevant lines covered (88.92%)

355949.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11938613551.1 20 Nov 2024 05:49PM UTC 0
88.92
GitHub Action Run
Source Files on build 11938613551
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11938613551
  • ab21e205 on github
  • Prev Build on stable/1.3 (#11935910284)
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