A secure key can be produced, at one ideal secret bit per copy. The shared Bell state is pure, so the preceding factorization shows that Eve's purifying system is independent of it. Measuring both qubits in the computational basis gives matching outcomes or , each with probability . Neither party announces these key outcomes. Eve's state is the same for both possibilities, so each copy supplies a shared uniform private bit.
The normalized ray produces a secure key; the literal printed vector is not normalized. The squared norm of the coefficients in the PDF is . Thus the physical pure state on that ray has normalized coefficients and . This is a genuine entangled state with two nonzero Schmidt coefficients, and Eve is independent of it by purity decouples a subsystem from its purification.
For an explicit way to obtain uniform key bits, Alice applies a two-outcome local measurement in quantum mechanics with Kraus operators
Their squared products sum to the identity. The successful unnormalized state is , so
Alice announces only success or failure. Success leaves an exact Bell pair, yielding one uniform secret bit; failure leaves and is discarded. With many copies the successful fraction is positive. Alternatively, direct computational basis measurements give a shared biased bit with probabilities and , from which privacy amplification can extract uniform secret bits. The coefficient has not been silently replaced by .
No secure key can be produced. The off-diagonal terms in the two Bell state projectors cancel, giving the separable quantum state
A possible purification of a density operator is . Eve measures her register in the computational basis and learns whether Alice and Bob have or . Their apparently shared random bit is therefore completely known to Eve. Conditioned on her record the Alice–Bob state is a known product state; public discussion and local private randomness cannot create a shared secret unknown to that record. The state has no distillable secret key in the stated purification model.
A secure key can be produced, at one ideal secret bit per copy. Denote Alice's additional flag qubit by . Alice can measure in the computational basis and, when its outcome is , apply the Pauli Z gate to her half of the shared pair. The two flag outcomes each have probability , and ; either branch therefore supplies the same pure Bell pair.
Equivalently, Alice applies the local controlled unitary
This local flag correction of a Bell-state phase mixture changes the full density matrix into
The corrected pair is pure, so every purification factors between and . Eve may know the flag without knowing the key bit obtained from . Alice need not disclose the flag, but even disclosing it does not compromise the corrected pure Bell pair. Tracing out the flag before correction would give the nonprivate mixture in the preceding case; retaining Alice's local side information is essential.
Secure in the intended ideal setting, with a sound entanglement-purification procedure. Bob confirms receipt before Alice reveals either the random basis string or the randomly chosen check positions. Eve must therefore release the travelling qubits before knowing which basis to use and which positions to protect from disturbance. Bob can then decode because .
The random check sample tests the same ensemble of encoded transmissions as the retained data. Random computational basis and Hadamard basis encodings make the test sensitive to complementary disturbances; Eve cannot use the targeted zero-error attack available in Protocol 1. For example, measuring every intercepted qubit in one fixed one of these two bases uses the wrong basis half the time, and then disagrees with Alice half the time, producing a bit error rate of . A sound entanglement purification protocol uses the tested error bounds, corrects both relevant types of error, and aborts if the noise is too high; secrecy is not claimed for every possible attack without an abort option.
When the protocol succeeds in producing nearly perfect Bell pairs, purity decouples a subsystem from its purification explains why they are nearly independent of Eve, and matching computational basis measurements produce an approximately uniform shared secret key. The disclosed check outcomes are discarded rather than included in that key. This is the standard entanglement-based quantum key distribution ordering: receipt first, basis and sample disclosure second, testing and purification next, and private measurements last.
The relevant security model gives Eve the purifying system and access to the public transcript. A useful preliminary fact is that purity decouples a subsystem from its purification. If the Alice–Bob marginal is and is a purification of a density operator, then for every ,
Hence : Eve is uncorrelated with their joint pure state. A Bell pair then supplies a uniform shared secret bit when both parties measure in the computational basis. Pure product states have no shared random correlations, while a mixed state must be assessed with its purifying information included. The classifications below use the usual quantum key distribution setting with an authenticated public classical channel; no full security proof is required.
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.
First expand the result of the first gate in the computational basis:
Using and , this becomes
Apply and to obtain
For example, its quantum measurement in the computational basis has probabilities and , obtained by squaring the two basis amplitudes.
Use the computational basis ordered as . Since and ,
For arbitrary , a computational basis vector with ones has contributions and contributions , giving eigenvalue . All occur, so
The binomial coefficient counts which sites are excited. Thus there are exactly distinct magnetization sectors of a spin chain, and their dimensions sum to , the full Hilbert-space dimension.
In the computational basis, write
The Kraus representation of the amplitude damping channel gives
Reading off its Bloch vector gives the Bloch-vector map of amplitude damping:
Here . The shift in shows that this quantum channel is not unital unless ; its fixed ground state lies at the north pole, rather than the center of the Bloch sphere.
Apply a Hadamard gate to qubit , followed by a controlled-NOT gate with controlling . The resulting Bell-basis conversion circuit is and gives
Thus map respectively to . The first input bit becomes the phase bit and the second becomes the parity bit.
Both gates are self-inverse, but inversion of their product reverses the order:
So the same two gates convert the Bell basis back to the computational basis when applied in reverse order: first the controlled-NOT, then the Hadamard. Using the forward order twice does not generally work, since these gates do not commute. For example, , which is not a computational-basis state.
Let . The positive-exponent quantum Fourier transform gives . Reindexing the cyclic shift operator gives
Thus is an eigenstate with eigenvalue , with this sign fixed by the printed quantum Fourier transform convention.
Prepare the first two qutrits in and the answer qutrit in . The modular-addition quantum oracle applies to the answer. Its eigenvalue produces quantum phase kickback, leaving
Apply to each input qutrit, then measure them in the computational basis. The result is
The preparation, inverse transforms and measurements are independent of , and there is exactly one use of . This is qutrit linear-function identification, the ternary version of Bernstein-Vazirani phase kickback.
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.
Replace every CNOT gate by . The resulting quantum circuit contains only Hadamard gates and Controlled-Z gates. Realize each Hadamard gate by a fresh one-bit teleportation link measured at angle zero, so every internal measurement is in the fixed basis. Insert a graph edge between the current wire vertices for each Controlled-Z gate. This gives a suitable graph state because the inputs are , and entangling gates can be moved to resource preparation: they commute with one another and with earlier measurements on vertices no longer used by the gate.
Track a Pauli frame . An angle-zero one-bit teleportation with raw result updates the frame on that wire by
because equals up to global phase. A Controlled-Z gate updates and , leaving the bits unchanged. These are classical binary updates; no measurement angle depends on them.
All the internal quantum measurements consequently have predetermined bases. Their projectors act on distinct resource vertices and commute, so all internal measurements can be performed simultaneously: the logical measurement depth is at most one. If the output is to be read in the computational basis, those fixed-basis measurements can occur in the same layer; a raw output is relabelled . If quantum outputs are retained, the same calculation gives the desired output in a known Pauli frame. This nonadaptive Hadamard–CNOT measurement pattern concerns measurement depth, not the depth of resource preparation or classical frame computation.
Use the positive-sign quantum Fourier transform
Orthogonality of the finite-group characters makes a unitary operator. Here is the least positive period. The injectivity within one period implies : write , . Periodicity gives , and injectivity forces . Put .
Start with two available computational basis states . Apply to the first register and query the modular-addition quantum oracle:
Measure the second register. For some , the first register becomes the normalized coset state
The quantum Fourier transform of a periodic coset state is
Indeed, the inner geometric sum vanishes unless the Fourier label is a multiple of . Measuring that label gives for a uniformly random . Compute, by the Euclidean algorithm,
Thus exact period recovery from a Fourier sample succeeds whenever is coprime to , and
Here is the Euler totient function. The classical number-theory input is the totient lower bound from the Mertens product: for sufficiently large , for an absolute , with the finitely many small cases handled separately. For recovery is certain; for its probability is . The useful asymptotic probability statement is a lower bound, hence notation; it can be much larger for particular periods, for example a prime period.
There is one oracle query, two Fourier transforms and two measurements. The final greatest common divisor and division use polynomial time in . This meets the specified primitive-operation model without assuming that an arbitrary- Fourier gate is free in another gate model. If a constant success probability is wanted, repeat independently times and return the least common multiple of the candidates: each candidate divides , and one successful sample makes that least common multiple exactly .
Prepare the two data qubits in and a phase ancilla qubit in . A single Boolean quantum oracle query flips only the marked amplitude. Its success fraction is , so in amplitude amplification. The fixed diffusion reflection gives after one iteration.
Directly, after the query the marked amplitude is and the other three are . Their mean is . The diffusion reflection replaces each amplitude by , yielding one at the marked input and zero elsewhere. Thus
Here is understood with its target ancilla qubit, and acts only on the data. It is independent of : , with the central diagonal gate implementable using two Pauli Z gates and one Controlled-Z gate. Measuring the data in the computational basis therefore finds the unique marked string with certainty after one oracle query.
Since is a unitary operator, its eigenstates form an orthonormal basis. Expand , with eigenphases . By linearity, the unmeasured quantum phase estimation output is
This is generally an entangled state, not a phase label attached to an unchanged pure system state. The distinct eigenvalues give distinct phase labels, so a computational basis measurement yields with Born rule probability and leaves in the system register. Before measurement, all relative phases remain coherent; that is essential for the following spectral transformation. If phases were degenerate, a measured label would instead select the corresponding eigenspace component.
Let and use an -qubit phase register. Begin with and apply to the phase register, creating . Controlled powers implement
For phase qubit , counted from the most significant bit, the controlled power is . It can be built from calls to the supplied controlled- gate. By quantum phase kickback, the phase-register state is
Apply the inverse quantum Fourier transform to obtain the exact quantum phase estimation mapping
A computational basis measurement of the first register determines with certainty, hence and the eigenvalue . Exactness follows from the promised dyadic phase; no approximation or continued-fraction reconstruction is needed.
With only controlled- available as a query, the repeated-power construction uses oracle calls. The other Fourier-transform circuitry has polynomial size in in the ideal phase-gate model. The cost of exact phase estimation on a dyadic spectrum is therefore not polynomial in in this primitive-query model unless powered queries have additional implementations. The task does not require such a polynomial bound.
Write the quantum circuit as , and let , . Use a nonlocal quantum clock with orthonormal states . Let the work space include the quantum witness and the ancilla qubits. The input penalty of a history Hamiltonian is built from
It annihilates precisely the correctly initialized ancilla qubits, leaving the quantum witness unrestricted. The Feynman-Kitaev Hamiltonian without output penalty is
Each propagation summand is positive: on vectors with adjacent clock components , its quadratic form is . The input penalty of a history Hamiltonian is also a positive semidefinite operator, so .
To verify that this is a stoquastic Hamiltonian, use the work computational basis and the clock basis. Every is a permutation matrix, so the propagation off-diagonal entries are nonpositive. The zero-ancilla projectors are diagonal, while also has nonpositive off-diagonal entries. No positive off-diagonal entry is introduced by summing these terms. Thus is positive semidefinite and stoquastic, with no output penalty.
The construction uses the abstract dimensional clock space. A binary implementation needs diagonal penalties for unused clock labels. The clock transitions are nonlocal; the construction alone does not establish fixed qubit locality of an ordinary local Hamiltonian problem.