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

Qiskit / qiskit / 16837153234
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 08 Aug 2025 06:35PM UTC
Jobs 1
Files 836
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

08 Aug 2025 05:56PM UTC coverage: 87.671% (+0.006%) from 87.665%
16837153234

push

github

web-flow
Add Target::add_instruction() check for number of params (#14842)

* Add Target::add_instruction() check for number of params

This commit adds a validation check to the Target::add_instruction()
method that the number of parameters for the given instruction is
correct. Right now there is no validation of this so you could
incorrectly construct a target that had parameters defined for a gate
that doesn't take any. You would only notice this if you went to use the
gates from the target later during transpilation and would get weird
errors about parameters not being valid for certain things
(ask me how I know). This just adds a simple sanity check similar to
how there was existing qargs validation already but just for parameters
too.

* Add a test for gate with params but different count

55 of 59 new or added lines in 1 file covered. (93.22%)

23 existing lines in 6 files now uncovered.

82366 of 93949 relevant lines covered (87.67%)

545141.16 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
85.47
0.48% crates/transpiler/src/target/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.39
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
93.63
-0.25% crates/qasm2/src/expr.rs
1
92.24
-0.1% crates/transpiler/src/passes/unitary_synthesis.rs
6
92.01
0.0% crates/qasm2/src/lex.rs
6
97.56
0.94% crates/qasm2/src/parse.rs
8
74.29
-0.33% crates/circuit/src/parameter/symbol_expr.rs
Jobs
ID Job ID Ran Files Coverage
1 16837153234.1 08 Aug 2025 06:35PM UTC 836
87.67
GitHub Action Run
Source Files on build 16837153234
  • Tree
  • List 836
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16837153234
  • eb8f7916 on github
  • Prev Build on gh-readonly-queue/main/pr-14803-11625c9d2607a1f56a1ab62ba753acd285c4b90e (#16834979106)
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