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

Qiskit / qiskit / 13836289882
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 13 Mar 2025 02:13PM UTC
Jobs 1
Files 788
Run time 100min
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

13 Mar 2025 01:16PM UTC coverage: 88.128% (+0.02%) from 88.108%
13836289882

push

github

web-flow
Preserve bit locations through pickle (backport #13980) (#14011)

* Preserve bit locations through pickle (#13980)

* Preserve bit locations through pickle

Previously when we were pickling a DAGCircuit the bit locations fields
were forgotten about. So when we loaded a DAGCircuit from a pickle the
bit locations were empty. This would cause any call to find_bit() to
raise an error because there was no entry for any of the bits in the
dag. This commit fixes this by reconstructing the bit locations on
__setstate__ by iterating over the dag's qubits and clbits.

Fixes #13976

* Fix clippy

* Update docstrings

* Fix name change after rebase

(cherry picked from commit 9dcc668e4)

* Fix method name for stable/2.0 vs main

---------

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

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

5 existing lines in 1 file now uncovered.

72682 of 82473 relevant lines covered (88.13%)

495865.91 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
5
92.23
0.25% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 13836289882.1 13 Mar 2025 02:13PM UTC 788
88.13
GitHub Action Run
Source Files on build 13836289882
  • Tree
  • List 788
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13836289882
  • b40abaa7 on github
  • Prev Build on stable/2.0 (#13821191064)
  • Next Build on stable/2.0 (#13855529691)
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