Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

peak-qubit-reduction

Étoiles3
Forks0
Mis à jour20 juin 2026 à 23:42

Reduce the peak (maximum simultaneous) qubit count — the "width" — of a reversible or quantum circuit. Use this whenever a circuit uses too many qubits/ancilla/scratch, when optimizing circuit width or the qubits-times-gates score, when an arithmetic or Shor-style circuit needs to fit a smaller machine, or when someone asks how to "shave qubits", "lower the qubit count", "reduce ancilla", "free scratch earlier", or "trade gates for qubits". Trigger even if the user describes the goal informally (e.g. "this adder needs way fewer wires", "where's all my space going", "can I reuse that register") without naming peak width. Provides a left-to-right timeline analysis: find the tallest moment, inventory the qubits alive there, identify whether the peak is a single binder or a multi-phase plateau, and brainstorm uncompute-early/recompute-later holes, live-range shortening, truncation, transcript compression, and coordinated co-binder reductions to cut it.

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

Explorateur de fichiers
3 fichiers
SKILL.md
readonly