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

Qiskit / qiskit / 10837470562
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: unitary-synthesis
DEFAULT BRANCH: main
Ran 12 Sep 2024 07:49PM UTC
Jobs 1
Files 884
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

12 Sep 2024 07:28PM UTC coverage: 88.925% (+0.03%) from 88.898%
10837470562

push

github

web-flow
Oxidize dag_to_circuit() (#13126)

* Oxidize dag_to_circuit()

This commit migrates the dag_to_circuit() converter function
implementation to rust. The core of this is having a DAGCircuit to
CircuitData converter function in rust. To do this efficiently we just
copy the BitDatas and Interners to the new circuit data object being
created and then just iterate over all the packed instructions in the
circuit. To facilitate this a new constructor for CircuitData is added
that takes an iterator of PackedInstructions and the BitDatas and
Interners and builds a new circuit data from that.

* Apply suggestions from code review

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* Update crates/circuit/src/converters.rs

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* Update crates/circuit/src/converters.rs

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* Use immutable access methods instead of relying on public fields

* Add docstring to the new CircuitData constructor method

---------

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

69 of 72 new or added lines in 4 files covered. (95.83%)

8 existing lines in 3 files now uncovered.

73475 of 82626 relevant lines covered (88.92%)

358013.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
96.63
-3.37% crates/circuit/src/converters.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.11
-0.24% crates/circuit/src/dag_node.rs
1
95.45
-0.76% qiskit/synthesis/two_qubit/xx_decompose/decomposer.py
6
92.23
-0.5% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 10837470562.1 12 Sep 2024 07:49PM UTC 884
88.92
GitHub Action Run
Source Files on build 10837470562
  • Tree
  • List 884
  • Changed 61
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4c88a712 on github
  • Prev Build on gh-readonly-queue/main/pr-13142-1ff6361303c4b4bd472eee5249fadcbace40ca96 (#10833468604)
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