Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

toffoli-reduction

النجوم٣
التفرعات٠
آخر تحديث٢٠ يونيو ٢٠٢٦ في ٢٣:٤٢

Reduce the Toffoli / T-gate / non-Clifford count of a reversible or quantum circuit — the expensive, magic-state-bound resource that dominates error-corrected runtime. Use this whenever someone wants to "cut the T-count", "lower the Toffoli count", "reduce non-Clifford gates", "need fewer magic states", "my carry uncomputation is half my gates", or improve the gate factor of a qubits×Toffoli score. Covers venting carry-uncompute into measurement+phase fixups, conditional/measured replay so gates only execute on the branch that needs them, fused adders/folds, cross-block algebraic fusion of modular add/negate chains, ancilla-free majority, skipping provably-redundant cleanup, and avoiding full materialization. Fires on informal phrasing ("too many Toffolis", "T-count is my bottleneck", "can I make this uncompute free") and distinguishes emitted vs average-executed gate counts. For lowering the QUBIT/width count instead, use peak-qubit-reduction; this skill owns the GATE axis.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

مستكشف الملفات
3 ملفات
SKILL.md
readonly