Giter VIP home page Giter VIP logo

pauliopt's Introduction

PauliOpt: A Python library to simplify quantum circuits.

Generic badge Checked with Mypy PyPI version shields.io PyPI status Generic badge

PauliOpt is a Python library to simplify quantum circuits composed of phase and Pauli gadgets.

The documentation for this library was generated with pdoc. Jupyter notebooks exemplifying various aspects of the library are available in the notebooks folder.

Please Note: This software library is in a pre-alpha development stage. It is not currently suitable for use by the public.

You can install the library with pip:

pip install pauliopt

If you already have the library installed and would like the latest version, you can also upgrade with pip:

pip install --upgrade pauliopt

Optimization of Circuits of Mixed ZX Phase Gadgets

Step 1. Create a circuit of Z and X phase gadgets.

Step 2. Select the desired qubit topology.

Step 3. Instantiate an optimizer for the desired circuit and topology.

Step 4. Run a few iterations of simulated annealing and look at the simplified circuit.

Unit tests

To run the unit tests, install the additional requirements using our requirements.txt (recommended python: 3.9), then to launch then, run:

python -m unittest discover -s ./tests/ -p "test_*.py"

pauliopt's People

Contributors

sg495 avatar y-richie-y avatar aerylia avatar daehiff 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.