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

Qiskit / qiskit / 8096798799
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-16156-c965e1a4509fed1ec789c028f09ca6d947a7d418
DEFAULT BRANCH: main
Ran 29 Feb 2024 01:46PM UTC
Jobs 1
Files 1282
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

29 Feb 2024 01:25PM UTC coverage: 86.903% (-0.03%) from 86.93%
8096798799

push

github

web-flow
Fix handling of control flow instructions in convert_to_target() (#11922)

* Fix handling of control flow instructions in convert_to_target()

This commit fixes an issue in the convert_to_target() function where it
wasn't looking for control flow instructions in the proper location.
Typically the control flow instructions are put in the
supported_instructions field of the BackendConfiguration, but the
convert_to_target() function was ignoring this field. This commit
updates the function to check supported_instructions for the control
flow instructions. It doesn't more broadly look at the
supported_instructions field, because on other backends this field is
used to list the supported pulse instructions which might have name
conflicts with other instructions and cause issues building a target.

This is the spiritual backport of #11877, but because the state of the
convert_to_target() function on stable/0.46 is very different very
little code is carried over from the version on main and stable/1.0,
basically only the tests. This is actually closer in implementation to
the equivalent PR on qiskit-ibm-runtime: Qiskit/qiskit-ibm-runtime#1443
as the internal conversion function in that repository is very similar
to the function on the stable/0.46 branch.

* Add release note

* Fix tests

* Fix import cycle

6 of 6 new or added lines in 1 file covered. (100.0%)

26 existing lines in 2 files now uncovered.

75050 of 86361 relevant lines covered (86.9%)

103524.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8096798799.1 29 Feb 2024 01:46PM UTC 0
86.9
GitHub Action Run
Source Files on build 8096798799
Detailed source file information is not available for this build.
  • Back to Repo
  • f42643f2 on github
  • Prev Build on gh-readonly-queue/stable/0.46/pr-11888-ed53a6b4a20e6d4ef3d9f9d20f1410d8f975d942 (#8083286316)
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