Qecsim
qecsim is a Python 3 package for simulating quantum error correction using stabilizer codes.
Install / Use
/learn @qecsim/QecsimREADME
qecsim
.. image:: https://img.shields.io/badge/docs-stable-blue.svg :target: https://qecsim.github.io/ :alt: Documentation
.. image:: https://github.com/qecsim/qecsim/workflows/CI/badge.svg?branch=master :target: https://github.com/qecsim/qecsim/actions?workflow=CI :alt: CI Status
.. image:: https://codecov.io/gh/qecsim/qecsim/branch/master/graph/badge.svg?token=BH80LCIYBZ :target: https://codecov.io/gh/qecsim/qecsim :alt: Coverage
.. image:: https://img.shields.io/pypi/v/qecsim :target: https://pypi.org/project/qecsim/ :alt: PyPI
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_:
.. code-block:: text
$ pip install -U qecsim
.. _pip: https://pip.pypa.io/en/stable/quickstart/
Usage
CLI
.. code-block:: text
$ 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
.. code-block:: text
>>> 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.
License / Citing
----------------
qecsim is released under the BSD 3-Clause license. If you use qecsim in your
research, please see the `qecsim documentation`_ for citing details.
.. _qecsim documentation: https://qecsim.github.io/
Links
-----
* Source code: https://github.com/qecsim/qecsim
* Documentation: https://qecsim.github.io/
* Issue tracker: https://github.com/qecsim/qecsim/issues
* Releases: https://pypi.org/project/qecsim/
* Contact: qecsim@gmail.com
----
Copyright 2016 - 2021, David K. Tuckett.
Related Skills
node-connect
340.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
84.1kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
84.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
340.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
