Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

reversible-circuit-validation

Estrellas3
Forks0
Actualizado13 de junio de 2026 a las 20:50

Validate and debug the CORRECTNESS of a reversible or quantum circuit — not its size. Use this whenever a circuit "gives wrong answers on some inputs", "ancilla aren't returning to zero / uncomputation is leaving garbage", there are "phase errors", "it passes my basis-state test but I'm not sure it's right in superposition", or someone needs to test a reversible adder/multiplier/modular-arithmetic block before trusting it inside Shor's. Covers the classical/phase/ancilla (cls/pha/anc) three-channel decomposition, differential testing against a trusted reference on RANDOM inputs, the forward-inverse identity check, telling a designed approximation failure apart from a real bug, and localizing the first broken op. Fires on informal phrasing ("my uncompute is dirty", "results get corrupted when I compose it", "is 0.3% failure expected?"). For making a correct circuit SMALLER use peak-qubit-reduction (qubits) or toffoli-reduction (gates); this skill owns CORRECTNESS.

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

Explorador de archivos
2 archivos
SKILL.md
readonly