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

Qiskit / qiskit-ibm-runtime / 30115949862
88%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2026 06:15PM UTC
Jobs 8
Files 332
Run time 1min
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

24 Jul 2026 06:04PM UTC coverage: 87.702% (+0.02%) from 87.687%
30115949862

push

github

web-flow
Add "physical_qubits" property to backends (#3080)

### Summary

Add `physical_qubits` as a property of `IBMBackend` and (for non-retired
ones) `FakeBackendV2`.

### Details and comments

Fixes #3071

Some forces made the implementation less straightforward than ideal:
* The new property is available at the general `/backends` endpoint
* `IBMBackend` is always instantiated through `QiskitRuntimeService`
* `IBMBackend` design is quite geared towards using the
configuration/properties backend-specific information
* `QiskitRuntimeService` has several layers of state, caching, and
logic, and the point in time where `/backends` is queried is separate
from the point in time where backends are instantiated.

This caused adding a new argument to `IBMBackend` constructor (which I
would like to have avoided), and re-target the
`QiskitRuntimeService._backends_list` into a more generic
`QiskitRuntimeService_backends_info_per_instance` (so it contains all
the information from the `/backends` endpoint for all instances).

Ideally, we should invest time in refactoring `IBMBackend` and
`QiskitRuntimeService` for better modelling of the concepts and
maintainability.

### AI/LLM disclosure

- [x] I didn't use LLM tooling, or only used it privately.

---------

Co-authored-by: Samuele Ferracin <sam.ferracin@ibm.com>

26 of 30 new or added lines in 11 files covered. (86.67%)

9000 of 10262 relevant lines covered (87.7%)

6.96 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
70.81
0.28% qiskit_ibm_runtime/qiskit_runtime_service.py
1
82.05
-0.19% qiskit_ibm_runtime/ibm_backend.py
Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.12-windows-latest - 30115949862.1 24 Jul 2026 06:17PM UTC 332
86.22
GitHub Action Run
2 unit-tests_python3.12-ubuntu-latest - 30115949862.2 24 Jul 2026 06:15PM UTC 332
87.7
GitHub Action Run
3 unit-tests_python3.13-windows-latest - 30115949862.3 24 Jul 2026 06:17PM UTC 332
86.22
GitHub Action Run
4 unit-tests_python3.10-windows-latest - 30115949862.4 24 Jul 2026 06:17PM UTC 332
86.22
GitHub Action Run
5 unit-tests_python3.11-windows-latest - 30115949862.5 24 Jul 2026 06:17PM UTC 332
86.22
GitHub Action Run
6 unit-tests_python3.13-ubuntu-latest - 30115949862.6 24 Jul 2026 06:16PM UTC 332
87.7
GitHub Action Run
7 unit-tests_python3.11-ubuntu-latest - 30115949862.7 24 Jul 2026 06:16PM UTC 332
87.7
GitHub Action Run
8 unit-tests_python3.10-ubuntu-latest - 30115949862.8 24 Jul 2026 06:16PM UTC 332
87.7
GitHub Action Run
Source Files on build 30115949862
  • Tree
  • List 332
  • Changed 11
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30115949862
  • 521961de on github
  • Prev Build on gh-readonly-queue/main/pr-3098-c8cff4e2b522314a38b5a442b4fe9698cd86b2e1 (#30113446753)
  • Next Build on main (#30116591356)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc