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

Qiskit / qiskit-ibm-runtime / 11994269359
83%

Build:
DEFAULT BRANCH: main
Ran 24 Nov 2024 07:44AM UTC
Jobs 13
Files 236
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 Nov 2024 07:38AM UTC coverage: 80.105% (+0.09%) from 80.02%
11994269359

push

github

web-flow
Perform fractional gate filtering on raw API dicts (#2044)

* Perform fractional gate filtering on raw API dicts

This change moves the filtering of fractional gates and dynamic circuit
instructions up into the processing of the raw configuration and
properties dicts received through the API. Previously, the filtering was
performed only during the creation of the `Target` for the backend. So
previously an `IBMBackend` with fractional gates would have both
fractional gates and dynamic circuit instructions in its configuration
and properties data regardless of what value was used for
`use_fractional_gates`. This situation led to inconsistent behavior when
for example users tried to use `backend.basis_gates` as the reference
for which gates were available instead of
`backend.target.operation_names`.

The previous changes to filter instructions during target creation are
removed here, but the `use_fractional_gates` backend option is retained
because `IBMBackend` loads the properties data lazily and can reload the
configuration data after creation with the `refresh()` method.

Closes #2031

* Undo stray tox.ini change

* Add test of loading target properties

* Fix filtering of fractional gate properties

* black

* Restore instruction filtering to convert_to_target

* Fix test

* Fix comments pointed out in review

* Remove default values from _create_backend_obj

* Regularize filtering of fractional gates

* Set conditional to False when using fractional gates

* Fix rzx->rzz in test backend's properties

* Use Qiskit constant for control flow op names when possible

* typo

* black

* Update qiskit_ibm_runtime/qiskit_runtime_service.py

---------

Co-authored-by: Yael Ben-Haim <yaelbh@il.ibm.com>

37 of 38 new or added lines in 5 files covered. (97.37%)

6579 of 8213 relevant lines covered (80.1%)

9.71 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.0
5.87% qiskit_ibm_runtime/utils/backend_decoder.py
Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.10-windows-latest - 11994269359.1 24 Nov 2024 07:50AM UTC 234
77.16
GitHub Action Run
2 unit-tests_python3.12-windows-latest - 11994269359.2 24 Nov 2024 07:52AM UTC 234
77.16
GitHub Action Run
3 unit-tests_python3.10-macos-latest - 11994269359.3 24 Nov 2024 07:44AM UTC 234
78.95
GitHub Action Run
4 unit-tests_python3.8-ubuntu-latest - 11994269359.4 24 Nov 2024 07:45AM UTC 236
79.94
GitHub Action Run
5 unit-tests_python3.10-ubuntu-latest - 11994269359.5 24 Nov 2024 07:45AM UTC 234
78.95
GitHub Action Run
6 unit-tests_python3.8-windows-latest - 11994269359.6 24 Nov 2024 07:51AM UTC 236
78.23
GitHub Action Run
7 unit-tests_python3.11-ubuntu-latest - 11994269359.7 24 Nov 2024 07:44AM UTC 234
78.95
GitHub Action Run
8 unit-tests_python3.11-windows-latest - 11994269359.8 24 Nov 2024 07:50AM UTC 234
77.16
GitHub Action Run
9 unit-tests_python3.9-ubuntu-latest - 11994269359.9 24 Nov 2024 07:46AM UTC 234
78.81
GitHub Action Run
10 unit-tests_python3.9-windows-latest - 11994269359.10 24 Nov 2024 07:50AM UTC 234
77.01
GitHub Action Run
11 unit-tests_python3.11-macos-latest - 11994269359.11 24 Nov 2024 07:44AM UTC 234
78.95
GitHub Action Run
12 unit-tests_python3.12-macos-latest - 11994269359.12 24 Nov 2024 07:44AM UTC 234
78.95
GitHub Action Run
13 unit-tests_python3.12-ubuntu-latest - 11994269359.13 24 Nov 2024 07:45AM UTC 234
78.95
GitHub Action Run
Source Files on build 11994269359
  • Tree
  • List 236
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11994269359
  • af083a46 on github
  • Prev Build on main (#11960036643)
  • Next Build on main (#12013683683)
  • Delete
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