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

Qiskit / qiskit / 19866841602
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-15435-188c172c8ef9461eb09a0cb162451148f5ea035e
DEFAULT BRANCH: main
Ran 02 Dec 2025 05:40PM UTC
Jobs 1
Files 880
Run time 3min
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

02 Dec 2025 05:01PM UTC coverage: 88.401% (+0.003%) from 88.398%
19866841602

push

github

web-flow
Tune LitinskiTransformation pass (#15315)

* Tune LitinskiTransformation pass

This commit optimizes the implementation of the LitinskiTransformation
pass. The improvements fall into a couple of categories, but most of the
runtime performance improvements will come from removing unecessary
allocations.

From a quick glance the Clifford struct looks like it could also use a
similar once over, mostly to get it to leverage Qiskit's types more
effectively if nothing else. But I kept the changes there minimal for
this commit and only modified the method used by The
LitinskiTransformation directly.

* Remove unnecessary Vec for no clbits

* Use a more clear variable name for computing clifford count

* Add separate method for PPM inverse z

The earlier changes in this PR branch had modified the
`Clifford::get_inverse_z()` method to be optimized for building a sparse
observable. This however came at the cost of extra overhead for the
pauli product measurement path. The overhead came in two ways, it resulted
in an extra vec allocation to collect the bit terms, but also in an extra
iteration over all the terms to recompute the z and x components for the
pauli product measurement. This was mainly a bias left from the original
version of this PR which was written before PauliProductMeasurement was
introduced or used in the pass. This commit fixes this oversight by
adding a second method to Clifford for PPM usage of get_inverse_z that
returns the data in a similar format to what was there before seperate
pauli z and x Vecs.

146 of 146 new or added lines in 2 files covered. (100.0%)

13 existing lines in 5 files now uncovered.

95848 of 108424 relevant lines covered (88.4%)

1208837.23 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.3
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
96.72
2.69% crates/transpiler/src/passes/litinski_transformation.rs
1
93.32
-0.09% crates/transpiler/src/passes/unitary_synthesis.rs
4
92.54
-0.51% crates/qasm2/src/lex.rs
6
97.56
-0.47% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 19866841602.1 02 Dec 2025 05:40PM UTC 880
88.4
GitHub Action Run
Source Files on build 19866841602
  • Tree
  • List 880
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19866841602
  • bbd0ace5 on github
  • Prev Build on gh-readonly-queue/main/pr-15407-57748f8da4b83046c96585e92e3b678c0e197434 (#19857381149)
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