qecsim
qecsim is a Python 3 package for simulating quantum error correction using stabilizer codes.
It provides access to all features via a command-line interface. It can also be used as a library via the fully-documented API. It includes many common codes, error models and decoders, and can be extended with additional components.
Installation
Install and upgrade using pip:
$ pip install -U qecsim
Usage
CLI
$ qecsim --version
qecsim, version 1.0b9
$ qecsim --help # console script
...
$ python -O -m qecsim --help # module script with Python options e.g. -O for optimize
...
API
>>> import qecsim
>>> qecsim.__version__
'1.0b9'
>>> from qecsim import app
>>> help(app)
...
Extension
qecsim can be extended with additional codes, error models and decoders that integrate into the command-line interface. See https://github.com/qecsim/qecsimext for a basic example.