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

Qiskit / qiskit / 16787582811
88%

Build:
DEFAULT BRANCH: main
Ran 06 Aug 2025 08:49PM 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.635% (-0.006%) from 87.641%
16787582811

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

23 existing lines in 2 files now uncovered.

81888 of 93442 relevant lines covered (87.64%)

546734.61 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
5
91.75
-0.77% crates/qasm2/src/lex.rs
18
96.62
-1.42% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 16787582811.1 06 Aug 2025 08:49PM UTC 835
87.64
GitHub Action Run
Source Files on build 16787582811
  • Tree
  • List 835
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16787582811
  • e9df76a7 on github
  • Prev Build on gh-readonly-queue/main/pr-14825-1e49fbdd265e7cac36263ce21eef6cabd288bafa (#16758130196)
  • Next Build on main (#16788480923)
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