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%)
13 existing lines in 2 files now uncovered.66727 of 74183 relevant lines covered (89.95%)
229049.38 hits per line