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

Qiskit / qiskit / 8146086731 / 1
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/stable/2.3/pr-15616-5b80bf1f3c9f193c5aa8f4935837e1d4405cd917
DEFAULT BRANCH: main
Ran 04 Mar 2024 07:58PM UTC
Files 817
Run time 25s
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

04 Mar 2024 07:00PM UTC coverage: 89.299% (+0.02%) from 89.283%
8146086731.1

push

github

web-flow
Fix performance issue in parsing bit indices in QPY (#11944) (#11945)

* Fix performance issue in parsing bit indices in QPY

This commit fixes a performance issue in the deserialization of QPY
payloads. Previously when parsing every instruction the deserialization
would build up a dictionary of indices to bits so that when we load the
bit index in the qargs and cargs for each instruction. This mean the
worst case scaling of this section was O(n * m) for n instructions and
m bits, which for very large circuits could end up dominating the time
spent in deserialization. However, this was unecessary work because it
is rebuilding a mapping from index to bit as a dictionary, but that
mapping already existed in the bit lists the circuit is carrying around.
This commit fixes the performance issue by removing the dictionary
generation and just using the bit lists directly.

* Add release note

* Simplify logic

(cherry picked from commit f4b50fbb2)

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

58914 of 65974 relevant lines covered (89.3%)

186631.95 hits per line

Source Files on job 8146086731.1
  • Tree
  • List 0
  • Changed 29
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8146086731
  • 16a7a15c on github
  • Prev Job for on stable/1.0 (#8116181451.1)
  • Next Job for on stable/1.0 (#8173299617.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