openqasm / qe-compiler

An MLIR based compiler dynamic circuit compiler for real-time control systems supporting OpenQASM 3
Other
38 stars 12 forks source link

Raise `OpenQASM3ParseFailure` instead of `QSSCompilerEOFFailure` #305

Closed SooluThomas closed 3 months ago

SooluThomas commented 3 months ago

Summary

This PR adds tests for the updates made in https://github.com/openqasm/qe-qasm/pull/34. This update is made so that the compiler doesn't fail assertion, but instead raises appropriate errors