zxcalc / zxlive

A graphical tool for the ZX calculus
Apache License 2.0
49 stars 19 forks source link

Easy way to add parts of quantum circuits #178

Closed jvdwetering closed 2 months ago

jvdwetering commented 10 months ago

I think we should have an easy way to import a quantum circuit into ZXLive. For instance, right now if I want to make a cnot I have to laboriously add a z node, an x node, and then connect them, and also connect them to neighbours. Some possible suggestions for what we can do to make it easier:

RazinShaikh commented 10 months ago

There is now qasm circuit input text window but it would more useful to have the widgets/patterns in the sidebar. A user can have a folder called 'widgets' and zxlive can automatically load a list of graphs from there in the sidebar.

RazinShaikh commented 2 months ago

I am closing this because the suggestions in this issue have either been implemented or split into their own issues in #296, #311, or #318