A quantum computing apparatus needs a scalable quantum register of controllable qubits, reproducible initialization, a universal quantum gate set, sufficiently long quantum coherence, and selective readout. A qubit is a two-dimensional state space; several qubits occupy a tensor product space and can develop entanglement. Quantum state preparation must establish a known low-entropy input and supply fresh ancillas during quantum error correction. A universal quantum gate set may use arbitrary single-qubit rotations with an entangling two-qubit gate such as controlled-NOT gate. Quantum coherence and control fidelity must suffice for the intended circuit, and measurement must recover chosen output probabilities without uncontrolled disturbance of other qubits. These are the five DiVincenzo criteria.[ref]
An atomic implementation can encode qubits in two long-lived internal levels, initialize them by optical pumping, drive coherent transitions with laser or microwave pulses, couple selected qubits through a shared interaction, and distinguish states by state-dependent fluorescence. For trapped ions, a shared vibrational mode can mediate entangling gates, so motional control and cooling are part of the computational apparatus. The motion is a resource only while uncontrolled heating does not erase the required quantum coherence.
The computational resource is coherent control of amplitudes and entanglement, with interference making useful outcomes likely. An -qubit pure state has basis amplitudes, but a single measurement does not reveal those amplitudes or all possible answers. Algorithms exploit structure rather than simply reading out parallel classical computations. The Shor algorithm gives factoring with polynomial resource scaling in the input bit length, compared with the best known classical algorithms' superpolynomial scaling; an exponential classical lower bound has not been proved.[ref] Grover's algorithm uses order oracle queries for unstructured search among possibilities, a quadratic query improvement.[ref] Quantum simulation is a further motivation because interacting quantum systems can require exponentially many classical amplitudes for a direct generic representation.
The main challenges are quantum decoherence, fluctuating control fields, imperfect gates, leakage out of the qubit subspace, readout errors, crosstalk, and the difficulty of scaling connectivity and calibration. Faster control can introduce extra errors, while stronger isolation can make preparation and readout harder. Quantum error correction encodes logical information redundantly in several physical qubits and extracts error syndromes without measuring the unknown logical state itself. Fault-tolerant quantum computation prevents the correction apparatus and gates from spreading a few faults into uncorrectable logical errors. It requires error rates below an architecture- and noise-dependent threshold and substantial resources; there is no universal numerical threshold for all implementations. Advantages are task-dependent, while reliable scaling requires both coherent hardware and error control.
Set , and , with . The ordered vectors are normalized but nonorthogonal, since . Their coordinate Gram matrix is therefore
An operator matrix in this basis is obtained from the coefficients in the images of its basis vectors, not by treating those vectors as orthogonal measurement outcomes. Directly applying the two reflection operators gives
Their columns are consequently
These are physical unitary operators even though the coordinate matrices are not unitary in the ordinary Euclidean coordinate norm: they preserve , so .
The Grover iteration in a nonorthogonal basis is
It has determinant one and trace , hence eigenvalues . For example, the invertible matrix of eigenvectors
satisfies
This diagonalization is exact for ; no large- approximation is needed.
To extract an actual probability using the Born rule, introduce the orthonormal unmarked superposition . In the ordered basis , the same iteration is the rotation
After iterations,
Equivalently the original coordinates are . The overlap with is the first coordinate plus times the second, recovering the same amplitude. Squaring just the first coordinate would be incorrect in a nonorthogonal basis.
For large , , and dropping the initial angle gives the requested approximation . The first near-unit success occurs at the integer closest to :
One can choose , with either neighbor equivalent in a tie. Further iterations overshoot and reduce success rather than monotonically improving it. The special problem needs no search and the two-vector coordinate construction becomes singular.
Figure 1.
Grover search success: exact initial-angle offset and overshooting the first maximum
. Details.
For an unstructured search, a reversible Boolean quantum oracle implements a phase change on the marked entry, while the diffusion reflection about a uniform state is known. Repeating the pair of reflections amplifies the marked amplitude and measurement yields a candidate that can be checked by another oracle query. The bounded-error query count is for one marked item, compared with classical queries. It is a quadratic oracle-query speedup: state preparation, the cost of implementing the oracle and access to a classical database still matter. The method does not reveal an unknown marked value without the promised query access.[ref]