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

Qiskit / qiskit / 8925354283
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: lightcone-fix
DEFAULT BRANCH: main
Ran 02 May 2024 02:29PM 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 02:13PM UTC coverage: 89.59% (+0.07%) from 89.523%
8925354283

push

github

web-flow
Support standalone `Var` throughout transpiler (#12322)

* Support standalone `Var` throughout transpiler

This adds the missing pieces to fully support standalone `Var` nodes
through every part of the transpiler (that I could detect).  It's quite
possible there's some problem in a more esoteric non-preset pass
somewhere, but I couldn't spot them.

For the most part there were very few changes needed to the actual
passes, and only one place in `QuantumCircuit` that had previously been
missed.  Most of the commit is updating passes to correctly pass
`inline_captures=True` when appropriate for dealing with
`DAGCircuit.compose`, and making sure that any place that needed to
build a raw `DAGCircuit` for a rebuild _without_ using
`DAGCircuit.copy_empty_like` made sure to correctly add in the
variables.

This commit adds specific tests for every pass that I touched, plus the
general integration tests that we have for the transpiler to make sure
that OQ3 and QPY serialisation work afterwards.

* Clarify comment

26 of 29 new or added lines in 10 files covered. (89.66%)

4 existing lines in 1 file now uncovered.

61766 of 68943 relevant lines covered (89.59%)

217175.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.25
-1.75% qiskit/transpiler/passes/layout/apply_layout.py
1
95.58
17.87% qiskit/transpiler/passes/layout/sabre_layout.py
1
95.37
0.13% qiskit/transpiler/passes/routing/stochastic_swap.py

Uncovered Existing Lines

Lines Coverage ∆ File
4
92.62
0.0% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 8925354283.1 02 May 2024 02:29PM UTC 829
89.59
GitHub Action Run
Source Files on build 8925354283
  • Tree
  • List 829
  • Changed 36
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 469c9894 on github
  • Prev Build on gh-readonly-queue/main/pr-12312-d6c74c265ab4d5ed1d16694804d9fd7130003bb5 (#8924853329)
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