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

Qiskit / qiskit / 26253780246 / 1
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: revert-15783-basis_translator_dag
DEFAULT BRANCH: main
Ran 21 May 2026 09:51PM UTC
Files 945
Run time 56s
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.508% (+0.005%) from 87.503%
26253780246.1

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)

108398 of 123872 relevant lines covered (87.51%)

959523.33 hits per line

Source Files on job 26253780246.1
  • Tree
  • List 945
  • Changed 5
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26253780246
  • 37678174 on github
  • Prev Job for on gh-readonly-queue/main/pr-16221-7648d768c19ec182791cf59916a4ea653e54d4ce (#26249965684.1)
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