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

Qiskit / qiskit / 8915957975
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: c-target-get-params
DEFAULT BRANCH: main
Ran 01 May 2024 11:04PM 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 10:49PM UTC coverage: 89.549% (-0.008%) from 89.557%
8915957975

push

github

web-flow
Add minimal support for standalone `Var` to visualisers (#12307)

* Add minimal support for standalone `Var` to visualisers

This adds best-effort only support to the visualisers for handling
stand-alone `Var` nodes.  Most of the changes are actually in `qasm3`,
since the visualisers use internal details of that to handle the nodes.

This commit decouples the visualisers _slightly_ more from the inner
workings of the OQ3 exporter by having them manage their own
variable-naming contexts and using the encapsulated `_ExprBuilder`,
rather than poking into random internals of the full circuit exporter.
This is necessary to allow the OQ3 exporter to expand to support these
variables itself, and also for the visualisers, since variables may now
be introduced in inner scopes.

This commit does not attempt to solve many of the known problems around
zero-operand "gates", of which `Store` is one, just leaving it un-drawn.
Printing to OpenQASM 3 is possibly a better visualisation strategy for
large dynamic circuits for the time being.

* Fix typos

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

31 of 61 new or added lines in 5 files covered. (50.82%)

4 existing lines in 3 files now uncovered.

61606 of 68796 relevant lines covered (89.55%)

216446.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
94.76
-0.24% qiskit/qasm3/ast.py
3
95.16
-0.25% qiskit/visualization/circuit/text.py
4
87.96
-0.93% qiskit/qasm3/printer.py
6
95.19
0.22% qiskit/qasm3/exporter.py
16
49.33
-0.61% qiskit/visualization/circuit/matplotlib.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
49.33
-0.61% qiskit/visualization/circuit/matplotlib.py
1
92.88
1.27% crates/qasm2/src/lex.rs
2
88.2
-0.36% qiskit/transpiler/passes/synthesis/unitary_synthesis.py
Jobs
ID Job ID Ran Files Coverage
1 8915957975.1 01 May 2024 11:04PM UTC 829
89.55
GitHub Action Run
Source Files on build 8915957975
  • Tree
  • List 829
  • Changed 33
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a78c9414 on github
  • Prev 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