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

Qiskit / qiskit / 15718995623
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: add-litinski-to-asv
DEFAULT BRANCH: main
Ran 17 Jun 2025 10:34PM 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

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

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

13 existing lines in 3 files now uncovered.

83656 of 95069 relevant lines covered (88.0%)

512989.59 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
91.98
-0.75% crates/qasm2/src/lex.rs
6
97.61
0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 15718995623.1 17 Jun 2025 10:34PM UTC 829
88.0
GitHub Action Run
Source Files on build 15718995623
  • Tree
  • List 829
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15718995623
  • f69461bc on github
  • Prev Build on gh-readonly-queue/main/pr-14630-b92215b9e34bc977c011411d282b16f5759c02b3 (#15717633604)
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