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

Qiskit / qiskit / 17415711163 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 02 Sep 2025 09:30PM UTC
Files 863
Run time 39s
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

02 Sep 2025 08:20PM UTC coverage: 88.383% (+0.001%) from 88.382%
17415711163.1

push

github

web-flow
Add `QuantumCircuit.ensure_physical` (#14779)

* Add `QuantumCircuit.ensure_physical`

This is similar but stronger to `DAGCircuit::make_physical`.  Since
`QuantumCircuit` also has layout information available, this method
safely handles this, and the case that the circuit has already been made
physical.

The new documentation in the circuit module and the `QuantumCircuit`
class is intended to help, since this is a common point of confusion
among both users and developers; the documentation isn't supposed to be
a strong personal endorsement of the current situation, just an explicit
statement of what the current system _is_.

This commit was motivated by ad-hoc attempts to do this, such as in
`QuantumCircuit._from_circuit_data(add_regs=True)` (which can be updated
to use this in a follow-up).

* Remove incorrect comment

* Simplify typing of `CircuitData::make_physical`

91374 of 103384 relevant lines covered (88.38%)

480648.1 hits per line

Source Files on job 17415711163.1
  • Tree
  • List 863
  • Changed 7
  • Source Changed 4
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17415711163
  • c74b1cb7 on github
  • Prev Job for on main (#17406967343.1)
  • Next Job for on main (#17427735527.1)
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