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

Qiskit / qiskit / 8911481354
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: add-pauli-lindblad-map-generators-15228
DEFAULT BRANCH: main
Ran 01 May 2024 03:57PM UTC
Jobs 1
Files 829
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

01 May 2024 03:41PM UTC coverage: 89.542% (+0.01%) from 89.531%
8911481354

push

github

web-flow
Reject vars in `QuantumCircuit.to_instruction` and `to_gate` (#12207)

* Reject vars in `QuantumCircuit.to_instruction` and `to_gate`

`QuantumCircuit.to_gate` may be able to support `input` variables that
are angle-typed at some point in the future, but that's very limited and
not immediately on the roadmap.

`QuantumCircuit.to_instruction` does have a natural way to support both
`input` vars (they become function arguments) and declared vars (since
they're completely internal to the function body), but those are
currently rejected because we don't have a way of specifying function
signatures / calling functions yet and we don't have a neat complete
story around unrolling variables into circuits yet (where there may be
naming clashes), especially through transpilation.  This opts to raise
the errors immediately, with alternatives where possible, rather than
letting things _kind of_ work.

* Remove now-unused loop

8 of 8 new or added lines in 2 files covered. (100.0%)

10 existing lines in 3 files now uncovered.

61501 of 68684 relevant lines covered (89.54%)

216229.52 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
88.2
-0.36% qiskit/transpiler/passes/synthesis/unitary_synthesis.py
2
93.13
0.76% crates/qasm2/src/lex.rs
6
97.61
0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 8911481354.1 01 May 2024 03:57PM UTC 829
89.54
GitHub Action Run
Source Files on build 8911481354
  • Tree
  • List 829
  • Changed 32
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a41690d6 on github
  • Prev Build on gh-readonly-queue/main/pr-12306-c60a1ed63eef38be2590bbdd9c93709ac7eb94c8 (#8910124726)
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