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

Qiskit / qiskit / 8097336703 / 1
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: jeevan/15849-task-7
DEFAULT BRANCH: main
Ran 29 Feb 2024 02:28PM UTC
Files 1282
Run time 53s
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.911% (-0.02%) from 86.93%
8097336703.1

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

75057 of 86361 relevant lines covered (86.91%)

103543.21 hits per line

Source Files on job 8097336703.1
  • Tree
  • List 0
  • Changed 23
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8097336703
  • f42643f2 on github
  • Prev Job for on stable/0.46 (#8083286316.1)
  • Next Job for on stable/0.46 (#8173259133.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