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

Qiskit / qiskit / 10684101555
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: rust_qpy
DEFAULT BRANCH: main
Ran 03 Sep 2024 02:02PM UTC
Jobs 1
Files 874
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

03 Sep 2024 01:37PM UTC coverage: 89.196% (+0.05%) from 89.148%
10684101555

push

github

web-flow
Oxidize commutation checker (#12870)

* init

* up

* lint

* .

* up

* before cache

* with cache

* correct

* cleaned up

* lint reno

* Update Cargo.lock

* .

* up

* .

* revert op

* .

* .

* .

* .

* Delete Cargo.lock

* .

* corrected string comparison

* removed Operator class from operation.rs

* .

* Apply suggestions from code review

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* comments from code review

* Apply suggestions from code review

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* code review

* remove with_gil in favor of passing python tokens as params

* Apply suggestions from code review

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* fmt

* python serialization

* deprecation

* Update commutation_checker.py

* heh

* let Pytuple collect

* lint

* First set of comments

- use Qubit/Clbit
- more info on unsafe
- update reno
- use LazySet less
- use OperationRef, avoid CircuitInstruction creation

* Second part

- clippy
- no BigInt
- more comments

* Matrix speed & fix string sort

-- could not use op.name() directly since sorted differently than Python, hence it's back to BigInt

* have the Python implementation use Rust

* lint & tools

* remove unsafe blocks

* One more try to avoid segfaulty windows

-- if that doesn't work maybe revert the change the the Py CommChecker uses Rust

* Debug: disable cache

trying to figure out why the windows CI fails (after being unable to locally reproduce we're using CI with a reduced set of tests)

* ... second try

* Update crates/accelerate/src/commutation_checker.rs

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* Restore azure config

* Remove unused import

* Revert "Debug: disable cache"

This reverts commit c564b806c.

* Don't overallocate cache

We were allocating a the cache hashmap with a capacity for max cache
s... (continued)

689 of 741 new or added lines in 6 files covered. (92.98%)

2 existing lines in 1 file now uncovered.

72454 of 81230 relevant lines covered (89.2%)

406691.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
94.44
-2.54% qiskit/circuit/commutation_checker.py
19
96.61
crates/accelerate/src/commutation_checker.rs
32
81.18
crates/accelerate/src/unitary_compose.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
93.23
0.5% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 10684101555.1 03 Sep 2024 02:02PM UTC 874
89.2
GitHub Action Run
Source Files on build 10684101555
  • Tree
  • List 874
  • Changed 55
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • df0ad77f on github
  • Prev Build on gh-readonly-queue/main/pr-13077-f882fd53d3903b002ebc97b2b23bc8a70200763e (#10684059057)
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

© 2026 Coveralls, Inc