Skip to main content
Run any Skill in Manus
with one click

peak-qubit-reduction

Stars3
Forks0
UpdatedJune 20, 2026 at 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

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly