TriQ
TriQ copied to clipboard
ir2dag.py Parsing Issue
Currently ScaffCC is generating spaces in gateset2 gates that TriQ is unable to parse.
I'm not sure if the proper spacing needs to be changed in ScaffCC or if the parsing should just be updated here.
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