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

Qiskit / qiskit / 16996292033
88%

Build:
DEFAULT BRANCH: main
Ran 15 Aug 2025 06:47PM 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.26% (-0.04%) from 88.297%
16996292033

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%)

29 existing lines in 4 files now uncovered.

87988 of 99692 relevant lines covered (88.26%)

510234.73 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
1
92.24
-0.1% crates/transpiler/src/passes/unitary_synthesis.rs
3
92.27
0.26% crates/qasm2/src/lex.rs
24
96.15
-1.89% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 16996292033.1 15 Aug 2025 06:47PM UTC 839
88.26
GitHub Action Run
Source Files on build 16996292033
  • Tree
  • List 839
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16996292033
  • 9faa7a00 on github
  • Prev Build on gh-readonly-queue/main/pr-14919-14df5941a5915a2b517cdf9bc014a6838e752f92 (#16994167638)
  • Next Build on main (#17018799172)
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