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

Qiskit / qiskit / 14844118690
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 05 May 2025 07:28PM UTC
Jobs 1
Files 805
Run time 3min
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

05 May 2025 07:04PM UTC coverage: 87.816% (-0.06%) from 87.875%
14844118690

push

github

web-flow
Oxidize classical expression use in Rust code. (#14176)

* 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.

* Initial commit.

* Implement types.

* Wire-up Rust-based Types.

* Add more plumbing for Expr.

* Expose Op enums.

* WIP

* WIP

* Test passing.

* Refactor module organization.

* Fix clippy.

* Downcast instead of extract.

* Fix merge.

* Undo breaking name change.

* Add release note.

* Fix lint.

* Fix Python lint.

* Add missing documentation, fix opcode docs.

* Impl repr for expressions.

* Fix pickling for facade enums.

* Manually revert DAGCircuit changes.

I'll do these in a separate PR.

* Revert "Manually revert DAGCircuit changes."

This reverts commit 35938ec06.

* WIP

* Pass 1.

* Use identifier_info for copy_empty_like.

* Convert to expr during creation of QuantumCircuitData.

* Remove Python token need for Var and Stretch.

* Use sets for vars. Whoops!

* Fix lint.

* Use fast-rng feature for uuid.

* Fix merge, further oxidize compose.

* Updates after merge.

* Address review comments.

304 of 373 new or added lines in 5 files covered. (81.5%)

53 existing lines in 7 files now uncovered.

74487 of 84822 relevant lines covered (87.82%)

434434.55 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% crates/circuit/src/dot_utils.rs
68
85.74
-1.02% crates/circuit/src/dag_circuit.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.78
0.0% crates/accelerate/src/unitary_synthesis.rs
1
94.23
-0.23% crates/qasm2/src/expr.rs
2
91.53
-1.69% qiskit/circuit/classical/expr/visitors.py
7
92.73
-0.25% crates/qasm2/src/lex.rs
12
96.22
-0.93% crates/qasm2/src/parse.rs
15
85.74
-1.02% crates/circuit/src/dag_circuit.rs
15
82.64
-10.42% crates/circuit/src/object_registry.rs
Jobs
ID Job ID Ran Files Coverage
1 14844118690.1 05 May 2025 07:28PM UTC 805
87.82
GitHub Action Run
Source Files on build 14844118690
  • Tree
  • List 805
  • Changed 14
  • Source Changed 8
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14844118690
  • 575d1f0f on github
  • Prev Build on main (#14842203967)
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