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

Qiskit / qiskit / 16995885985
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 15 Aug 2025 06:24PM UTC
Jobs 1
Files 839
Run time 2min
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

15 Aug 2025 05:46PM UTC coverage: 88.276% (-0.02%) from 88.297%
16995885985

push

github

web-flow
Decomposer extraction for Rust native `ConsolidateBlocks` (#14776)

* Add: Decomposer extraction for Rust native `ConsolidateBlocks`.
Built on top of #14748.
The following commit adds the ability for the `ConsolidateBlocks` pass to instantiate decomposers and choose a basis gate based on the provided `Target`. In  the case that a `Target` is not provided, it will default to a `TwoBasisDecomposer` with a `CX` gate.

* Chore: Avoid unnecessary collections and remove OnceCell.
- Use CX matrix directly with aview2

* Update crates/transpiler/src/passes/consolidate_blocks.rs

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

* Fix: Make `approximation_degree` optional.

* Fix: Use `StandardGate` comparison instead of string comparisons.

* Fix: Use matrix views

* Fix: Use defined basis gates from `unitary_synthesis`.
- Use already defined `PARAM_SET_BASIS_GATES` and `TWO_QUBIT_BASIS_SET_GATES` and modify the `get_matrix` method to include those as well.
- Make `PARAM_SET_BASIS_GATES` and `TWO_QUBIT_BASIS_SET_GATES` pub.

* Test: Add test case for rust entry point.

* Fix: Add no miri flag to tests

* Fix: Apply code suggestions

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

* Fix: Correct import of macros from `unitary_synthesis`.

* Chore: Simplify test

* FIx: Miri flag

---------

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

92 of 126 new or added lines in 1 file covered. (73.02%)

12 existing lines in 3 files now uncovered.

88004 of 99692 relevant lines covered (88.28%)

509341.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
34
87.07
-7.05% crates/transpiler/src/passes/consolidate_blocks.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.39
0.0% crates/circuit/src/parameter/parameter_expression.rs
5
91.75
-0.26% crates/qasm2/src/lex.rs
6
97.56
-0.47% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 16995885985.1 15 Aug 2025 06:24PM UTC 839
88.28
GitHub Action Run
Source Files on build 16995885985
  • Tree
  • List 839
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16995885985
  • 9faa7a00 on github
  • Prev Build on gh-readonly-queue/main/pr-14919-14df5941a5915a2b517cdf9bc014a6838e752f92 (#16994167638)
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