softwareQinc / staq

Full-stack quantum processing toolkit
https://iopscience.iop.org/article/10.1088/2058-9565/ab9359/pdf
MIT License
152 stars 28 forks source link

Failed to parse floating-point numbers in scientific notation form (OpenQASM) #24

Closed 1tnguyen closed 3 years ago

1tnguyen commented 3 years ago

When using staq to compile the QFT QASM source from here, it failed to parse floating-point numbers in scientific notation form (e.g. line 474.)

qft.qasm:474:20: expected RPAREN but got ID
qft.qasm:476:21: expected RPAREN but got ID
qft.qasm:478:20: expected RPAREN but got ID
qft.qasm:545:20: expected RPAREN but got ID
meamy commented 3 years ago

Fixed.