Number the wires from top to bottom as . The first two controlled-NOT gates encode into the bit-flip repetition codeon data wires . The lower two zero ancillas store an error syndrome. Reading the PDF's four detection CNOTs givesThe syndrome and the data qubit to be flipped are thereforeThis is coherent syndrome extraction for the three-qubit repetition code. The recovery Toffoli gates implement these conditions; the intervening Pauli X gates temporarily turn zero-valued controls into one-valued controls and then restore the syndrome wires. Finally, inverse encoding returns the logical state to the top wire and resets data wires 2 and 3 to zero.
For the specified error , the encoded data becomes . Both terms have syndrome , so detection factors out without revealing the logical amplitudes. Recovery flips data wire 1, restoring , and decoding yieldsThe lower four wires need not all return to zero: their syndrome record is independent of the logical state, which is what the correction requirement needs.
Use the Hadamard gate identity on the first data wire. The branch is corrected as above and has syndrome . The branch changes the encoded state to , with syndrome . No bit-flip recovery is triggered, and decoding leaves on the top wire.
By linearity of the full quantum circuit, its output for is thereforewhere the four-bit strings are ordered as wires . The two syndrome states are orthogonal. Taking their partial trace removes the cross terms, so the reduced density matrix isThe top output undergoes a completely dephasing channel in the computational basis. The bit-flip component is corrected, but the undetected phase component destroys logical coherence after the syndrome is ignored.
The point needing proof is that a corrected error's residual state cannot retain dependence on the logical input. Let denote the complete linear map from the logical input to all five output wires for error . Protection gives and . Applying protection to and comparing its two top-qubit components yieldsso . Denote the common vector by . Linearity then gives for every input.
The encoding and all operations surrounding the error are fixed. Replacing the error by consequently replaces the overall map by , givingBecause and the surrounding circuit are unitary, the output is normalized for every normalized input; the residual vector in parentheses thus has norm one. This proves linearity of coherent quantum error correction and hence protection against . Orthogonality of and is not required for this proof.
Use phase-flip protection by Hadamard conjugation. Insert a Hadamard gate on each of the three data wires immediately after the two encoding CNOTs and before the physical error. Insert another Hadamard on each data wire immediately after the error and before syndrome detection. Leave the two syndrome ancillas and every detection, recovery and decoding gate unchanged.
The first layer changes the encoded state to , the three-qubit phase-flip repetition code. The two layers surrounding the error turn the effective error seen by the old circuit intoSince and , the four physical cases become respectively . The original coherent syndrome and recovery circuit corrects all four, as its syndrome table shows. Thus two Hadamard layers on the three data wires, straddling the error, give the required phase-flip protection. The final top wire is the original , not , because the second layer returns the data to the original coding basis before recovery and decoding.
Articles by others on the same topic
There are currently no matching articles.