Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

reversible-circuit-validation

스타3
포크0
업데이트2026년 6월 13일 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.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

파일 탐색기
2 개 파일
SKILL.md
readonly