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

Qiskit / qiskit / 15719313857
88%

Build:
DEFAULT BRANCH: main
Ran 17 Jun 2025 10:57PM UTC
Jobs 1
Files 829
Run time 5min
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

17 Jun 2025 10:04PM UTC coverage: 87.995% (+0.01%) from 87.984%
15719313857

push

github

web-flow
Add `DAGCircuit.make_physical` (#14587)

* Add `DAGCircuit.make_physical`

This method replaces the qubits on the `DAGCircuit` with the "canonical"
physical register.  This does a similar job to running `TrivialLayout`,
ancilla-allocation/expansion and `ApplyLayout`, and in fact this method
can be used as one half of action of `ApplyLayout` in general.

This commit is a stepping stone to having `ApplyLayout` in pure Rust
space.  The `TrivialLayout` pass could also, in a follow-up, be upgraded
to be similar to `SabreLayout` and perform its layout action inline too.
That can follow in a separate patch, however, since it has additional
API considerations, as it would change the behaviour of the pass.

* Reword description of method from 'cheap'

* Use `num_qubits` in Rust-space `make_physical`

* Update crates/circuit/src/dag_circuit.rs

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

---------

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

43 of 49 new or added lines in 1 file covered. (87.76%)

7 existing lines in 2 files now uncovered.

83656 of 95069 relevant lines covered (88.0%)

512555.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
86.26
0.01% crates/circuit/src/dag_circuit.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.57
0.0% crates/transpiler/src/passes/unitary_synthesis.rs
6
92.23
-0.5% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 15719313857.1 17 Jun 2025 10:57PM UTC 829
88.0
GitHub Action Run
Source Files on build 15719313857
  • Tree
  • List 829
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15719313857
  • f69461bc on github
  • Prev Build on gh-readonly-queue/main/pr-14630-b92215b9e34bc977c011411d282b16f5759c02b3 (#15717633604)
  • Next Build on main (#15737699692)
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