You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
0 commit comments