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

Reopened: Failed to parse floating-point numbers in scientific notation form (OpenQASM) #25

Closed DevelopDaily closed 3 years ago

DevelopDaily commented 3 years ago

The major problem of parsing the floating point numbers was fixed recently, but there is still an outstanding issue.

A number like 3.0e-3 works fine now, but 3e-3 will crash the system.

meamy commented 3 years ago

I've fixed this in the latest commit.