Write and . The initial Hadamard gates prepare in the search register and in the final quantum ancilla. Since the Pauli X gate satisfies , the Boolean quantum oracle acts by quantum phase kickback:For a single marked entry this is the marked-state phase oracle on the search register. The ancilla stays separate and unchanged throughout.
The Grover diffusion operator is , because . The PDF circuit places one diffusion after each oracle call, so the state before measurement isIn the supplied amplitude amplification theorem, take and . Their overlap has modulus , so the Grover rotation angle is . A quantum measurement in the computational basis therefore givesThe inverse sine here is applied to the overlap of the two different states. The converted TeX's self-overlap in the angle definition is a transcription error; the original PDF has .
If there is no marked entry, the Boolean quantum oracle is the identity. The uniform superposition state is a positive eigenstate of the Grover diffusion operator:Thus every iteration leaves the full state unchanged. The measured search bits have the uniform distributionOnly the first qubits are measured in the printed circuit. If the untouched ancilla were also measured in the computational basis, its bit would be an independent fair bit, giving probability for each joint outcome.
Use a verified Grover promise test. Since , . ChooseThis is a nearest integer to , so . Run the Grover search algorithm for iterations and measure the candidate . Make one further oracle query with input and measure the answer bit . Declare that a marked entry exists exactly when this bit is one.
In the zero case the verification always returns zero, so the decision is correct with certainty. In the single-marked-entry case, verification returns one exactly when the candidate is , andFinally, on gives . HenceThe verification query is necessary for this decision rule: an unverified search-register label does not itself say whether it is marked.
The Pauli Z gate exchanges the two Hadamard basis states: and . Multiplying the displayed gate by the Pauli X gate givesOn the other hand,The two operators agree, provingAlso in the J gate convention. Keeping this angle sign explicit avoids confusing the two conventions for equatorial qubit measurements.
Prepare the three-vertex graph-state wire: start all three qubits in and apply Controlled-Z gates on edges and . In this paper's equatorial qubit measurement convention the basis vectors can be chosen asThe given identity means that measuring an input qubit at angle , with outcome , teleports its state to the next qubit as . Each outcome has probability , since is unitary. This is one-bit teleportation with a known Pauli frame.
Measure vertex 1 at angle and record . Then measure vertex 2 at angle , taken modulo , and record . The controlled-Z on edge commutes with the first measurement, so the two teleportation steps can be applied successively. The remaining normalized state isFor this is . For , the relation proved above gives . Thus in every branch the remaining state isThe scalar is a global phase and has no effect on probabilities.
Finally measure vertex 3 in the computational basis, obtaining , and reportThe byproduct changes only computational-basis phases; changes the output label by . Hence the corrected bit has exactly the ideal circuit's probability distribution in every branch, not merely on average. The procedure uses only single-qubit measurements after preparing the graph state, adaptive classical angle selection, and deterministic classical output processing.
First expand the result of the first gate in the computational basis:Using and , this becomesApply and to obtainFor example, its quantum measurement in the computational basis has probabilities and , obtained by squaring the two basis amplitudes.
Use two-bit remote state preparation on a graph-state path. Alice performs the first two measurements from the preceding measurement-based quantum computation: angle on her first qubit, giving , then angle on her second, giving . She sends the pair to Bob, using exactly two classical communication bits.
The branch calculation already gives Bob's state as , where . Bob applies first and second, so his correction operator is . Since ,ThusThe final state is exactly the desired state up to the irrelevant global phase. No postselection is used: all four measurement branches have probability and are corrected. Bob does not need the angles themselves; Alice uses them in her measurement choices, while the two bits specify his Pauli correction.
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.
Put and label the binary digits of by , with . The Walsh-Hadamard transform prepares the uniform quantum superposition . Applying the phase gate to the qubit for digit multiplies its basis amplitude by . Taking their product givesWith the most significant qubit written first, this provesEach power is implemented by repeated uses of the supplied gate. The total is uses. This realizes dyadic phase-gate identification without needing an unknown controlled gate or asserting a gate-call cost polynomial in .
The inverse quantum Fourier transform in the original PDF has matrix elements multiplying . The converted TeX incorrectly repeats in the bra; using the actual PDF operator,If , every summand of the inner sum is one, so it equals . If , let . Then and , and the finite geometric series gives . This is orthogonality of roots of unity. HenceA quantum measurement in the computational basis consequently returns the integer with probability one.
The eigenvalue on of every power is one, and its eigenvalue on is . ThusIf is odd, its greatest common divisor with is one. Divisibility can therefore be cancelled, givingIn particular, the powers with are distinct. Each is the phase gate with , and multiplication by is a permutation of these residue classes. Equivalently, for any desired , choose , where is the modular inverse. Then , using the representative and repeated forward applications only. Thus the powers generate the entire set. Once the preceding identification procedure has found , these powers can also be labelled and selected classically.
Write the normalized qubit as , with . Only the amplitude changes between the two phase gates, soSince ,The phase-gate discretization error is uniform over all input states; its exact operator norm is . To choose an approximating gate, round to the nearest integer and reduce it modulo . Taking the shortest circular angle difference gives , and hence a uniform state-vector error at most . The circular choice handles the identified endpoints and correctly.
Articles by others on the same topic
There are currently no matching articles.