Repo Added
|
Files
868
|
Badge
README BADGES
|
push
github
Fix UnitarySynthesis to respect synth_gates (backport #14345) (#14351) * Fix UnitarySynthesis to respect synth_gates (#14345) * Fix UnitarySynthesis to respect synth_gates This commit fixes UnitarySynthesis. It has a parameter `synth_gates`, which is meant to be a list of gates that are synthesized. However, the previous implementation did not respect this parameter, and only synthesized the gates named `unitary`. This commit fixes this issue by checking if gate's name is in `synth_gates`. * Add tests for UnitarySynthesis' synth_gates * Fix the default Rust impl of UnitarySynthesis * Add the release note for #14345 (cherry picked from commit 0c2ce6488) # Conflicts: # crates/accelerate/src/unitary_synthesis.rs * Resolve the merge conflict (#14357) --------- Co-authored-by: Shuhei M. Yoshida <17794644+yoshum@users.noreply.github.com>
7 of 8 new or added lines in 2 files covered. (87.5%)
5 existing lines in 1 file now uncovered.72931 of 82755 relevant lines covered (88.13%)
357501.4 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|