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

Qiskit / qiskit / 11936718866
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 20 Nov 2024 04:01PM 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 03:39PM UTC coverage: 88.942%. Remained the same
11936718866

push

github

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

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

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

12 existing lines in 4 files now uncovered.

79410 of 89283 relevant lines covered (88.94%)

354908.01 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.2
-0.12% crates/accelerate/src/unitary_synthesis.rs
2
93.48
1.0% crates/qasm2/src/lex.rs
3
92.18
-0.14% crates/accelerate/src/two_qubit_decompose.rs
6
97.15
0.0% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 11936718866.1 20 Nov 2024 04:01PM UTC 914
88.94
GitHub Action Run
Source Files on build 11936718866
  • Tree
  • List 914
  • Changed 72
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11936718866
  • c7924262 on github
  • Prev Build on gh-readonly-queue/main/pr-13460-94cea419010b0c8210ef633bf39d4a89618ade01 (#11933418087)
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

© 2025 Coveralls, Inc