Closed dmvjs closed 2 weeks ago
https://github.com/quantastica/quantum-circuit/blob/3c526d60dd6fe9f8e0e27a3ceeff081b66b74abc/lib/qasm_import/QASMParser.js#L1655C1-L1656C1
this shadow declaration of _alt (another one exists 5LOC above it) is confusing and might cause bugs
I fixed this in a local branch
https://github.com/quantastica/quantum-circuit/blob/3c526d60dd6fe9f8e0e27a3ceeff081b66b74abc/lib/qasm_import/QASMParser.js#L1655C1-L1656C1
this shadow declaration of _alt (another one exists 5LOC above it) is confusing and might cause bugs