push
github
Improve error message on bad OpenQASM 3 `basis_gates` argument (#12945) (#12946) If the user requests a basis-gate name that cannot be used (like a keyword), there is nothing sensible we can output for a circuit that contains one of those operations. The exporter was already correctly erroring in these cases, but the error message was quite opaque. (cherry picked from commit fb9c0dbf8) Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
4 of 4 new or added lines in 1 file covered. (100.0%)
16 existing lines in 3 files now uncovered.66723 of 74183 relevant lines covered (89.94%)
232073.41 hits per line