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

Qiskit / qiskit / 14388648668
88%

Build:
DEFAULT BRANCH: main
Ran 10 Apr 2025 07:46PM UTC
Jobs 1
Files 789
Run time 4min
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

10 Apr 2025 06:38PM UTC coverage: 88.221% (+0.05%) from 88.171%
14388648668

push

github

web-flow
Unify identifer handling of `Var` and `Stretch` in `DAGCircuit` (#14000)

* s

* Rename BitData to ObjectRegistry.

* s

* Update tests for new error string.

This is only really a user-facing error message when
working with DAGCircuit, since QuantumCircuit first
checks if the bits being added to it are duplicates.
And, in the case of DAGCircuit, the previous error
message was already unfriendly:

ValueError: Existing bit ShareableQubit(Owned { register: OwningRegisterInfo { name: "q16", size: 2, subclass: QUBIT }, index: 0 }) cannot be re-added in strict mode.

* Fix comment in commutation checker.

* Fix lint.

* Address review comments.

* Unify identifier handling in DAG.

Tracks stretches the same way we track vars.
Also happens to fix a bug in DAG equality where
order mattered between stretch captures (it should
never have). And, fixes a serialization bug with
stretches.

* Fix tests.

* Improve testing and fix bug.

* Add pickle and deepcopy tests for stretches.

Also fix lint.

* Undo breaking name change.

* Add release note.

* Fix lint.

* Fix Python lint.

* Address review comments.

206 of 231 new or added lines in 3 files covered. (89.18%)

7 existing lines in 3 files now uncovered.

73707 of 83548 relevant lines covered (88.22%)

437606.2 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
86.11
-4.69% crates/circuit/src/lib.rs
21
86.69
0.92% crates/circuit/src/dag_circuit.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.79
0.0% crates/accelerate/src/unitary_synthesis.rs
1
86.69
0.92% crates/circuit/src/dag_circuit.rs
5
92.23
-0.5% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 14388648668.1 10 Apr 2025 07:46PM UTC 789
88.22
GitHub Action Run
Source Files on build 14388648668
  • Tree
  • List 789
  • Changed 6
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14388648668
  • 8ec4c9cf on github
  • Prev Build on main (#14386498853)
  • Next Build on main (#14389768512)
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