abdullahkhalids / stac

A python library to play with stabilizer codes
GNU General Public License v3.0
16 stars 3 forks source link

stac

Stac allows you to generate and simulate quantum stabilizer codes. It comes with its own quantum circuit library that has been designed to make the process of algorithmically creating quantum error-correction circuits and fault-tolerence circuits as painless as possible.

Stac also includes a stabilizer code library. If you give it a generator matrix of any stabilizer code, you construct a code object. Code objects include algorithms for generating

for the code, among other useful functions.

For these circuits or any other circuits you build using the circuit library, you can

One of the goals of stac (not there yet) is to compute the fault-tolerance thresholds of simple stabilizer codes in "one-click".

Getting started

To install stac, run

pip install git+https://github.com/abdullahkhalids/stac

Please refer to my mini-book which illustrates basic usage in action.

A short guide on more advanced Stac circuits is available here.

Development version

Stac is currently undergoing a complete overwrite to make it suitable for constructing fault-tolerant circuits. The goals and progress

Credits

Thanks for Unitary Fund for funding part of the development of this project. Unitary Fund