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

Qiskit / qiskit / 17157397097
88%

Build:
DEFAULT BRANCH: main
Ran 22 Aug 2025 02:41PM UTC
Jobs 1
Files 848
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

22 Aug 2025 01:35PM UTC coverage: 88.429% (+0.001%) from 88.428%
17157397097

push

github

web-flow
Add interoperation between `TranspileLayout` and `PropertySet` (#14826)

* Add interoperation between `TranspileLayout` and `PropertySet`

This adds a constructor and a "destructor" to `TranspileLayout` to
cleanly centralise how the current ad-hoc `PropertySet` properties are
combined into a `TranspileLayout`, and lets them be written back out
again.  This lets passes in the middle of an execution pipeline
construct a complete `TranspileLayout` structure, based on the current
state.

This is a step along the road to centralising `TranspileLayout` into a
core part of the IR; we can now add methods to it, write transpiler
passes against `TranspileLayout`, and start transitioning the logic,
without breaking backwards compatibility.  The idea is that passes will
opt in to creating a `TranspileLayout`, mutate it, then write it back
out again.  In the future, we can have the pass manager itself manage
legacy passes by extracting the `TranspileLayout` into the `PropertySet`
before executing a legacy pass.

* Remove unused import

* Be more commital about 3.0

* Make comment more explicit about state

* Handle case of `final_layout` without `layout`

If a virtual-permutation setting pass uses
`TranspileLayout.write_into_property_set` to normalise its virtual
permutation into a final layout, we would have subsequently failed to
detect the permutation if the initial layout was (validly) reset to
`None`.  This corrects the logic.

47 of 47 new or added lines in 2 files covered. (100.0%)

13 existing lines in 4 files now uncovered.

89843 of 101599 relevant lines covered (88.43%)

496379.11 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.39
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
95.04
-0.77% qiskit/transpiler/passmanager.py
5
91.75
-0.77% crates/qasm2/src/lex.rs
6
97.56
0.0% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 17157397097.1 22 Aug 2025 02:41PM UTC 848
88.43
GitHub Action Run
Source Files on build 17157397097
  • Tree
  • List 848
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17157397097
  • 9fd3dd7a on github
  • Prev Build on gh-readonly-queue/main/pr-14935-52ebd733a08f60cfde7a26f4fcf6ce27bac5fe5c (#17154509362)
  • Next Build on main (#17157549394)
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