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

Qiskit / qiskit / 19740043964
88%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2025 03:27PM UTC
Jobs 1
Files 880
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

27 Nov 2025 02:23PM UTC coverage: 88.364% (+0.007%) from 88.357%
19740043964

push

github

web-flow
Unified commutative optimization (#15047)

* Placeholder for new python and rust passes

* preliminary implementation of some of the components

* copying + slightly adapting CC tests

* Next batch of improvements.

* cleanup

* more cleanup

* docstrings

* adapting tests from CommutativeInverseCancellation; fixes

* getting rid of py token

* improving return types to avoid unwrap

* hanlding the case when two pauli evolution gates cannot be merges + test

* code sharing & deduplication

* improvements and fixes

* undoing let chains rewrite (CI does not like it)

* running black

* partially addressing review comments

* renaming matrix_use_view_only -> matrix_from_definition

* docstring comment

* Update, and most importantly this adds @cryoris as a coathor

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

* implementing Julien's suggestion

* update after merge conflict

* Improved comparison for SparsePauliOps + updating the test

* black

* simplifying code based on review

* handling CU1 in RemoveIdentityEquivs and CommutativeOptimization

* further support for CU1

* updating tests

* parametric rx test

* moving argument-based precheck earlier in the commutation flow

* micro-optimization: avoiding to compute op.view() when not required

* revamping an older test

* Revert "revamping an older test"

This reverts commit 69cc0dcf8.

* changing default values for matrix-based computations to 0

* update tests with custom gates that require matrix manipulations

* checking whether two instructions are disjoint upfront

* improve return types of can_remove and is_identity_equiv

* renaming can_remove to a more meaningful name

* reverting the unintended change to get_matrix in remove_identity_equivs pass

* Checking that the gate's name is PauliEvolution before calling python

* adding leading underscore to internal function, improving docstringss

* improve the argument ordering and the docstring for get_matrix m... (continued)

431 of 474 new or added lines in 14 files covered. (90.93%)

27 existing lines in 4 files now uncovered.

95651 of 108247 relevant lines covered (88.36%)

1194998.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
88.84
0.17% crates/transpiler/src/commutation_checker.rs
9
90.7
-3.42% crates/transpiler/src/passes/remove_identity_equiv.rs
11
96.3
crates/transpiler/src/passes/commutative_optimization.rs
21
81.94
-13.34% qiskit/circuit/library/pauli_evolution.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.3
0.0% crates/circuit/src/parameter/parameter_expression.rs
3
72.86
-0.12% crates/circuit/src/parameter/symbol_expr.rs
5
91.26
-0.51% crates/qasm2/src/lex.rs
18
96.15
-0.94% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 19740043964.1 27 Nov 2025 03:27PM UTC 880
88.36
GitHub Action Run
Source Files on build 19740043964
  • Tree
  • List 880
  • Changed 20
  • Source Changed 14
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19740043964
  • 3ebfc1d2 on github
  • Prev Build on gh-readonly-queue/main/pr-14568-044b649a798235108fa29334506da6775b193f46 (#19723448220)
  • Next Build on main (#19805174392)
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