Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ir2dag.py Parsing Issue #3

Open
evmckinney9 opened this issue Oct 5, 2021 · 1 comment
Open

ir2dag.py Parsing Issue #3

evmckinney9 opened this issue Oct 5, 2021 · 1 comment

Comments

@evmckinney9
Copy link

Currently ScaffCC is generating spaces in gateset2 gates that TriQ is unable to parse.
image

I'm not sure if the proper spacing needs to be changed in ScaffCC or if the parsing should just be updated here.
image

evmckinney9 added a commit to evmckinney9/TriQ that referenced this issue Oct 5, 2021
@evmckinney9
Copy link
Author

You can another parsing error if your scaffold code has something like a measure register*syn = MeasZ(*a); which gives QASM measure a -> syn; and you'll confuse TriQ qbit = line.split()[1].split('[')[1].split(']')[0] IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant