Quantum and CircuitsReading edition

Affine output adjustment is an actual circuit

Reading tools
Reading libraryFind statementsInspect Lean
Switch work

Saved reading

Read side by side

Verification statements describe the retained edition and its recorded evidence. This HTML presentation adds no Lean execution or proof review.

Start reading

Resources & source

Original TeX with line links · Download TeX

The wording and mathematics follow the retained manuscript. This reading format does not add a proof review or extend Lean coverage.

Skip contents and start reading

Affine output adjustment is an actual circuit

THE OPTIMIZATION DOES NOT ASSUME A CLEAN NORMAL FORM For every degree-one Boolean function \(g\), the source constructs a restored implementation with zero Toffolis.

A constant is computed by the empty circuit or target NOT. An input variable uses a legal input-to-target CNOT. XOR is implemented by concatenating restored circuits. Induction on a degree-one certificate gives the general construction.

If \(c\) restores \(f\) and \(d\) restores \(g\), their concatenation restores \(f{\mathbin{\oplus}} g\). For the affine implementation,

\[ {\operatorname{tc}}(c\mathbin{++}d)={\operatorname{tc}}(c). \]

The unoptimized bound applies to every affine \(g\) at the same \(T\). Define \(\beta^*(f)\) as the least upper bound of those \(\beta(f{\mathbin{\oplus}} g)\) values. Existence follows from their common upper bound \(n\).

Therefore

\[ \boxed{2\beta^*(f)\le T+3,\qquad \beta(f)\le\beta^*(f)\le n.} \]

The final output at initial target zero is exactly \(f\), so the forward coordinate theorem also gives \({\operatorname{DegreeLE}}(T+1,f)\). The joint endpoint combines these two proved conclusions.

Nonvacuity: two-input AND

Every degree-one function on two inputs has zero XOR over the four corners of the input square. AND has corner XOR one. Thus AND has no degree-one certificate.

A degree-one complete safe cover for AND would include a detector of its sole accepting input. Safety forces that detector to be AND itself, contradicting the corner-parity lemma. The degree-two monomial is a valid detector. The source proves

\[ \beta(\mathrm{AND}_2)=\beta^*(\mathrm{AND}_2)=2 \]

and therefore every restored implementation of AND\(_2\) uses at least one Toffoli.

This is a theorem about all implementations in the model, not an exhaustive search through circuits. It does not formalize the general \(k\)-input monomial optimum.

Source and conversion record

Source SHA-256: 36eb83548efd74b42264ab400e359c2de20c701b436b132b8b2859312d2dcdba

Unsupported prose commands stop the build. The mathematical expression sequence is checked against the source, with manuscript macros expanded for display.

Conversion records

Notation in Quantum and Circuits

Look up a symbol without leaving this chapter. Select text before opening help to search for it.

Search this work’s notation.

    Symbols can have different meanings in different passages. Read each result in its own context.

    Open the full notation index