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

Qiskit / qiskit / 8917584107
88%

Build:
DEFAULT BRANCH: main
Ran 02 May 2024 02:25AM 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

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

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

9 existing lines in 3 files now uncovered.

61603 of 68799 relevant lines covered (89.54%)

216331.37 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
91.86
0.25% crates/qasm2/src/lex.rs
6
97.15
0.0% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 8917584107.1 02 May 2024 02:25AM UTC 829
89.54
GitHub Action Run
Source Files on build 8917584107
  • 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)
  • Next Build on main (#8923923529)
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