zxcalc / quantomatic

Quantomatic is a tool for doing automated graph rewriting.
http://quantomatic.github.io
151 stars 22 forks source link

Feature request: Automatically center hadamard nodes between its neighbours #241

Open jvdwetering opened 6 years ago

jvdwetering commented 6 years ago

When considering Hadamard nodes as gates acting between nodes I often find myself wanting to have the hadamard node living on the line that connects the nodes: hadamard node

This could maybe be done with some kind of hotkey, so that the transformation is applied to the selected nodes (or all if nothing is selected). The types of nodes to which this transformation applies could be specified in the project file.