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

Qiskit / qiskit / 10691365168
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: py3.10-updates
DEFAULT BRANCH: main
Ran 03 Sep 2024 10:30PM UTC
Jobs 1
Files 874
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

03 Sep 2024 10:06PM UTC coverage: 89.164% (-0.01%) from 89.175%
10691365168

push

github

web-flow
Implement a capacity-allocated constructor for `DAGCircuit` in Rust. (#12975)

* Initial: implement fixed capacity constructor for DAGCircuit
- Implement `DAGCircuit` with `with_capacity` to create an initially allocated instance, for rust only.
- Implement `with_capacity` for `BitData` and `IndexInterner` that creates an initally allocated instance of each type.
- Other small tweaks and fixes.
- Add num_edges optional argument. If known, use `num_edges` argument to create a `DAGCircuit` with the exact number of edges.
- Leverage usage of new method in `copy_empty_like`.
- Use `..Default::default()` for `op_names` and `calibrations` fields in `DAGCircuit::with_capacity()`

* Fix: Adapt to #13033

* Fix: Re-arrange the function arguments as per @mtreinish's review.
- The order now follows: qubits, clbits, vars, num_ops, edges. As per [Matthew's comment](https://github.com/Qiskit/qiskit/pull/12975#discussion_r1742426093).

72 of 72 new or added lines in 3 files covered. (100.0%)

23 existing lines in 4 files now uncovered.

72518 of 81331 relevant lines covered (89.16%)

404351.51 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
88.43
-0.36% qiskit/transpiler/passes/synthesis/unitary_synthesis.py
3
92.73
0.75% crates/qasm2/src/lex.rs
6
90.84
-4.58% qiskit/synthesis/two_qubit/xx_decompose/decomposer.py
12
96.69
-0.92% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 10691365168.1 03 Sep 2024 10:30PM UTC 874
89.16
GitHub Action Run
Source Files on build 10691365168
  • Tree
  • List 874
  • Changed 49
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dff9e812 on github
  • Prev Build on gh-readonly-queue/main/pr-13078-dde09f9d62140d898015601a82a50443cd132600 (#10685536623)
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