Repo Added
|
Files
868
|
Badge
README BADGES
|
github
Propagate `DAGCircuit.name` in `ApplyLayout` (#13910) * Propagate `DAGCircuit.name` in `ApplyLayout` This has always been absent, but `transpile` masked the problem by assigning the output circuit names by overwriting the `output_names` input kwarg if it wasn't set. `generate_preset_pass_manager` didn't have the same logic, so it was observable that `ApplyLayout` didn't propagate the name. We could have added similar name-propagation logic to `generate_preset_pass_manager`, but really the bug is in `ApplyLayout`; passes _should_ propagate the metadata. * Fix typo Co-authored-by: John Lapeyre <jlapeyre@users.noreply.github.com> * Remove redunant set --------- Co-authored-by: John Lapeyre <jlapeyre@users.noreply.github.com> (cherry picked from commit 29aa2bd7b)
1 of 1 new or added line in 1 file covered. (100.0%)
5 existing lines in 3 files now uncovered.79391 of 89348 relevant lines covered (88.86%)
359099.69 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|