Quantum and CircuitsReading edition

The output direction can move away from the target

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 output direction can move away from the target

Two data/target wires already suffice. A SWAP is implemented by three legal CNOTs. Let \(P\) be that SWAP, and let \(Q\) be NOT on the data wire followed by another SWAP. Then

\[ (x,y)\xrightarrow{P}(y,x) \xrightarrow{Q}(x,1+y). \]

The whole circuit is a restored constant-one oracle with zero Toffolis. At the cut after the first SWAP,

\[ A=P(x,0)=(0,x),\qquad B=Q^{-1}(x,0)=(1,x), \qquad H=(1,0). \]

The target discrepancy is zero on every input, while the data discrepancy is one on every input. Reading only the target at this cut would reject the constant-one function.

A moved target direction
\(x\)\(A\)\(B\)\(H\)named target discrepancy
0\((0,0)\)\((1,0)\)\((1,0)\)0
1\((0,1)\)\((1,1)\)\((1,0)\)0

This example uses the target as a control during each SWAP. That behavior is expressly allowed by the model. Its relevance is logical: completeness belongs to the full register comparison, not to an arbitrarily chosen wire. The coordinate packets remain perfectly safe even though the detection direction has moved.

Constructive formal counterexample to target-only reconstruction: outputActiveOracle_restores, moved_discrepancy_data, moved_discrepancy_target.

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