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

Fix default-only switch statements #324

Closed mbhealy closed 2 months ago

mbhealy commented 2 months ago

This PR fixes a problem in QUIRGenQasm3Visitor that was causing segmentation faults when verifying switch statements that contain only a default region.