Skip to content
Back to skills

Circuit

ASecurity

"Guides agents building and editing QuantumCircuit objects,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
devopsgoapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill circuit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Circuit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Circuit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-circuit/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-circuit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: circuit
description: "Guides agents building and editing QuantumCircuit objects,
  registers, bits, gates, control flow, measurements, resets, and
  circuit-library compositions."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Qiskit circuit workflows

Use this sub-skill when the task is about constructing or editing quantum circuits with `qiskit.circuit`: `QuantumCircuit`, registers, bits, parameters, gate composition, control flow, measurements, resets, and circuit-library building blocks.

## Read next

- `references/workflows.md` for build, compose, control-flow, and circuit-library recipes.
- `references/troubleshooting.md` for `CircuitError`, parameter binding, and control-flow mistakes.
- `../../references/module-map.md` for the top-level package boundaries.
- `../../scripts/check_qiskit_environment.py --sections core` for a source-free circuit sanity check.

## Include here

- Circuit construction and mutation with `QuantumCircuit`.
- Register and bit handling with `QuantumRegister`, `ClassicalRegister`, `AncillaRegister`, `Qubit`, and `Clbit`.
- Gate application, inversion, control, append/compose, and circuit-library helpers.
- Classical control-flow builders and conditions on circuit internals.
- Measurement, reset, barrier, and lightweight circuit introspection.

## Exclude or route elsewhere

- Backend-targeted compilation, `Target`, `CouplingMap`, and pass-manager workflows belong in `../transpiler/SKILL.md`.
- Primitive execution, `Sampler`, `Estimator`, and result containers belong in `../primitives/SKILL.md`.
- OpenQASM/QPY import-export belongs in `../serialization/SKILL.md`.
- State/operator mathematics belongs in `../quantum-info/SKILL.md`.
- Drawing output formats and plot styling belong in `../visualization/SKILL.md`.

## Default route

If the user has not yet built a valid abstract circuit, start here before moving to transpilation or execution. A good first answer is usually a minimal `QuantumCircuit` example and then a circuit-specific recipe from the workflows reference.

## What to remember

- Circuit methods often mutate in place unless the API explicitly says otherwise.
- `measure_all()` creates or reuses a classical register; `remove_final_measurements()` is useful before operator/state analysis or transpilation experiments.
- Control-flow objects carry their own classical-resource constraints. A condition that fits one circuit may not fit another.
- Circuit composition and library gates are usually more useful than manually editing low-level instruction tuples.

Files in this skill

  • SKILL.md2.5 KB
  • references/troubleshooting.md2 KB
  • references/workflows.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.