RoZES READMERobust ZX-Calculus Extension for String-diagrams (RoZES) is a VSCode extension designed to robustly render the ZX-calculus graphically as string diagrams. The visualization is achieved via chyp2, TensorRocq, and VyZX. Presently, RoZES renders diagrams by parsing JSON messages sent via VSRocq and triggered with Ltac2 or with a tactic such as zxsviz in a Rocq file. FeaturesRoZES runs live while stepping through Rocq proofs: the String Diagram panel displays the current diagram state as equations with an '=' sign between them. The user can scroll up and down on either side of the diagram, as well as zoom in and out using pinch-to-zoom. There is full support for rendering symmetric monoidal diagrams. RequirementsVSCode ExtensionsVSRocq can be installed easily through the instructions on its page. Rocq SetupFor now, this extension requires a
Known IssuesIn the future, support for non-symmetric monoidal diagrams (e.g., cups and caps) will be added, and chyp2 layout elements will be polished and made more user-friendly (some diagrams are very tall). Release Notes0.0.1Initial release Related Projects-SQIR, small quantum intermediate representation LicenseMIT |