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

Qiskit / qiskit-ibm-runtime / 11994269359 / 12
83%
main: 83%

Build:
DEFAULT BRANCH: main
Ran 24 Nov 2024 07:53AM UTC
Files 234
Run time 5s
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: 78.951% (+0.1%) from 78.805%
11994269359.12

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>

6140 of 7777 relevant lines covered (78.95%)

0.79 hits per line

Source Files on job unit-tests_python3.12-macos-latest - 11994269359.12
  • Tree
  • List 234
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11994269359
  • af083a46 on github
  • Prev Job for on main (#11960036643.5)
  • Next Job for on main (#12013683683.4)
  • 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

© 2026 Coveralls, Inc