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

Qiskit / qiskit / 19578967555
88%

Build:
DEFAULT BRANCH: main
Ran 21 Nov 2025 06:31PM UTC
Jobs 1
Files 875
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

21 Nov 2025 05:27PM UTC coverage: 88.232% (+0.02%) from 88.209%
19578967555

push

github

web-flow
Add `UnitaryGate` handling to `QkDag` C API (#15363)

* Add `UnitaryGate` handling to `QkDag` C API

This adds methods to add and retrieve unitary matrices from `QkDag`.
We likely need something similar to retrieve the matrices from
`QkCircuit` as well at some point.

This commit uses copy-out semantics for the arrays to ensure that the
output is always row-major, but it's quite possible that we might want
an alternative method that fills in some sort of

```c
struct QkMatView {
    QkComplex64 *mat,
    size_t shape[2];
    size_t stride[2];
}
```

by just populating the pointer, and the metadata, so it's much cheaper.
We'd need to include the strides because Qiskit internally already can't
guarantee its matrices are contiguous, and the `OneQ`/`TwoQ` variants
are col-major while the `NDArray` variant is (usually) row-major.

* Correct comment on null pointers

86 of 88 new or added lines in 2 files covered. (97.73%)

11 existing lines in 2 files now uncovered.

94387 of 106976 relevant lines covered (88.23%)

1147211.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
88.31
0.04% crates/cext/src/circuit.rs
1
81.75
5.91% crates/cext/src/dag.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
92.54
1.03% crates/qasm2/src/lex.rs
8
73.02
-0.29% crates/circuit/src/parameter/symbol_expr.rs
Jobs
ID Job ID Ran Files Coverage
1 19578967555.1 21 Nov 2025 06:31PM UTC 875
88.23
GitHub Action Run
Source Files on build 19578967555
  • Tree
  • List 875
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19578967555
  • 81ae1a08 on github
  • Prev Build on gh-readonly-queue/main/pr-15364-19b7bd32efe0b347e3692d784382d3d8157405aa (#19571474394)
  • Next Build on main (#19582492412)
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