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

Qiskit / qiskit / 35902338680
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: no-str-parser/1
DEFAULT BRANCH: main
Ran 23 Sep 2026 06:58PM UTC
Jobs 1
Files 972
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

23 Sep 2026 06:25PM UTC coverage: 87.89% (-0.01%) from 87.9%
35902338680

push

github

web-flow
Add access to `QkParam` types from the C API (#16936)

* Initial: Add `qk_param_kind` and `qk_param_as_int`.

* Test: Add testing for kind (exclude integer).

* Docs: Add docstring

* Docs: Add enum to docs

* Fix: Follow writer pattern for `qk_param_as_int`.

Co-authored-by: David F. Cohen <me@davidfcohen.com>

* Format: return values.

* Docs: Fix missing docs

* Fix: Make `Unknown` the `0` variant.

* Addressing review comments:
- Break down `qk_param_as_int`.
- Simplify `qk_param_kind` to only evaluate concrete types.

* Apply batched suggestions from code review

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Fix: Address more review comments
- Use tildes more consistently.
- Update docstring of ``qk_param_as_real`` to address Matt's note and remove mention of complex numbers in ``qk_param_as_int``.
- Update return value in ``qk_param_as_int`` docstring.
- Add `derive` traits to `ParamKind`.
- Do exhaustive matching of `Param` in `param_try_int` and ``qk_param_kind``.

* Fix: Documentation in release note

* Apply batched suggestions from code review

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Docs: Update docstring `qk_param_as_int`
Specify that it will also error if the parameter happens to be bound but contains a floating point or complex number.

* Test: Add python c ffi test for delay

* Fix: Revert `qk_param_as_real` lossy conversion

* Fix: Use `c_int64` as the chosen type.

* Fix: Use correct initializer.

* Apply batched suggestions from code review

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Test: Add test for parameter expression and casting invalid int.

* Lint: Use b'string

* Update test/python/capi/test_circuit.py

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

---------

Co-authored-by: David F. Cohen <me@davidfcohen.com>
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Co-authored-by: Julien Gacon <gaconju@gmail.com>

22 of 25 new or added lines in 2 files covered. (88.0%)

22 existing lines in 2 files now uncovered.

119502 of 135967 relevant lines covered (87.89%)

962213.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
74.05
0.86% crates/cext/src/param.rs

Coverage Regressions

Lines Coverage ∆ File
18
96.72
-1.41% crates/qasm2/src/parse.rs
4
92.29
0.26% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 35902338680.1 23 Sep 2026 06:57PM UTC 972
87.89
GitHub Action Run
Source Files on build 35902338680
  • Tree
  • List 972
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35902338680
  • 806feaca on github
  • Prev Build on gh-readonly-queue/main/pr-16820-b1e058ced3b99d667a776bcdbc1d12fa1ed37ada (#35888788785)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc