Conversation
|
Hi, thanks for the contribution. I have few questions before merging this: Where in Stim is this used exactly and does the name also come from Stim? Does it represent the exact entity as the regular target symbol? (I have never seen this being used in a publication so far) |
|
In stim the symbol is used to visualize a controlled-Y operation. In that sense, it behaves similiar to the controlled-X operation. In the PR, the symbol is implemented exactly the same as the |
|
I see, sounds good. Currently, But in any case, if the user explicitly changes the fill, the fill should be applied as provided. Also, I feel like the function should be called |
|
One note about the rendering: In Stim, the diagram is positioned such that the center of the circumcircle of the triangle sits on the wire. In contrast, with your implementation the triangle's center (measured from the the top edge to the bottom tip) sits on the wire. I'm not quite sure about it but on first sight I like your version more. |

Adds a
targygate that behaves similiar totargbut is visualized as a gray triangle.Example snippet:
The visualisation is inspired by Stim.