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

Qiskit / qiskit / 12833966079
88%

Build:
DEFAULT BRANCH: main
Ran 17 Jan 2025 05:56PM UTC
Jobs 1
Files 913
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

17 Jan 2025 04:56PM UTC coverage: 88.95% (+0.03%) from 88.919%
12833966079

push

github

web-flow
Include `&Packedinstruction` in `DAGCircuit::op_nodes` iteration (#13681)

Uses of the `DAGCircuit::op_nodes` iterator are almost invariably
followed by indexing into the DAG to retrieve the node weight, which is
dynamically asserted to be `NodeType::Operation`.  Since the iterator
already verifies this, we can just include the unwrapped
`&PackedInstruction` in the iterator return to simply calling code and
reduce the number of `unreachable!()`, `panic!()`, etcs.

A new `op_node_indices` is provided for ease for cases where the
iterator needs to be consumed to avoid being lifetime-tied to the DAG,
such as when the DAG is going to be mutated based on the nodes.

`topological_op_nodes` is left for a follow-up; it might be slightly
more challenging because of the interaction with rustworkx, but it can
also be done separately anyway.

92 of 97 new or added lines in 11 files covered. (94.85%)

14 existing lines in 3 files now uncovered.

79433 of 89301 relevant lines covered (88.95%)

352943.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
89.4
0.39% crates/circuit/src/dag_circuit.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.39
1.51% crates/accelerate/src/check_map.rs
6
97.62
0.46% crates/qasm2/src/parse.rs
7
92.23
-0.5% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 12833966079.1 17 Jan 2025 05:56PM UTC 913
88.95
GitHub Action Run
Source Files on build 12833966079
  • Tree
  • List 913
  • Changed 70
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12833966079
  • 1fc760ab on github
  • Prev Build on gh-readonly-queue/main/pr-13680-dffc2df684cbda8a727044781250728ec7573c6f (#12831454995)
  • Next Build on main (#12834092699)
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