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

Qiskit / qiskit / 16508029389 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2025 09:46PM UTC
Files 831
Run time 27s
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

24 Jul 2025 08:51PM UTC coverage: 87.752% (-0.007%) from 87.759%
16508029389.1

push

github

web-flow
Hide Python dependency in `ConsolidateBlocks` (#14748)

* Remove `py` token from `get_matrix_from_inst`.
- Use `Python::with_gil` in exclusive cases where a `PyGate` is needed. Which is impossible to obtain directly from Rust.
- Use `Python::with_gil` in exclusive cases where the block has more than qargs. A comment needs to be added to explain this behavior (we should not be able to add blocks with more than 2 qubits).

* Docs: Document rust-side `run_consolidate_blocks`.

* Add: Wrapper function exposed to Rust.
- Add wrapper function that exposes the same method but doesn't allow for the user to provide blocks or runs. The previous docstring is now assigned to the rust native wrapper and the warning has been removed.
- Make the python exclusive version of the method private.

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

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

* Remove: Rust entry point

---------

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

81433 of 92799 relevant lines covered (87.75%)

546931.93 hits per line

Source Files on job 16508029389.1
  • Tree
  • List 831
  • Changed 9
  • Source Changed 2
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16508029389
  • 477cff7b on github
  • Prev Job for on main (#16481061798.1)
  • Next Job for on main (#16597911530.1)
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