Skip to main content
在 Manus 中运行任何 Skill
一键导入

peak-qubit-reduction

星标3
分支0
更新时间2026年6月20日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
3 个文件
SKILL.md
readonly