pyZX + Qentiana = zxQentiana
Browser based tool for resource estimating quantum circuits (processed by pyZX). It is a Pyodide compilation of Qentiana (from OpenSurgery) and PyZX. The current version can:
- Visualise zx diagrams
- (Manipulate zx diagrams)
- Resource estimate with different scenarios (error rate, cycle time)
- Plot comparisons between estimation scenarios
- (Download CSV data)
Each individual project can be found on their respective github repositories:
The calculations are performed inside the browser without the need to install Python or use a server that runs Python. This is enabled by the Pyodide package that brings the python scientific stack to the browser see Github.
For compilation and development the following packages are required:
- python 3
- pyodide (will be downloaded by the Makefile)
Pyodide is used in two forms:
- source code from Github
- built version that is automatically downloade by our Makefile
Edit PYODIDE_PATH from the Makefile.globals.mk to the path where the git repo was cloned. Prefer absolute path.
The Makefile automatically downloads the remaining dependencies and creates the folder 'website_files' that needs to be hostet on a website:
Testing the website
A small script is provided to test the website locally. With the following command a simple webserver is created.
The website can be accessed locally through the browser at: