Quantum and CircuitsReading edition

The model: boundary restoration and Boolean degree

Reading tools
Reading libraryFind statementsInspect Lean
Switch work

Saved reading

Read side by side

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

The model: boundary restoration and Boolean degree

A state has logical input wires \(x\), zero-initialized ancillary wires, and a target bit \(y\). A restored oracle is a legal classical circuit satisfying

\[ C(x,0^a,y)=(x,0^a,y+f(x)) \qquad\text{for every }x\text{ and both }y. \]

The input and scratch restoration conditions hold at the boundary. Wires may change internally, and the target may control an intermediate gate. Each primitive gate is an involution:

\[ y\leftarrow y+1,\quad y\leftarrow y+x_i,\quad y\leftarrow y+x_i x_j. \]

In a CNOT the control differs from the target. In a Toffoli all three wires are distinct. These are construction rules, not informal assumptions.

All polynomial arithmetic in the Boolean state model is over \({\mathbb F}_2\), with \(x_i^2=x_i\). Every function has a unique multilinear algebraic normal form. Its degree is the largest support size with a nonzero coefficient; the zero function has mathematical degree \(-1\) in the Python helpers. A formal degree bound uses a natural number, so zero has a degree-zero certificate.

Distinct circuit resources
QuantityMeaning
\(T\)Number of Toffoli gates; NOT and CNOT have zero cost in this quantity
\(L\)Total number of NOT, CNOT, and Toffoli gates
\(M\)Number of binary AND operations in an XOR–AND computation
\(n\)Actual number of input bits, including all variables in a displayed family
\(\dim_K A\)Dimension of a specified linear summary algebra over \(K\)

A bound on one row of this table cannot silently be substituted for a bound on another row. In particular, a computation can have few Toffolis and many CNOTs. An exponentially large ambient algebra can have succinct expressions. Those distinctions explain the projection and gluing examples later.

Source and conversion record

Source SHA-256: 488075fae27e7db2e4bcee68c08f93b659a12536c807e5e419d6e8e166317763

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