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

Qiskit / qiskit / 16508029389
88%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2025 09:46PM UTC
Jobs 1
Files 831
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

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

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>

32 of 32 new or added lines in 2 files covered. (100.0%)

8 existing lines in 2 files now uncovered.

81433 of 92799 relevant lines covered (87.75%)

546931.93 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
91.75
0.0% crates/qasm2/src/lex.rs
6
97.56
-0.47% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 16508029389.1 24 Jul 2025 09:46PM UTC 831
87.75
GitHub Action Run
Source Files on build 16508029389
  • Tree
  • List 831
  • Changed 9
  • Source Changed 2
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16508029389
  • 477cff7b on github
  • Prev Build on gh-readonly-queue/main/pr-14669-2877bf021d61235f5504d168d6dd741d0ffcc850 (#16481061798)
  • Next Build on main (#16597911530)
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