push
github
Avoid operator creation in transpiler (#12826) (#12875) * Avoid operator creation in transpiler This removes very nearly all of the use of `DAGOpNode.op` in the default transpiler paths. The sole exception is in `InverseCancellation`, which currently would involve some quite awkward gymnastics for little near-term benefit. The pass should move fully to Rust soon, making it not worth the effort. Most of the tricks here involve using the knowledge that most operations will involve only Rust-space standard gates, and that these cannot be control-flow operations. * Fix `HighLevelSynthesis` fast path --------- Co-authored-by: Matthew Treinish <mtreinish@kortar.org> (cherry picked from commit 0afb06e8a) Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
108 of 114 new or added lines in 15 files covered. (94.74%)
5 existing lines in 3 files now uncovered.66548 of 74004 relevant lines covered (89.92%)
233011.36 hits per line