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

Qiskit / qiskit / 8917256549
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: containers_public
DEFAULT BRANCH: main
Ran 02 May 2024 01:40AM UTC
Jobs 1
Files 829
Run time 1min
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

02 May 2024 01:25AM UTC coverage: 89.545% (+0.02%) from 89.523%
8917256549

push

github

web-flow
Support standalone `Var`s in OQ3 exporter (#12308)

* Support standalone `Var`s in OQ3 exporter

This adds the remaining support needed for the OpenQASM 3 exporter to
support standalone variables.  The way the circuit model handles
closures over these variables makes it much easier to support these than
it was to handle free-form control-flow operations.

This PR somewhat refactors small parts of the exporter to better isolate
the "top-level program" statement construction and analysis from the
"build a scoped set of instructions" logic, which makes it rather easier
to handle things like declaring IO variables only in the global scope,
but locally declared variables in _all_ relevant scopes.

* Remove references to QSS

* Clarify comment about forward declarations

* Add test for parameter/gate clash resolution

67 of 69 new or added lines in 1 file covered. (97.1%)

15 existing lines in 3 files now uncovered.

61606 of 68799 relevant lines covered (89.54%)

215932.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
95.87
0.68% qiskit/qasm3/exporter.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.87
0.68% qiskit/qasm3/exporter.py
2
92.62
1.02% crates/qasm2/src/lex.rs
12
97.15
0.0% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 8917256549.1 02 May 2024 01:40AM UTC 829
89.54
GitHub Action Run
Source Files on build 8917256549
  • Tree
  • List 829
  • Changed 32
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 676a5ed9 on github
  • Prev Build on main (#8916509583)
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