Loading
Fixed a bug in ScopedSymbolTable::invalidate_qubit_extracts
Must check the optional return before trying to deref.
This shows up in one of the demos whereby the QASM3 source only contains a kernel **definition** and the size of qreg argument is unknown.
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>