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

Qiskit / qiskit / 17238534397
88%

Build:
DEFAULT BRANCH: main
Ran 26 Aug 2025 01:22PM UTC
Jobs 1
Files 851
Run time 3min
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.384%. Remained the same
17238534397

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

59 existing lines in 6 files now uncovered.

90098 of 101939 relevant lines covered (88.38%)

488474.9 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
82.81
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
95.56
1.39% qiskit/visualization/circuit/_utils.py
4
91.75
-0.26% crates/qasm2/src/lex.rs
11
72.7
-0.45% crates/circuit/src/parameter/symbol_expr.rs
18
96.62
-0.94% crates/qasm2/src/parse.rs
24
84.88
-0.4% crates/circuit/src/dag_circuit.rs
Jobs
ID Job ID Ran Files Coverage
1 17238534397.1 26 Aug 2025 01:22PM UTC 851
88.38
GitHub Action Run
Source Files on build 17238534397
  • Tree
  • List 851
  • Changed 15
  • Source Changed 10
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17238534397
  • dd826996 on github
  • Prev Build on gh-readonly-queue/main/pr-14947-820fe04babb127175ac673ed1484b93ab34a6cb7 (#17224042884)
  • Next Build on main (#17238793445)
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

© 2025 Coveralls, Inc