Number the three data qubits from top to bottom. It suffices initially to follow a pure input ; linearity will extend the result to every density operator. The first two controlled-NOT gates create . The first layer of Hadamard gates then encodes this as
the three-qubit phase-flip repetition code. Let indicate whether a Pauli Z gate occurred on data qubit during storage. The next layer of Hadamard gates uses and gives
The two initially zero syndrome quantum ancillas receive the adjacent parities. In the diagram's top-to-bottom order, their error syndrome is
Both terms of the logical superposition have these same parities, so the syndrome is independent of . Measuring it reveals no logical-state information.
At the marked position of in the printed circuit, there has already been another layer of Hadamard gates on the data. There is also a layer immediately after . Thus a desired correction in the parity-extraction frame must be implemented as at the actual recovery location, since . Choose the recovery according to
The two patterns on each row share a syndrome because complementing all three bits does not change either parity. For a weight-zero or one error, the recovery removes the entire error in the parity-extraction frame. The remaining state is , and the two final controlled-NOT gates give .
For a weight-two or three error, minimum-weight recovery instead leaves all three bits flipped, giving . The final controlled-NOT gates send this to . Consequently, for every input density operator,
The logical failure is a Pauli X gate after decoding, even though the stored physical errors were Pauli Z gates: exchanges the two encoded codewords. This is the logical failure of the three-qubit phase-flip repetition code.
Take a normalized environment quantum state
The Controlled-Z gate is symmetric between the two qubits, so it can be written with the environment as the controlling system:
Expanding the joint density operator after the interaction gives
In the partial trace, the two off-diagonal environment operators have trace zero, while each diagonal projector has trace one. Hence
Equivalently, the Kraus operators are and , and . This explicit Stinespring dilation describes the system's dephasing by discarding information in the environment. A fresh environment in this state at each storage interval also realizes the memoryless iteration used in part (a).
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 as
The 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 is
For this is . For , the relation proved above gives . Thus in every branch the remaining state is
The scalar is a global phase and has no effect on probabilities.
Finally measure vertex 3 in the computational basis, obtaining , and report
The 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.
Write the normalized qubit as , with . Only the amplitude changes between the two phase gates, so
Since ,
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.
Neither monotonic decrease alone nor equality of the initial spectra guarantees convergence. A nonnegative Lyapunov function can approach a positive limiting value, and the set where can contain trajectories other than the target. Different initial spectra already obstruct exact tracking: unitary time evolution preserves the eigenvalues of each density operator, while two matrices approaching one another in norm must have the same limiting eigenvalues.
Even the spectral obstruction can be absent while the Lyapunov quantum control stalls. Take a qubit with , , and . Both density operators commute with , and the commutator of with has zero diagonal, so . Both states remain constant. They have the identical spectrum , but . Moreover generate the full special unitary Lie algebra , so the failure here is a limitation of this particular feedback law, not a lack of available state-transfer controls.
Quantum teleportation transfers an arbitrary unknown qubit state to a separated receiver while using local operations and classical communication, rather than sending that input qubit. Alice and Bob first share one maximally entangled state of two qubits, such as a Bell pair; a shared spin singlet state is equivalent after a known local unitary operation.
Alice performs a joint Bell-basis measurement on the input qubit and her half of the pair. There are four possible outcomes. Bob's conditional qubit is the input state transformed by a known Pauli operator determined by that outcome. Alice sends the outcome as two classical bits, and Bob applies the inverse Pauli operator. Thus one shared Bell pair and two classical bits, together with local measurement and correction, transmit one unknown qubit exactly. The entangled resource is consumed.
The procedure does not produce a classical description of the unknown amplitudes and does not leave a second copy at Alice, so it respects the no-cloning theorem. Before receiving the classical outcome, Bob's reduced density matrix is , independent of the input; this respects the no-communication theorem. The next part proves the full identity-channel action, including inputs entangled with another system.
Use the BB84 protocol to establish a secret random key, then encrypt the actual message with a one-time pad. Alice chooses independent random bits and independently chooses between the computational orthonormal basis and the diagonal basis , where . She sends one photon or other qubit in each corresponding state. Bob independently chooses one of the two bases for each measurement.
Over an authenticated public classical channel, they announce their bases but not their bit values. They retain only positions where their bases match; absent disturbance these sifted bits agree. They disclose and discard a randomly selected test sample to estimate the error rate. If it is too large they abort. Otherwise they perform information reconciliation and privacy amplification to produce a shared key about which an eavesdropper has negligible information. Authentication is essential: without it, an active attacker can impersonate the two parties. It may use a previously shared short authentication key, subsequently replenished from the new secret key.
The no-cloning theorem prevents an attacker from copying an unknown nonorthogonal state perfectly: preservation of inner products would require , impossible when its modulus is strictly between zero and one. In a simple intercept-and-resend attack, Eve chooses the wrong basis with probability , and then introduces a wrong sifted bit with probability . Thus the test error rate is , and the probability that independent tested bits show no error is . More general attacks are handled by bounding Eve's information from the observed statistics and shortening the reconciled key through privacy amplification.
Finally Alice sends , using a uniform independent key of the message's length exactly once. The one-time pad makes the ciphertext independent of the message. The security claim is secrecy with arbitrarily small failure probability after testing and privacy amplification, not that a finite quantum transmission can never be disturbed or intercepted. The scheme assumes trusted devices and an authenticated classical channel; it does not rely on a computational hardness assumption.
Use one shared pair to measure , and the other to measure . The latter entanglement-assisted nondemolition parity measurement is obtained by applying Hadamard gates to both system qubits before and after the -parity circuit. Since at each site, the two minus signs cancel, giving .
The Bell states have joint eigenvalues
and are therefore distinguished uniquely by the two meter parities. For records and , the combined Kraus operator is
Each is the rank-one projector onto the corresponding Bell state. This is a Bell-state nondemolition measurement: an input Bell state remains exactly that state for every possible local record. The local circuits can be scheduled without communication; the identity of the Bell state is known only when the classical records are brought together. Two parity bits distinguish all four Bell states without disturbing them.
Quantum teleportation transfers the quantum state of an unknown qubit from a sender's carrier to a receiver's carrier. It also transfers correlations with any external reference. It does not determine classical amplitudes or send the original particle.
The standard deterministic protocol consumes one shared maximally entangled Bell pair and two classical bits from Alice to Bob. Alice performs a local Bell-basis measurement on the input and her half of the pair; Bob applies the corresponding local Pauli gate. The classical message is essential: before receiving it, Bob has the outcome-averaged density operator and cannot recover or detect the unknown state. The original input is consumed by the measurement, so quantum teleportation is compatible with the no-cloning theorem.
Write the arbitrary joint pure state of the input and an external reference as
The reference vectors need not be normalized or orthogonal. Share . Label Alice's Bell states by
Projecting onto this Bell basis gives the unnormalized state
Each outcome has probability . Alice sends and Bob applies , reversing the two Pauli gates. The final state is exactly for every outcome. In particular all input entanglement and other correlations with now belong to , while the reference marginal is unchanged. This is teleportation as an identity channel on a reference.
Conditioned on the record, Alice's two measured carriers are in and factor from . Thus no longer retains its original correlations with . There is no second copy, even when the teleported qubit was initially entangled with a larger system.
The equal mixture of and cancels their off-diagonal coherence, leaving the separable quantum state
A trivial LHV model chooses a shared random bit , uniformly zero or one, and prepares both local qubits in . Each party uses the local Born rule for its own chosen spin direction, with independent local random seeds if a deterministic description is desired. This reproduces the entire joint measurement distribution, not merely the -axis correlation.
Since the state has an explicit local hidden-variable theory for these local measurements, it cannot violate the CHSH inequality, by the derivation in part (b). Classical correlation of the shared preparation bit is sufficient; the cancellation of coherence removes the entanglement.
Use five resource qubits, all initially , and prepare the graph state with edges , , , . The labels here identify resource vertices; logical wire 1 travels from vertex 1 to 3, and logical wire 2 travels from 2 to 4 to 5. Each edge is a Controlled-Z gate, and these entangling gates commute, so all can be applied when preparing the resource.
Figure 1.
Five-vertex graph resource, adaptive measurement angle, and classical output corrections for the two-qubit circuit
. Details.
Measure vertex 1 in the equatorial qubit measurement basis at angle , with outcome , and vertex 2 at angle , with outcome . These measurements can be simultaneous. The one-bit teleportation lemma leaves the state on vertices 3 and 4, before the last teleportation, equal up to global phase to
Indeed commuting the two initial byproducts through creates precisely the crossed factors. The unused edge from 4 to the fresh vertex 5 is the last one-bit teleportation link.
Measure vertex 4 at angle , with outcome . By the printed J gate propagation identities,
Thus the remaining two-qubit quantum state is
up to global phase, where is the desired circuit output relabelled onto vertices 3 and 5. The sign choice cancels the unwanted angle reversal caused by the frame on vertex 4.
Finally measure vertices 3 and 5 in the computational basis, obtaining raw results . The Pauli Z gate affects only phases, while the Pauli X gate flips a computational result. The five-vertex graph-state circuit simulation therefore outputs
This deterministic classical correction reproduces the ideal joint probability distribution for every preceding measurement branch. The final fixed-basis measurements may share the second layer with the adaptive measurement of vertex 4, because their projectors act on different vertices; measuring them afterwards is also valid.
Put and prepare control qubits in and the target in the supplied eigenstate . Apply a Hadamard gate to every control qubit. Let denote the integer encoded in that quantum register.
For every , apply a controlled unitary gate with control and the same target. The quantum phase kickback yields
Applying to the controls therefore produces exactly. A computational-basis measurement returns with certainty, and the algorithm outputs
This is exact quantum phase estimation; exactness uses the finite dyadic phase promise, not a rounding argument.
Only a controlled-U gate is supplied as a primitive. Its repetitions implement controlled-, so the total number of black-box uses is . Access to powers as unit-cost primitives would be a different quantum query complexity model. This distinction is the cost of exact phase estimation on a dyadic spectrum.
Again put , . If computational strings differ in places, the matrix element of between them is : an unchanged bit contributes , and a flipped bit contributes . Hence the given operator is
The printed factored expression is undefined at , namely . Its polynomial form gives the natural continuous extension there, . For the strict promise avoids that singular value; for the extension is needed to include the allowed phase . This is a removable defect of the formula, not a failure of unitarity of the tensor-product operator.
Prepare . Its eigenvalue is , giving tensor-product eigenphase amplification. Write . If , then
where the upper bound is exactly the promise . Thus the amplified phase has only unknown binary digits and no modulo-one aliasing. Run exact quantum phase estimation with controls on the controlled- black box. It returns exactly, after which division by the original recovers .
The number of joint black-box uses is
If , the dyadic promise and force , so output without querying the oracle. This covers the zero-control edge case without an invalid negative number of phase bits. The improvement counts one supplied controlled- call as one query. Implementing such a joint call from individual controlled- calls would remove the claimed factor- primitive-query saving, and preparing the target qubits is a separate gate cost.
Write the system's basis as , and use a separate pair of meter qubits in the Bell state . Alice applies a CNOT gate from system to her meter qubit; Bob simultaneously applies a CNOT gate from to his meter qubit. Flipping neither or both meter qubits preserves , while flipping exactly one gives . Hence the entanglement-assisted nondemolition parity measurement interaction produces
where and . Each party now measures only their meter qubit in the basis. If their binary records are , the system Kraus operator is
Unequal records verify zero total spin, since vanishes precisely on the odd sector. The probability of success is , and the successful conditional state is . Every zero-total--spin state is left unchanged, including any coherent superposition of and . Similarly the even-sector coherence is preserved. This is a quantum nondemolition measurement of the parity, rather than separate measurements of both system spins.
All quantum operations and local meter measurements can finish within the spacelike time window. Nevertheless each local meter record is individually uniform: . The verification result is obtained only by comparing the records using local operations and classical communication. Thus “instantaneous” refers to the local completion of the joint measurement instrument, not instant access to its nonlocal outcome; quantum no-signalling remains intact.
Use the quantum Fourier transform convention , where . Reindexing the shifted sum gives
Thus the cyclic shift operator has these eigenvectors, with eigenvalues . This is cyclic shift diagonalization by the quantum Fourier transform, and it implies with .
For , the binary encoding is , with the more significant qubit. The required diagonal phase is
so . The allowed-gate circuit is therefore
In execution order, apply the inverse QFT, then the two phase gates, then the forward QFT. There is no extra global phase. Reversing the Fourier sign convention would conjugate both phase gate parameters.
This is the Deutsch-Jozsa test with an arbitrary uniform-state unitary, and does not require to be a power of two. Choose a known unitary operator such that . Prepare the target qubit in . One Boolean-oracle call gives quantum phase kickback:
Apply to the index register. The amplitude on is
It equals or for the two constant strings, and equals zero for a balanced string. Consequently a single query decides the promised problem exactly: measure the index register and report constant for outcome zero, balanced for any other outcome. This is the Deutsch-Jozsa algorithm with the available exact state-preparation operation.
For , the Pauli X gate and Pauli Z gate act on different qubits in , so they commute. Their product is a Hermitian matrix and squares to the identity operator. Its eigenvalues have modulus one; equivalently it is a unitary operator. Therefore its spectral norm is
The qualification is necessary because the qubit labelled one does not exist for .
The product of the data Pauli Z gates has computational-basis eigenvalue
Use the parity circuit from part (ii), apply the target unitary gate , and then uncompute the parity with . For every basis input,
This equals on the data, with the ancilla qubit returned to zero. The compute-phase-uncompute construction therefore gives an exact linear-size circuit:
This is a Pauli-string phase by parity computation, an instance of simulation of a computable diagonal Hamiltonian. Part (i) also explains it by , whose exponential restricts correctly to the target- subspace. If no extra line is desired, accumulate parity into the last data qubit, apply there, and undo the CNOT gates, for gates. Both constructions implement the global phase as well as the relative phases exactly.