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

Qiskit / qiskit / 26254975289
87%

Build:
DEFAULT BRANCH: main
Ran 21 May 2026 10:15PM UTC
Jobs 1
Files 945
Run time 4min
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

21 May 2026 09:20PM UTC coverage: 87.494% (-0.009%) from 87.503%
26254975289

push

github

web-flow
Use `ParameterVector(uuid=...)` in QPY deserialisation (#16221)

When QPY deserialises `ParameterVectorElement`s, it first created a
dummy `ParameterVectorElement` with a random UUID, then mutated an
internal Python-space cache of the elements individually, as they were
encountered, to reset them to the `root_uuid + offset` form.

The idea that we _can_ find the root vector during deserialisation is
predicated on the assumption that the `root_uuid + offset` form _must_
hold; if it doesn't, then the attempt to look up a cached version of the
vector by looking at the `element_uuid - offset` would fail, so we'd
never return the same vector.

When `ParameterVectorElement` serialisation was introduced in QPY
v3[^1], vectors were still being looked up by name, and the elements had
completely disconnected UUIDs, which motivated the original system.
This is no longer the case on both counts; it is now much easier simply
to generate the vector correctly from the start, and never need to
mutate internal private state.

[^1]: 5c4cd2bbcf: Fix ParameterVector handling in QPY serialization (gh-7381)

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

22 existing lines in 4 files now uncovered.

108380 of 123872 relevant lines covered (87.49%)

955912.35 hits per line

Coverage Regressions

Lines Coverage ∆ File
12
97.15
-0.47% crates/qasm2/src/parse.rs
5
92.03
-0.51% crates/qasm2/src/lex.rs
4
73.93
-0.16% crates/circuit/src/parameter/symbol_expr.rs
1
91.04
0.0% crates/circuit/src/parameter/parameter_expression.rs
Jobs
ID Job ID Ran Files Coverage
1 26254975289.1 21 May 2026 10:15PM UTC 945
87.49
GitHub Action Run
Source Files on build 26254975289
  • Tree
  • List 945
  • Changed 7
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26254975289
  • 37678174 on github
  • Prev Build on gh-readonly-queue/main/pr-15918-c2826dc4ddf8bc5bad65ed7989268188ec391dbf (#26249965684)
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