|
Ran
|
Jobs
1
|
Files
789
|
Run time
2min
|
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%)
4 existing lines in 1 file now uncovered.72931 of 82755 relevant lines covered (88.13%)
357312.95 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
94.81 |
0.02% | crates/accelerate/src/unitary_synthesis.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 4 |
91.73 |
-0.25% | crates/qasm2/src/lex.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 15006397803.1 | 789 |
88.13 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|