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

Qiskit / qiskit / 8144782269
88%

Build:
DEFAULT BRANCH: main
Ran 04 Mar 2024 06:11PM UTC
Jobs 1
Files 818
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

04 Mar 2024 05:14PM UTC coverage: 89.284% (-0.02%) from 89.307%
8144782269

push

github

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

* 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

2 of 2 new or added lines in 1 file covered. (100.0%)

17 existing lines in 3 files now uncovered.

59106 of 66200 relevant lines covered (89.28%)

241944.09 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.81
-0.24% crates/qasm2/src/expr.rs
4
91.18
-0.5% crates/qasm2/src/lex.rs
12
96.23
-0.92% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 8144782269.1 04 Mar 2024 06:11PM UTC 818
89.28
GitHub Action Run
Source Files on build 8144782269
  • Tree
  • List 818
  • Changed 30
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f4b50fbb on github
  • Prev Build on gh-readonly-queue/main/pr-11942-4fd7faf242885cfb6262fc72202b75621c6d0d8f (#8142861876)
  • Next Build on main (#8171644033)
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