Write the Steane code basis as uniform quantum superpositions over a binary linear code and a disjoint coset , where is the even-weight part of the length-seven Hamming code. For , diagonal Pauli Z gates cannot connect the two cosets. Within coset , the overlap is
If , translation by a word with negates this sum, so it vanishes. Since the dual code is the length-seven Hamming code of minimum Hamming distance three, every nonzero of Hamming weight one or two has vanishing overlap. Taking from proves the displayed identity. The eight two-dimensional error images are orthogonal, so their projective measurement determines the error syndrome without revealing the logical state; applying the identified phase flip again recovers every code state. This proves nondegenerate quantum error-correcting code behaviour for the identity and all single-site phase flips, including their coherent linear span.
Apply one CNOT gate from each input qubit to the same target. Their actions commute because controls remain unchanged and each contribution is added modulo two. This reversible circuit computes the parity bit with exactly one two-qubit gate per input, and its inverse is the same circuit. Unlike measuring the inputs to compute parity classically, the unitary preserves quantum superposition and can be uncomputed after phase application.
Use the ordered basis and , with
A pure quantum superposition has on the Bloch sphere. In contrast, a mixed state has , inside the sphere for . At equal populations its vector is zero. Equal populations alone therefore do not distinguish a coherent superposition from a mixture; their off-diagonal density matrix elements differ.
Choose the drive phase so the rotating-frame Hamiltonian is , where as specified. The Rabi vector is the angular-velocity vector
Here is the on-resonance population oscillation angular frequency, not the unhalved coefficient of a cosine coupling. From , rotation about at gives
For , the rotation axis is nearly transverse, the trajectory nearly a great circle, and transfer is almost complete. For , the axis bisects and , the orbit lies in , and never exceeds . Each member remains a pure state in this coherent evolution.
Figure 1.
Pure and mixed Bloch vectors, resonant and detuned trajectories, and their population oscillations
. Details.
For the Ramsey free interval, let atom have detuning . Instantaneous ideal pulses give the Ramsey ensemble coherence factor . Averaging the free-evolution vector obtained in step (ii) gives
Different atoms fan out around the equator, shortening the ensemble Bloch vector even though every individual's vector remains unit length. A broad smooth detuning distribution usually makes the average spiral towards the centre and damps the Ramsey fringes towards . The dephasing time is of order . inhomogeneous ensemble dephasing is not necessarily irreversible decoherence of individual atoms; an appropriate spin echo can rephase static frequency offsets.
The given spread does not specify a probability distribution or whether it denotes an RMS width. An exact envelope is therefore not determined. The figure illustrates, rather than infers, a Gaussian distribution with RMS , for which . A uniform distribution would instead give a sinc envelope and side lobes. Both have the same qualitative initial loss of contrast on the quoted inverse-spread scale.
Figure 2.
An ideal Ramsey path and an explicitly illustrative Gaussian ensemble-dephasing envelope
. Details.
In the rubidium-87 ground-state hyperfine structure, and , so . Taking gives
The zero-field splitting is . Ignoring the small nuclear magnetic term, the weak-field Landé g-factors are and . The diagram labels all three and five substates, with linear shifts .
The pair and is connected by a magnetic dipole transition with , , driven with its oscillating magnetic component along the quantization axis. Both first-order shifts vanish, giving the rubidium-87 clock transition first-order insensitivity near zero field. Its insensitivity does not imply absence of quadratic shifts.
For these two levels the Breit-Rabi formula gives the quadratic Zeeman shift of a clock transition:
where the last expression neglects the nuclear term and sets . Hence
This uses and the supplied . With physical moments defined by , the differential magnetic moment is . If effective magnetic moment denotes the positive energy slope instead, that slope difference is positive. The magnitude and physical frequency sensitivity are the same. Retaining the full atomic factors gives the familiar quadratic clock-frequency coefficient about ; the simplified supplied parameters give about .[ref]
Figure 3.
Weak-field rubidium-87 hyperfine manifolds and the quadratic clock-transition shift
. Details.
Use a far-detuned optical dipole trap, such as a red-detuned focused-beam trap, to confine both clock states. Their first-order magnetic moments vanish; their residual quadratic magnetic slopes are opposite, so a simple static magnetic-field minimum does not confine both in the same way. An optical potential acts through the electronic polarizability and can trap both ground hyperfine states. It is not perfectly state independent: differential AC Stark shifts, intensity noise and residual magnetic gradients still need control during Ramsey evolution.
For the allowed states, the normalized standing wave is a quantum superposition of two opposite angular momentum eigenstates:
The Born rule therefore predicts
The expectation value is zero, but a single measurement never gives zero for these states. Their uncertainty is . The two components have the same rotor energy , so a definite energy does not imply definite angular momentum.
Here . Both remaining gates fix the all-zero computational vector: the T gate fixes , and the controlled-NOT gate fixes . Therefore every finite circuit, on any number of initially zero wires, leaves unchanged.
It cannot even approximate , whose squared overlap with that unchanged vector is . Thus the gate set is not universal. The needed quantum superposition cannot be created from this input by basis permutations and diagonal phases alone.
The inverse Bogoliubov transformation gives and . Because by the canonical anticommutation relations, the exponential truncates:
The fermionic signs are fixed by
It follows that
Both annihilation conditions hold precisely when . Normalizing the paired fermionic vacuum, using the orthogonality of its two Fock states, gives . Choose the irrelevant overall phase so that . The result is
Equivalently,
Its positive pair coefficient follows from the specified order in the Hamiltonian operator. The state has even fermion parity and is a quantum superposition of zero and two original particles. In the limit , and , so it reduces to the original vacuum state, as expected for .
For teleportation with an ambiguous Bell-state phase label, write . The Bell-basis measurement outcomes and each occur with probability . In either case a correct guess gives Bob , while the wrong guess differs by the Pauli Z gate and gives . The other two Bell states are identified correctly. Since Alice guesses each ambiguous label with probability , the overall wrong-correction probability is . Averaging over the actual quantum measurement outcome and her guess gives the phase-flip channel
Conditional only on an ambiguous analyzer result, the output is ; that conditional channel has weight in the displayed unconditional result. There is no rejection of those rounds.
Use the teleportation fidelity for a pure state target, namely the squared quantum fidelity
This compares the input with the resulting mixed state; averaging state vectors before forming a density matrix would give a different, incorrect answer. Direct substitution gives
Thus the maximum is , attained by and up to a global phase, because these are eigenstates of the Pauli Z gate. The minimum is , attained by every equal-weight quantum superposition
on the equator of the Bloch sphere. The unsquared quantum fidelity is if that alternative convention is used. No average over different input quantum states is needed for the requested state-dependent answer.
Define the Hadamard basis and write . After the two-qubit quantum state is
Applying the Hadamard gate to the first qubit gives the normalized quantum state
For , , so
The first is a product state. The second is exactly the minus Bell state in the printed phase gate convention; its reduced density matrices are .
For three qubits, let use the ordered pair and the ordered pair . The two diagonal quantum gates commute. For their action before the final Hadamard gates is
If is even this is , and gives . If is odd, group the quantum superposition by the middle qubit:
Since and , the final states are
The odd case is a GHZ state: each individual qubit has reduced density matrix , and it is related to by the local Pauli gates . Conversely, applying those gates converts to that standard form. They have not been applied in the printed network, so the actual output used in the next part is .
For one input bit, a Boolean function is specified by the pair , and counts its satisfying assignments. In the ordered computational basis , the supplied phase oracle convention gives
Here is exclusive or: the oracle changes the sign of the inputs with . With the identity matrix and the Pauli Z gate, all four cases are
The two middle cases are balanced Boolean functions; the others are constant functions. The specified zero-state sign change and the Hadamard gate are
Use the top qubit as the first tensor product factor. Write the controlled unitary gate as . Reading the bracketed quantum circuit from left to right, its four operations are , , , . Thus the target operation in its control-one branch is
where the rightmost matrix acts first. The control-zero branch is the identity operator. The Hadamard conjugation of a controlled gate identity gives
Indeed, on control zero the replacement applies to the target, while on control one both sides apply . By linearity, the identity holds on every quantum superposition and therefore in every repetition of the bracket. This replaces the two internal controlled Hadamard gates as a pair.
The global phase of a controlled quantum gate must be preserved: , whereas . Consequently the minus signs in and the special phase oracles cannot be discarded as an unobservable global phase of the complete quantum circuit.
A good atomic qubit needs two reproducible, orthogonal internal states whose populations and relative quantum phase survive for many gate times. Both should be long lived, with weak spontaneous emission and little decoherence from fluctuating fields or atomic motion. Their transition must nevertheless permit fast, selective, coherent control with little leakage to other states. Reliable initialization and state-selective quantum measurement are also required; optical pumping and fluorescence readout can supply these functions.
For rubidium-87, use the two ground state hyperfine levels in the electronic configuration. The electronic angular momentum is , and addition of angular momentum to the given nuclear spin gives . A suitable Rubidium-87 clock qubit is
These are coupled electron-nucleus angular momentum eigenstates, rather than two bare nuclear-spin projections. Their hyperfine structure supplies a resolvable splitting . Both belong to the electronic ground state, avoiding a short optical excited-state lifetime. Since the weak-field Zeeman shift is proportional to , both have zero linear shift at : their rubidium-87 clock transition suppresses first-order magnetic-field dephasing near zero field. A quadratic Zeeman shift of a clock transition and differential optical shifts remain. A small stable bias field can define the quantization axis and help resolve unwanted transitions, at the cost of some residual magnetic sensitivity.[ref]
Drive the magnetic dipole transition with a resonant microwave field of suitable polarization, here , or use two phase-coherent optical fields for a far-detuned stimulated Raman transition with their frequency difference resonant with . The optical excited state is then only virtually populated, reducing spontaneous emission. In the rotating frame and rotating-wave approximation, define the drive phase by the effective Hamiltonian
Here are the Pauli matrices on the chosen qubit, and is the Rabi angular frequency. Pulse duration controls the rotation gate angle, while phase selects the axis in the equatorial plane of the Bloch sphere. A pulse exchanges the populations; a pulse makes an equal quantum superposition from either basis state. Controlled Rabi detuning, a differential energy shift, or compositions of these pulses give rotations. For example, realizes any one-qubit unitary operator up to a global phase. Thus the atomic encoding admits arbitrary single-qubit quantum gates.
Use the two-pair component of polarization-entangled down-conversion to account for identical bosons in the same collected modes. Write for a creation operator in mode with horizontal polarization, and similarly for the other modes. For the plus Bell state, the pair-creation operator is . The normalized four-photon state is
These are normalized Fock states. In particular, ; omitting this factor would misnormalize the four-photon input.
The first polarizing beam splitter sends to and to . Only the middle term can give exactly one trigger photon and leave another photon in . In the first term both photons reach and none reaches ; in the last there is no trigger. Thus the relevant, still unnormalized component is
For the selected paths of the half-wave plate and beam splitter, take
Here labels the output towards . An immaterial common reflection phase has been absorbed in the mode definitions. Keeping one photon at leaves
At the final polarizing beam splitter, the alternative yields one at each of , while yields one at each. The two opposite-polarization alternatives send both photons to the same detector and fail fourfold coincidence counting. The accepted component is therefore
After conditioning and normalization, the three detected output modes have
The optical mode matching must erase any timing, frequency or other record that distinguishes the two alternatives. Otherwise the same polarization populations could describe an incoherent mixed quantum state, rather than this quantum superposition. The Bouwmeester three-photon GHZ experiment uses this principle. The photonic GHZ preparation by fourfold coincidence is a measurement in the coincidence basis: detecting all four photons projects and consumes them. A click at by itself does not herald a guaranteed freely available three-photon state.
The two states are metastable, so a quantum superposition can retain its relative phase much longer than one involving a rapidly decaying state. In the stipulated transition diagram they have no allowed downward electric-dipole transition; real weaker decay channels limit, rather than eliminate, this lifetime advantage. Their distinct energies permit resolved state-selective optical control.
Both levels couple to . Apply coherent beams near 850 nm and 854 nm, detuned from that common intermediate level by a large Rabi detuning . Absorption from one beam and stimulated emission into the other transfer population between the two states without appreciably populating the short-lived intermediate level. Tune the frequency difference to their splitting, including differential AC Stark shifts. In the far-detuned limit,
for an initially pure state on two-photon resonance. The controllable relative optical phase sets the rotation axis; the large Rabi detuning suppresses spontaneous-scattering errors. Suitable polarizations and a chosen pair of magnetic sublevels are required in an actual experiment.
Discarding the photon-number result gives a classical mixture of the two outcome branches. The atomic state, in the basis , is
It is also the reduced state before measuring the field; a nonselective operation on the field does not change the atomic reduced density matrix. The atom is not in a coherent superposition with these populations.
For an atomic energy gap , the thermal population ratio is . Matching it gives
A finite positive temperature exists when , with at and as from below. Equal populations correspond to zero inverse temperature. If , the expression is a negative effective temperature for a bounded two-level system, not an equilibrium state at any ordinary positive temperature. For a concrete counterexample to an unrestricted positive-temperature interpretation, at the atom is certainly excited, whereas every positive-temperature Gibbs distribution has . The fully excited endpoint is the formal limit . Matching one density matrix does not establish genuine thermalization with a bath.
Write and . The ensemble is the mixture , rather than a coherent superposition of the two phases. The ZZZ probabilities stay unchanged. Reversing the relative phase interchanges the allowed parity sector in every equatorial basis, so for XXY, XYX and YXX,
In YYY the quantum prediction is the opposite:
For a concrete continuation of the ideal local analysis, apply the same phase-flip event to a predetermined local assignment: it reverses X and Y at the affected photon. All three mixed-basis products and the YYY product then reverse together. With unbiased marginals in each parity sector this shared-error local model predicts negative-product YYY outcomes at each and positive-product outcomes at each. The histograms compare this specified model with the quantum result.
Figure 1.
YYY outcome histograms for ideal and phase-flipped GHZ correlations
. The ideal local prediction has negative parity, while quantum mechanics has positive parity. The noisy local bars use the explicitly stated shared phase-flip model; general noisy local models are constrained by a bound rather than by a unique histogram. Details.
Imperfect mixed-basis statistics alone do not force that particular local histogram. A model-independent constraint follows because a positive YYY product requires at least one of the three ideal mixed-product constraints to fail. Each fails with probability , so the union bound gives
Equivalently, local assignments satisfy , whereas this noisy quantum state gives . Thus the violation survives the specified phase error without assuming a unique noisy local histogram or independent errors in the three measurement contexts.
Track the factors only when the corresponding transition is addressed. They are common within the addressed two-state subspace, but become physically relevant relative phases between computational basis states. Using a semicolon to separate the shared motional number state, the complete paths are
The middle arrow comprises both Y pulses. In the last row those individual steps are . The two X pulses contribute for either initially excited control; the Y pair supplies a second minus sign only when the second ion is also excited.
The shared motion returns to its ground state for all four inputs, and the auxiliary internal state is empty. Quantum superposition therefore gives the two-qubit gate
Discarding the X-pulse factors would incorrectly identify with a Controlled-Z gate itself.
The extra Pauli gate on the control is removed by . Conjugating the target by a Hadamard gate then gives
Thus, from left to right in the network, apply , then , then and ; the last two gates commute.
Figure 1.
Synthesis of a CNOT gate from the ion gate , and preparation of a Bell pair
. Details.
For a direct proof, the control-zero block of is and its control-one block is . Multiplication by changes the latter into . Since and , the result is
which is exactly the CNOT gate on all inputs, including quantum superpositions.
An AND gate maps four possible pairs to one bit and loses information, so it is not reversible. A reversible embedding retains both inputs and uses a target bit:
This is the Toffoli gate; initializing computes while preserving enough information to invert the operation.
Classical reversible gates on one or two bits alone cannot synthesize every such operation. Every permutation of two bits is an invertible affine map over the finite field : there are of them, exactly the permutations. Their extensions to a larger register and their compositions remain affine. The nonlinear term in the Toffoli gate therefore cannot be generated. Three-bit reversible gates remove this obstruction, with ancillary bits initialized appropriately.
There is no conflict with quantum universality: one- and two-qubit gates may pass through quantum superpositions and use relative phases at intermediate steps. They are not restricted to permutations of computational basis states at every step. For example the Hadamard gate, T gate and CNOT gate can decompose a Toffoli gate exactly. Thus the classical affine obstruction does not apply to their intermediate unitary operators.
Choose a real unitary matrix and undo it at the second stage:
After the first rotation the photon qubit is . A dud leaves this quantum superposition unchanged, so the inverse rotation restores . Its final projective measurement can never return .
For a live bomb the absorbing component explodes with probability . If the photon survives, the normalized state is , and the second rotation makes it . The unconditional probabilities of the three possible live-bomb outcomes are consequently
They sum to one. The nonexplosive result certifies a live bomb because its dud probability is exactly zero. The inconclusive result resets the qubit to its original state, allowing another identical trial.
The repeated weak-rotation bomb-test efficiency follows by summing the geometric series over the first successful trial:
This is conditional on testing a live bomb, not an average over an unspecified prior fraction of duds. To make the finite-run success probability exceed , choose positive so that , then choose so that . The first condition controls the limiting deficit and the second controls the remaining tail. Exactly yields no explosion but also no information, so the limit must be approached with nonzero weak rotations.
The half-efficiency limit is consistent with the structure of this Elitzur-Vaidman bomb tester. Suppose generally . A final outcome that certifies a live bomb must be orthogonal to the dud output . Pulling this outcome backwards through gives the normalized vector orthogonal to . Its squared overlap with is . Thus the safe-certification probability is , whereas the explosion probability is . The former never exceeds the latter. Summing these mutually exclusive terminal events over repeated, possibly adaptive trials gives and hence . This concerns the specified rotate–interact–rotate–measure protocol.
Let , and write for any odd-weight word . The parity functional on the four-dimensional binary linear code is nonzero, so its kernel has dimension three and its other fibre is the coset . For example belongs to the standard length-seven Hamming code and has odd Hamming weight. Denote the two logical basis states by and , corresponding to these two cosets. The eight computational orthonormal basis vectors in each sum are distinct, so both logical states have norm one; their disjoint supports make them orthogonal.
For a binary vector , define the product of Pauli Z gates
where the dot product is computed modulo two. The key diagonal overlap, with and , is
If , every summand is one. If , choose with . Translation permutes and negates every summand. The sum must then be zero. Thus
Off-diagonal logical overlaps vanish for every :
because a diagonal Pauli operator cannot move a computational basis word from one coset to the disjoint other coset.
The possible errors are and for . Set . Each phase flip is its own adjoint and inverse, so
If , the vector is nonzero and has Hamming weight one or two. By the given dual code identity and the minimum Hamming distance three of the Hamming code, it cannot belong to . Hence all its diagonal logical overlaps vanish. If , the product is the identity and its logical overlaps are . Combining both cases gives
This proves the Knill--Laflamme condition with an identity error-overlap matrix, not merely a possibly degenerate scalar matrix. In particular the eight two-dimensional error subspaces are mutually orthogonal. This is precisely nondegenerate phase-flip correction in the Steane code.
To exhibit recovery rather than only the criterion, let be the orthogonal projector onto the code and . The projective measurement consisting of these eight mutually orthogonal projectors, completed by , determines which error occurred. For an arbitrary encoded pure state affected by , outcome occurs with certainty and leaves unchanged. Applying again recovers . The outcome gives the error syndrome and does not reveal or , so recovery preserves logical quantum superpositions.
An equivalent explicit error syndrome uses three commuting X-type stabilizer generators. Choose a parity-check matrix for with the seven different nonzero binary columns:
Its rows span . For a row , the operator permutes each of and , and therefore has eigenvalue on both logical states. A phase flip at position changes its eigenvalue to , since . Measuring the three commuting stabilizer generators gives the th column of as a binary syndrome; no error gives the zero column. All eight outcomes are different, and applying the identified restores the code state. Measuring these stabilizer generators never distinguishes the two logical states.
Finally, if a noise Kraus operator is a coherent linear combination , the same syndrome measurement separates its mutually orthogonal components . Conditional recovery returns in every nonzero branch. Linearity then also corrects any quantum channel whose Kraus operators lie in this span. The argument therefore corrects arbitrary unknown single-site phase flips nondegenerately, including coherent phase-error amplitudes, rather than only a known error on a basis codeword.
Put and define . The normalized good and bad vectors have disjoint computational basis supports, so they are orthogonal. Counting the terms in the uniform quantum superposition gives
Since , the Hadamard transform gives , the Grover diffusion operator. On the ordered orthonormal basis , the two reflection operators have matrices
Their product is
This is a plane rotation through angle in the displayed coordinate convention, with the invariant good-bad plane preserved by both operators. In particular its action sends to . Induction therefore gives the Grover rotation angle formula