Repo Added
|
Files
869
|
Badge
README BADGES
|
github
Fix ignored errors/durations in `generate_preset_pass_manager` if `dt` is set (#14065) * Fix dt oversight in generate_preset_pass_manager * Update warning to mention explicitly the invalidation of custom durations and error rates. * Do not overwrite original backend values inside transpile, iterate over target to reset internal instruction_durations value so that new dt can be taken into account * One iteration is enough to reset the value of self._instruction_durations * Estimate duration instead of hardcoding it * Apply suggestion from Matt's code review Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * Fix example * Move cache invalidation to target dt setter. * Add reno --------- Co-authored-by: Matthew Treinish <mtreinish@kortar.org> (cherry picked from commit 6ce778870)
18 of 18 new or added lines in 3 files covered. (100.0%)
4 existing lines in 2 files now uncovered.72745 of 82590 relevant lines covered (88.08%)
357395.42 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|