Manuscript Oai279-A@1 · Oai279-A.tex · lemma · a1abc73f

Lemma: The gate ledger

Stage 6: the explicit circuit for the frozen input › Exact resources · lines 934–960 · proof included or linked

Oai279-A@1#lem:gatecount

Back to manuscript

The circuit contains exactly

Its total gate count is , with no intermediate measurements, no retries, and three scratch qubits returned to zero.

Proof. Each row uses NOTs, six Toffolis, and CNOTs. The table gives

Thus the total is

Scratch restoration follows from Lemma lem:row. The gate list has fixed length, independent of the input.

Displayed formulas in this passage

  • unlabeled · line 937

  • unlabeled · line 949

  • unlabeled · line 955