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

Qiskit / qiskit / 16786877779
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 06 Aug 2025 08:12PM UTC
Jobs 1
Files 835
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

06 Aug 2025 07:42PM UTC coverage: 87.65% (+0.009%) from 87.641%
16786877779

push

github

web-flow
Fully port ALAPScheduleAnalysis to Rust (#14664)

* Implement ALAP scheduling analysis in Rust and integrate with Python module

* Fix lint issues

* Add benchmark for ALAPScheduleAnalysis to passes.py

* Add copyright and licensing information to alap_schedule_analysis.rs

* Refactor ALAP schedule analysis based on suggestions

* Remove the benchmark added to passes.py

* Fix lint issues

* Refactor comments in ALAP schedule analysis

* Fix more lint issues

* Simplify node duration handling and update function signature

* Revert "Simplify node duration handling and update function signature"

This reverts commit e240bae88.

* Update run function to pass node_durations as native Rust HashMap; improve docstrings for clarity

- The run method now constructs node_durations as a Python dict mapping node indices to durations, which is passed to Rust as a native HashMap<usize, f64>.
- Enhanced docstrings for the ALAPScheduleAnalysis class and run method to clarify scheduling behavior

* Make documentation consistent

* Fix lint

* Split the pass into Rust-native function and Python-facing wrapper

* Fix lint

* Fix failing tests by move the type conversion logic back to py_run_alap_schedule_analysis, remove the extra node iteration.

* Add enum for type handling of duration values

* Rename enum to TimeValue

* Implement From trait, ensure conversion to integer on case to case basis per node

* Modify TimeValue to support arithmetic and max ops; update scheduling to use TimeValue throughout.

* Replace enum with TimeOps trait for improved type flexibility

* Remove from_u64 method from TimeOps trait; Refactor code to create op_durations only once.

* Add back documentation example; Update node_duration argument in docstring

142 of 147 new or added lines in 4 files covered. (96.6%)

18 existing lines in 2 files now uncovered.

81902 of 93442 relevant lines covered (87.65%)

540170.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
96.43
crates/transpiler/src/passes/alap_schedule_analysis.rs

Uncovered Existing Lines

Lines Coverage ∆ File
6
91.49
-1.03% crates/qasm2/src/lex.rs
12
97.09
-0.94% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 16786877779.1 06 Aug 2025 08:12PM UTC 835
87.65
GitHub Action Run
Source Files on build 16786877779
  • Tree
  • List 835
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16786877779
  • e9df76a7 on github
  • Prev Build on gh-readonly-queue/main/pr-14825-1e49fbdd265e7cac36263ce21eef6cabd288bafa (#16758130196)
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