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

Qiskit / qiskit / 17237857332
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: lightcone-fix
DEFAULT BRANCH: main
Ran 26 Aug 2025 12:54PM UTC
Jobs 1
Files 851
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

26 Aug 2025 12:17PM UTC coverage: 88.401% (+0.02%) from 88.384%
17237857332

push

github

web-flow
Port `ApplyLayout` to Rust (#14904)

* Port `ApplyLayout` to Rust

This adds and uses the Rust-space paths for `ApplyLayout`.  The Rust
interface is deliberately forwards looking; it uses the new Rust-space
`TranspileLayout` and all the surrounding infrastructure to begin the
process of transitioning our passes to move the `TranspileLayout` to an
inherent field on `DAGCircuit`, and updated by all relevant passes in
Qiskit directly, rather than the ad-hoc, frequently temporarily
out-of-sync collection of properties in the `PropertySet`.

The Rust-space version of `ApplyLayout` is split into the two forms:
"apply a layout for the first time" (`apply_layout`) and "improve an
already set layout" (`update_layout`).  `apply_layout` can also handle
the allocation of explicit ancillas automatically.  The Python-space
version of the class is not yet upgraded to allow this functionality,
but that can be done in a follow-up.

* Remove equality message from assertion panics

* Clarify logic of ancilla allocation

* Distinguish layouts from relabellings of layouts

* Clarify action of `ApplyLayout`

224 of 281 new or added lines in 10 files covered. (79.72%)

44 existing lines in 5 files now uncovered.

90115 of 101939 relevant lines covered (88.4%)

488395.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
84.88
-0.4% crates/circuit/src/dag_circuit.rs
1
88.41
0.53% crates/circuit/src/nlayout.rs
6
98.4
9.92% crates/transpiler/src/transpile_layout.rs
49
71.35
crates/transpiler/src/passes/apply_layout.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.04
1.03% crates/qasm2/src/lex.rs
1
95.56
1.39% qiskit/visualization/circuit/_utils.py
6
97.56
0.0% crates/qasm2/src/parse.rs
12
72.7
-0.45% crates/circuit/src/parameter/symbol_expr.rs
24
84.88
-0.4% crates/circuit/src/dag_circuit.rs
Jobs
ID Job ID Ran Files Coverage
1 17237857332.1 26 Aug 2025 12:54PM UTC 851
88.4
GitHub Action Run
Source Files on build 17237857332
  • Tree
  • List 851
  • Changed 14
  • Source Changed 10
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17237857332
  • dd826996 on github
  • Prev Build on gh-readonly-queue/main/pr-14947-820fe04babb127175ac673ed1484b93ab34a6cb7 (#17224042884)
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