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

Qiskit / qiskit / 32696797058
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: rust_porting_ucgate_partially
DEFAULT BRANCH: main
Ran 24 Aug 2026 06:53AM UTC
Jobs 1
Files 956
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

24 Aug 2026 06:18AM UTC coverage: 87.76% (-0.01%) from 87.771%
32696797058

push

github

web-flow
Update Register pack for QPY v18 (#16813)

* Update Register pack for QPY v18

This commit updates the register pack representation in QPY to shrink
the data requirements. The first change is that the bit indices are
switched from being a vec of 64bit signed integers using -1 as a
sentinel to u32::MAX. The address space is 32bits in qiskit's data model
is a u32 and u32::MAX is already used as a sentinel value in a similar
manner so we don't need to preserve the case of a u32::MAX index in the
bit indices since that's not valid in Qiskit's data model. This shrinks
the data size requirements of registers in a QPY payload in half. The
other major change is removing the need of the indices array in the case
the bit mapping is a contiguous range of indices. In these cases we only
need to store a single integer for the start position of the data. In
this case with the size we have the all the details necessary to build
the index map from the qpy data already. This can significantly shrink
the data size required for registers in most cases because typically
registers are added in a contiguous block and we reduce the space
required from 4 bytes * num_bits to 4 bytes.

* Bugfixes

---------

Co-authored-by: Gadi Aleksandrowicz <gadial@gmail.com>

247 of 289 new or added lines in 4 files covered. (85.47%)

9 existing lines in 2 files now uncovered.

114169 of 130093 relevant lines covered (87.76%)

989182.23 hits per line

Uncovered Changes

Lines Coverage ∆ File
37
74.55
-0.9% crates/qpy/src/circuit_reader.rs
4
92.98
0.29% crates/qpy/src/circuit_writer.rs
1
73.54
0.01% crates/qpy/src/value.rs

Coverage Regressions

Lines Coverage ∆ File
8
91.52
-1.29% crates/qasm2/src/lex.rs
1
92.98
0.29% crates/qpy/src/circuit_writer.rs
Jobs
ID Job ID Ran Files Coverage
1 32696797058.1 24 Aug 2026 06:53AM UTC 956
87.76
GitHub Action Run
Source Files on build 32696797058
  • Tree
  • List 956
  • Changed 8
  • Source Changed 6
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32696797058
  • fe43f548 on github
  • Prev Build on gh-readonly-queue/main/pr-16805-301a22ce0360e40a608129204882357585baa61a (#32626567325)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc