custom-noise SKILL.md skillA

custom-noise from qutone/lightstim is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add qutone/lightstim/custom-noise@git:20260902.f3fe164

Pins git:20260902.f3fe164 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
qutone/lightstim
Path
skills/custom-noise/SKILL.md
Versions recorded
5
Latest version
git:20260902.f3fe164, committed Sep 2, 2026
First version recorded
May 14, 2026
Size
5,003 bytes
Repository stars
50
License
a license file GitHub does not identify

Configure noise models and error rates for LightStim experiments. Use this skill whenever the user asks about noise models, setting physical error rates, choosing between circuit_level / circuit_level_with_idling / phenomenological / code_capacity / XZ_biased noise, biased noise for neutral atom or trapped ion hardware, or wants to understand how noise is applied to a circuit. Also trigger when the user asks "what p should I use?" or "how do I add noise to my circuit?".

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Custom Noise Model

LightStim separates circuit construction from noise injection. Build the
noiseless circuit first (via `builder.build_noisy_circuit`), then inject noise
as a post-processing step. The clean circuit remains available in `builder.circuit`.

## The injection API

```python
noisy_circuit = builder.build_noisy_circuit(
    noise_params,         # NoiseConfig instance
    noise_model,          # str — strategy name, see table below
)
# Returns a new stim.Circuit. Does NOT modify builder.circuit in place.
```

## `NoiseConfig` fields

```python
from lightstim.noise.config import NoiseConfig

noise = NoiseConfig(
    p_1q=1e-3,    # Depolarizing after single-qubit gates (H, S, ...)
    p_2q=1e-3,    # Depolarizing after two-qubit gates (CX, CZ, ...)
    p_meas=1e-3,  # Measurement bit-flip probability
    p_reset=1e-3, # State-preparation bit-flip probability
    p_idle=0,     # Placement depends on the selected noise model
    custom_params={},  # Arbitrary extra rates for XZ_biased or custom rules
)
```

Unused fields default to 0. Set only the fields the target noise model uses.

## Noise model strategies

| Strategy | Injects | Relevant params | Use for |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add qutone/lightstim/custom-noise@sha256:cf6772ee967bf3a8

The line at the top of this page pins the label git:20260902.f3fe164, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_l7hzbwgkwqb4wxs6.svg)](https://markdownregistry.com/a/art_l7hzbwgkwqb4wxs6)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between May 14, 2026 and Sep 2, 2026, about one every 28 days.

versioncommittedcommitsizeaudit
git:20260902.f3fe164 latest2026-09-02 f3fe164 5,003 BA view · diff
git:20260902.93b408e2026-09-02 93b408e 5,003 BA view · diff
git:20260526.75df9262026-05-26 75df926 4,274 BA view · diff
git:20260526.5b92aea2026-05-26 5b92aea 4,123 BA view · diff
git:20260514.9fcb9fa2026-05-14 9fcb9fa 2,290 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5003 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

qutone/lightstim · 50 stars · license a license file GitHub does not identify · pushed 2026-10-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_l7hzbwgkwqb4wxs6
GET https://markdownregistry.com/api/v1/resolve?ref=qutone/lightstim/custom-noise
GET https://markdownregistry.com/api/v1/blob/cf6772ee967bf3a800682f002c0b41dc8314cda9310ac06f565d7af91f6c817a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from qutone/lightstim

skills SKILL.md skill
qutone/lightstim · skills/SKILL.md
git:20260603.dbc60ac · audit C · 50 stars
builder-tracker-api SKILL.md skill
qutone/lightstim · skills/builder-tracker-api/SKILL.md · Direct use of CircuitBuilder and SyndromeTracker to construct a custom QEC circuit from scratch — without a pre-built…
git:20260526.75df926 · audit A · 50 stars
extend-new-code SKILL.md skill
qutone/lightstim · skills/extend-new-code/SKILL.md · Add a new QEC code to LightStim by implementing QECPatch and a syndrome extraction block. Use this skill whenever the…
git:20260526.75df926 · audit A · 50 stars
extend-new-decoder SKILL.md skill
qutone/lightstim · skills/extend-new-decoder/SKILL.md · Integrate a new decoder into LightStim's decoder backend so it works with `SimulationPipeline` and `DecoderConfig`. Use…
git:20260808.cfe5e96 · audit A · 50 stars
gotchas SKILL.md skill
qutone/lightstim · skills/gotchas/SKILL.md · LightStim known pitfalls, bugs, and non-obvious API contracts. Read this whenever a build produces unexpected results…
git:20260526.26119eb · audit A · 50 stars
logical-coupler-design SKILL.md skill
qutone/lightstim · skills/logical-coupler-design/SKILL.md · Design a new LogicalCouplerProtocol in LightStim to implement inter-patch joint measurements (lattice surgery). Use…
git:20260526.75df926 · audit A · 50 stars
notebook-workflow SKILL.md skill
qutone/lightstim · skills/notebook-workflow/SKILL.md
git:20260526.04c57b9 · audit C · 50 stars
simulate-decode SKILL.md skill
qutone/lightstim · skills/simulate-decode/SKILL.md · Run a LightStim circuit through the simulation pipeline and extract logical error rates. Use this skill whenever the…
git:20260527.7059914 · audit A · 50 stars

Every file in qutone/lightstim

Browse by kind, by grade A, or by owner.