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

Qiskit / qiskit / 16935840606
88%
main: 88%

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

13 Aug 2025 11:27AM UTC coverage: 88.256% (+0.6%) from 87.647%
16935840606

push

github

web-flow
Add standard commutation library generation to rust (#14830)

* Add standard commutation library generation to rust

This commit migrates the generation of the standard commutation library
to Rust. Previously the commutation library class was defined in rust
but our default library of commutations for standard gates without
parameters was defined as a Python dictionary. This dictionary was
actually auto generate by a script tools/build_standard_commutations.py.
This commit updates the script to generate a rust module building the
library object instead of a python module containing a dictionary.
The generated rust code compiles, but does not apply rustfmt or a
copyright header as one is automated and the other can be easily added
after generated. The Python code is then updated to export the rust
generated library instead of one generated in Python. Having this in
Rust will then enable us to use the standard library from C in addition
to Python.

One note is while we are no longer using the standard commutation python
dict it was left in place for backwards compatibility

Fixes #14813

* Apply suggestions from code review

Co-authored-by: Julien Gacon <gaconju@gmail.com>

---------

Co-authored-by: Julien Gacon <gaconju@gmail.com>

4688 of 4692 new or added lines in 3 files covered. (99.91%)

2 existing lines in 2 files now uncovered.

87095 of 98685 relevant lines covered (88.26%)

519974.64 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
88.44
-0.19% crates/transpiler/src/commutation_checker.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.39
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
92.27
1.03% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 16935840606.1 13 Aug 2025 12:07PM UTC 837
88.26
GitHub Action Run
Source Files on build 16935840606
  • Tree
  • List 837
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16935840606
  • 4633af02 on github
  • Prev Build on gh-readonly-queue/main/pr-14888-c8979f35667c7d3e145a3b6d742368e8bd178046 (#16934483819)
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