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

Qiskit / qiskit / 13835545971
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 13 Mar 2025 01:38PM UTC
Jobs 1
Files 788
Run time 132min
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.134% (+0.03%) from 88.108%
13835545971

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%)

3 existing lines in 2 files now uncovered.

72687 of 82473 relevant lines covered (88.13%)

497458.03 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.69
0.0% crates/accelerate/src/unitary_synthesis.rs
2
93.23
1.25% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 13835545971.1 13 Mar 2025 01:38PM UTC 788
88.13
GitHub Action Run
Source Files on build 13835545971
  • Tree
  • List 788
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13835545971
  • b40abaa7 on github
  • Prev Build on stable/2.0 (#13821191064)
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

© 2025 Coveralls, Inc