quantomatic icon indicating copy to clipboard operation
quantomatic copied to clipboard

Allow complicated edge data

Open hmillerbakewell opened this issue 7 years ago • 0 comments

The Hadamard "node" (in normal ZX) is actually used as an edge decoration. We should allow users to be able to specidy what edge decorations are, what their phase group is, and how to display it.

The Hadamard decoration's phase group is Boolean, and it should be blank if False and a yellow box if True. Additionally it needs to be matched on, and have a method for reducing a concatenation of edge decorations down to a singe decoration.

hmillerbakewell avatar Sep 24 '18 12:09 hmillerbakewell