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

Qiskit / qiskit / 8912008593
88%

Build:
DEFAULT BRANCH: main
Ran 01 May 2024 04:43PM 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.538% (+0.007%) from 89.531%
8912008593

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%)

12 existing lines in 4 files now uncovered.

61498 of 68684 relevant lines covered (89.54%)

217407.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8912008593.1 01 May 2024 04:43PM UTC 0
89.54
GitHub Action Run
Source Files on build 8912008593
Detailed source file information is not available for this build.
  • Back to Repo
  • a41690d6 on github
  • Prev Build on gh-readonly-queue/main/pr-12306-c60a1ed63eef38be2590bbdd9c93709ac7eb94c8 (#8910124726)
  • Next Build on main (#8914929648)
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