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

Qiskit / qiskit / 15164648875
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 21 May 2025 02:58PM UTC
Jobs 1
Files 811
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

21 May 2025 02:17PM UTC coverage: 88.314% (-0.01%) from 88.326%
15164648875

push

github

web-flow
Fix ConsolidateBlocks pass for collecting non-CX KAK gate (#14417)

A bug was introduced into the ConsolidateBlocks pass in #13884 around
how the KAK gate name was passed to rust from the Python pass. The
consolidate blocks internal logic around whether to consolidate a pass
or not is based on the estimate from the selected decomposer of whether
the estimated number of gates used to synthesis the unitary would exceed
the number of basis gates in the block. To do this the pass counts the
gate with the synthesis target name in the block. However, in the case
of the decomposer being the TwoQubitBasisDecomposer the name being
used for this look wasn't the name of the gate, but instead was an
internal sentinel value string "USER_GATE" which is used to handle
arbitrary user gate definitions in the decomposer. This led to the
consolidate blocks pass missing opportunities for consolidation. This
commit fixes the oversight so that the name we use for making this
determination is the actual basis gate name and the pass functions
correctly.

Fixes #14413

4 of 5 new or added lines in 1 file covered. (80.0%)

17 existing lines in 3 files now uncovered.

78421 of 88798 relevant lines covered (88.31%)

459381.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.61
-1.54% qiskit/transpiler/passes/optimization/consolidate_blocks.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.85
0.0% crates/transpiler/src/passes/unitary_synthesis.rs
4
92.98
0.25% crates/qasm2/src/lex.rs
12
97.15
-0.93% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 15164648875.1 21 May 2025 02:58PM UTC 811
88.31
GitHub Action Run
Source Files on build 15164648875
  • Tree
  • List 811
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15164648875
  • 4e9231df on github
  • Prev Build on gh-readonly-queue/main/pr-14225-2b4e92f036bb4fef77f0d1eac7c8decac6d8709e (#15164624114)
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