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

Qiskit / qiskit / 35338301118
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: patch-lcov-errors
DEFAULT BRANCH: main
Ran 18 Sep 2026 11:34AM UTC
Jobs 1
Files 966
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

18 Sep 2026 11:10AM UTC coverage: 87.839% (-0.05%) from 87.887%
35338301118

push

github

web-flow
Add `Param::Int` variant for `Dt` in Rust. (#16768)

* Initial: Add `Param::Int` variant.

* Fix: Use `Param::Int` only for dt

* Fix: Incorrect parameter comparison

* Fix: Further limit int usage to `Dt` in Qasm3

* Update parameter_expression.rs

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Fix: Correct panic condition for `Param::Int` in a `StandardGate`.

* Maybe: Coerce all to float, only Dt as int

* Fix: Use `Param::Int` when building a `QkCircuitInstruction`.

* Fix: Cast any non-dt numeric duration into a float

* Chore: Use correct variable names for `Param::Int` matching.

* Fix: `add` and `mul` exclude `Param::Int`
During internal discussion we determined that nothing else should be operating on a `Param::Int` as it is to be used exclusively by `Delay` in terms of `Dt` and nothing else should interact with it.
The documentation of these methods has been updated to reflect that.

* Fix: Behavior of `Int` params in `QPY`.We reverted previous changes that would put a `u64` int into a `ValueType::Integer`, mistakenly interpreting it as an `i64` in the payload. The current solution truncates the `u64` using `try_from` and will return an error if the value is bigger than `i64::MAX`.This is a well-known shortcoming of the `QPY` exporter and a note was added to address it.

* Fix: Remove more unnecessary casting to u64.

* Test: Add tests to `QPY` ensuring roundtrip

Co-authored by Claude

* Docs: Mention lossy conversion in `qk_param_as_real`.

* Docs: Expand documentation of `Param`.

* Fix: Move `TryFrom` to `Value`.

* Refactor: Qasm3 exporter behavior
The exporter will now discriminate based on the instruction's unit, if it sees any discrepancies it will Error with a proper message.

* Chore: Update old comment

* Refactor: use `Param::extract_duration`Created a method `extract_duration` that extract the expected parameter as a duration in the rust side keeping track of the expected unit and throwing an error if an incorrect type is f... (continued)

129 of 208 new or added lines in 19 files covered. (62.02%)

33 existing lines in 7 files now uncovered.

118518 of 134927 relevant lines covered (87.84%)

969980.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
78.73
-2.09% crates/qasm3/src/exporter.rs
23
82.78
-0.97% crates/circuit/src/operations.rs
13
79.59
-1.65% crates/circuit/src/circuit_instruction.rs
4
81.69
-0.14% crates/circuit/src/parameter/symbol_expr.rs
4
86.33
-0.49% crates/transpiler/src/passes/basis_translator/mod.rs
3
96.1
-0.14% crates/circuit/src/circuit_drawer.rs
2
73.39
-0.41% crates/cext/src/param.rs
2
82.33
1.51% crates/qpy/src/interface.rs
1
86.89
0.02% crates/circuit/src/circuit_data.rs
1
85.93
0.0% crates/circuit/src/dag_circuit.rs
1
95.06
-0.39% crates/circuit/src/standard_gate/standard_generators.rs
1
60.94
6.22% crates/qasm3/src/ast.rs

Coverage Regressions

Lines Coverage ∆ File
13
90.75
-3.34% crates/qasm2/src/lex.rs
7
78.73
-2.09% crates/qasm3/src/exporter.rs
6
97.66
0.47% crates/qasm2/src/parse.rs
4
69.35
-6.05% crates/accelerate/src/circuit_duration.rs
1
82.78
-0.97% crates/circuit/src/operations.rs
1
81.69
-0.14% crates/circuit/src/parameter/symbol_expr.rs
1
82.12
0.35% crates/transpiler/src/passes/constrained_reschedule.rs
Jobs
ID Job ID Ran Files Coverage
1 35338301118.1 18 Sep 2026 11:34AM UTC 966
87.84
GitHub Action Run
Source Files on build 35338301118
  • Tree
  • List 966
  • Changed 23
  • Source Changed 21
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35338301118
  • 9fded699 on github
  • Prev Build on gh-readonly-queue/main/pr-17004-5c75bfa7cce8a6c6dc18ac4ed02449884addfd3f (#35320278905)
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