automation

tqec

Design automation software tools for Topological Quantum Error Correction
390 stars151 forksPythonUpdated 10/21/2026100% free · open source
What it does

tqec lets you automatically generate and simulate topological quantum error‑correction circuits (e.g., surface‑code layouts) from a high‑level description.

When to use it
  • •You need to prototype a surface‑code or color‑code circuit for a new quantum hardware architecture.
  • •You want to benchmark logical error rates of different code distances without writing low‑level QASM by hand.
  • •Your team is exploring error‑correction schedules and needs a reproducible, scriptable way to generate the corresponding circuits.
Ready-to-paste prompt
tqec generate my_surface.yaml && tqec simulate circuit.qasm --shots 50000 --output results.json
Heads up: tqec depends on the Rust‑based `stim` simulator; you must have a working Rust toolchain (`cargo`) installed the first time you install the package, otherwise `pip install tqec` will fail while building `stim`.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/tqec && curl -fsSL https://workflowstacks.com/api/skills/tqec/claude-skill -o ~/.claude/skills/tqec/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

What's inside — free to inspect

No purchase needed

Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.

12
top-level files
7
folders
210.8M
source size
Apache-2.0
license
Key files
.pre-commit-config.yaml
README.md
File tree
.github/
assets/
benchmarks/
docs/
paper/
src/
tests/
_typos.toml
.gitignore
.pre-commit-config.yaml
CHANGELOG.md
citation.cff
CONTRIBUTING.md
ETHICAL_NOTICE.md
LICENSE
NOTICE
pyproject.toml
README.md
uv.lock
Quick Actions
Details
Creator
tqec
Language
Python
Category
automation
Published
10/19/2023

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/tqec.svg)](https://workflowstacks.com/skills/tqec?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.