Quirk icon indicating copy to clipboard operation
Quirk copied to clipboard

Control wires should get pushed when they overlap a wide gate

Open Strilanc opened this issue 9 years ago • 0 comments
trafficstars

Currently, a controlled-not whose control wire crosses over a 2x2 density matrix will not cause a spacer column to be inserted. The result is the wire being in the way of the density matrix display, and possible confusion over whether or not it is conditioning the display.

Extract the logic used to draw the control wires into functions, and re-use those functions to cause spacers to be introduced in this situation.

Strilanc avatar Apr 30 '16 19:04 Strilanc