Closed rossduncan closed 5 years ago
There were two things going on here: Firstly the Hadamard nodes were expecting to have "string" data on them, (should have been "empty" instead,) and also the parsers were missing for "string" data
This graph was made in the graph editor of quanto itself.
The errors were in the qtheory and the parsers, not in the user! Is it working now?
It is working now, thanks. Recently I have been generating .qgraph files from various different sources so I just wanted to emphasise that this particular one was not broken due to a bug in some other tool.
Attempting a rewrite sometimes fails.
To reproduce, load the attached graph into the default zx-stabilizer project. Load the rule "red_to_green", and apply the first match in the forward direction. The rewrite will not be performed and the following stack trace is emitted.
broken.qgraph.zip