Repo Added
|
Files
913
|
Badge
Embed ▾
README BADGES
|
github
Fix handling of control flow instructions in convert_to_target() (#11877) 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. Fixes #11872 (cherry picked from commit 65ab96508)
3 of 3 new or added lines in 1 file covered. (100.0%)
1 existing line in 1 file now uncovered.58902 of 65971 relevant lines covered (89.28%)
186179.47 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|