Code Monkey home page Code Monkey logo

zxlive's Introduction

The ZX-calculus gives us a handy way to represent and work with quantum computations. ZXLive is an interactive tool for working with ZX. Draw graphs or load circuits and apply ZX rules. Intended for experimenting, building proofs, helping to write papers, showing off, or simply learning about ZX and quantum computing. It is powered by the pyzx open source library under the hood. The documentation is available at https://zxlive.readthedocs.io/

This project is in a pretty early stage, with lots more to come. Have a look at the Issue Tracker to see what's in the pipeline.

Instructions

To install from source, you need Python >= 3.9 and pip. If you have those, just run:

git clone https://github.com/Quantomatic/zxlive.git
cd zxlive
pip install .

Then, you can run ZXLive by typing zxlive.

Testing

To ensure the quality and correctness of this project, several testing and linting tools are utilized. Below are the steps to run the tests and checks:

1. Static Type Checks with mypy

You can run mypy to perform static type checking:

mypy zxlive

2. Unit Tests with pytest

Execute the test suite using pytest to ensure all tests pass:

pytest

Documentation

This project uses Sphinx to build a ReadTheDocs page. In addition, it uses the MyST preprocessor to allow us to write documentation in a Markdown-like format rather than Sphinx's native rich structured text format.

The documentation can be built with

cd doc
make html

zxlive's People

Contributors

aborgna avatar aerylia avatar akissinger avatar benjaminrodatz avatar boldar99 avatar codsilla avatar dlyongemallo avatar dna386 avatar econ01 avatar giodefelice avatar jvdwetering avatar king-p3nguin avatar kstau avatar lia-approves avatar mark-koch avatar pandey-tushar avatar razinshaikh avatar tuomas56 avatar valleyofblackpanther avatar wlcsm avatar y-richie-y avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.