Fixed a regression bug due to direct Staq IR translation
I was making sure that we only handle the case whereby there is only one qreg but didn't handle the case where the buffer name is different from the default "q".
Tested by: running qcor tests.
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
Please register or sign in to comment