push
github
Deduplicate SliceOrInt (#11844) (#11853) * Deduplicate SliceOrInt After doing some post-merge analysis on the impact of #11842 it turns out the enum being modified in that PR was duplicated in the rust code unnecessarily. The same enum was already defined in the euler_one_qubit_decomposer module for it's custom 1 qubit gate sequence return type. This commit updates the code so it just use the one defined in the circuit data module that has the fix from #11842 applied already. * Move enum to common location (cherry picked from commit 802ac5133) Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
58890 of 65970 relevant lines covered (89.27%)
183047.45 hits per line