Phase-corrected exchange network for a CNOT gate

ID: phase-corrected-exchange-network-for-a-cnot-gate

With the conventional square root of the SWAP gate, the S gate, and operators acting rightmost first, . Therefore . Appending changes the zero-controlled flip into a one-controlled flip, and removes the control-dependent phase. This proves the displayed exact CNOT gate identity. Both the exchange branch and the phase gate square-root convention matter; changing either requires recalculating the correction.

New to topics? Read the docs here!