For a unitary operator eigenphase , an -qubit quantum phase estimation register of size has output probability amplitudeChoose the nearest integer label to , with labels understood modulo , and put , taking the representative . The finite geometric series gives . For , concavity of sine gives , while . Thus the probability of the nearest label is at least . At it is exactly one. If two labels tie for nearest, each satisfies the bound.
Near-grid quantum phase estimation 2026-10-14
For register size and eigenphase , the amplitude of decoded label is . The finite geometric series gives . If , this is . Thus the nearest exactly representable phase is returned with probability near one, not with certainty unless the offset vanishes.
// Target: quantum-error-correction.bigb
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 58 2 iii Solution Created 2026-10-03 Updated 2026-10-14
A central application is quantum order finding, which supplies the quantum step in the Shor algorithm for factoring an integer . Choose an integer coprime to , and let be its multiplicative order modulo . On valid residue quantum states define the reversible modular-multiplication unitary operator , extending it reversibly to any unused computational basis quantum states.
The orbit has the orthonormal eigenstatesfor . One need not know to prepare an eigenstate: the easy input makes quantum phase estimation sample one of these eigenphases. Its control register estimates . With chosen at least of order , the nearest quantum phase label has rational approximation error small enough for continued-fraction recovery in quantum order finding. For instance, gives on the nearest-label event. If and are coprime, the recovered denominator is ; otherwise one obtains a divisor and can repeat, combine candidates and verify them by modular exponentiation.
When the verified order is even and , the greatest common divisorsgive nontrivial factors: their product is divisible by , while neither factor inside the gcd is zero modulo . Unsuccessful choices of or quantum phase samples are handled by repetition and classical verification. Controlled powers of are implemented by efficient reversible modular arithmetic, rather than by naively applying exponentially many times.
Quantum phase estimation turns modular-multiplication eigenphases into an efficiently usable period, enabling quantum factoring in time polynomial in the bit length of the integer. Factoring is important to public-key cryptography, and this is a major example of a quantum algorithm improving on known classical methods. Another use is extracting energy eigenvalues by applying quantum phase estimation to a controlled time-evolution operator, with care to avoid energy aliasing and to prepare an input having overlap with the desired eigenstate.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 57 4 c Solution Created 2026-10-03 Updated 2026-10-14
Choose an orthonormal eigenbasis of , with eigenphases , counting multiplicity. The maximally mixed state is basis independent, soLinearity means that the experiment is the equal mixture of the two eigenstate experiments. After the inverse quantum Fourier transform, the joint state is , where andThus the exact output distribution for quantum phase estimation with a maximally mixed target isFor a nonzero phase mismatch, the squared probability amplitude is , with value one at an exact match. If both eigenphases are exactly representable on the -point grid, their two labels occur with probability each; coincident labels have their probabilities added. For general eigenphases there can be nonzero probabilities at other labels, so it would not be exact to list only the two best approximations with probability each. Each eigenphase is sampled with spectral weight , and its nearest-label event has conditional probability at least . In particular a nearest label for one eigenphase has unconditional probability at least , with additional contributions possible from the other phase.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 57 4 d Solution Created 2026-10-03 Updated 2026-10-14
With access to the uncontrolled physical gate, use single-qubit process tomography. Prepare the positive eigenstate of each of , apply , and on independent copies measure each of . Arbitrary single-qubit rotation gates let one prepare these inputs and rotate each measurement into the computational basis. The nine measured means areThey determine the real rotation matrix of the Bloch vector, and hence the action of on every qubit state. To see precisely what this identifies, suppose another unitary has the same action. Then commutes with every Pauli matrix. Commuting with makes it diagonal; commuting with makes its diagonal entries equal. Therefore .
Consequently tomography determines , and its eigenvalues, up to a common phase. More explicitly, write a representative as . Its eigenvalues are and , and its Bloch vector action is rotation through about . The measured rotation identifies the unordered relative eigenphase information; for example . Once a representative with a specified overall phase is supplied, diagonalizing that representative gives the corresponding two eigenvalues.
The common phase itself cannot be recovered with the stated uncontrolled access. Indeed, for every input, including inputs entangled with ancillas. Replacing by therefore leaves every such preparation-and-measurement experiment unchanged, whereas it multiplies both eigenvalues by . For example, and are indistinguishable physical gates under these operations. This proves that the request for absolute eigenvalue phases needs an additional phase reference or controlled-gate assumption: the global phase of an uncontrolled quantum gate is unobservable. The controlled powers in the earlier parts supply that extra resource, since changes a relative phase between the two control branches.
The practical advantages are that no unknown eigenstate preparation, controlled powers, entangling gates or inverse quantum Fourier transform are needed: a fixed set of single-qubit preparations and measurements suffices. The disadvantages are statistical estimation and the phase ambiguity just proved. Estimating the bounded Pauli measurement means to additive accuracy at fixed confidence requires order independent repetitions, giving the usual sampling cost for this direct procedure. The earlier quantum phase estimation circuit uses phase qubits and high controlled powers to resolve scale in one coherent experiment with a constant success bound; constructing those powers from controlled uses of costs gate calls, so its exponential-looking precision is not obtained with only uses of . Repetitions can raise confidence. Finally, full process tomography grows exponentially with the number of system qubits, whereas the eigenstate-based phase procedure can estimate a selected eigenphase without reconstructing the entire operator.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 3 a Solution Created 2026-10-03 Updated 2026-10-14
Use exact quantum phase estimation with control qubits initially and one target quantum register prepared in the given eigenvector . Apply Hadamard gates to the control qubits. If control bit has significance , apply a controlled unitary gate from that qubit to the target. The target stays in , while quantum phase kickback producesSince , this is . The inverse quantum Fourier transform on the control quantum register therefore gives . The quantum measurement in the computational basis returns with certainty, soThe quantum circuit below reads left to right. The upper wires are control qubits, with least significant; the vertical ellipsis represents the intervening control wires and powers. The inverse quantum Fourier transform acts on the entire control quantum register, including any bit-order permutations.
Quantum phase estimation and spectral filtering
. Details. A supplied controlled- can implement controlled- by repetitions with the same control. Hence this exact quantum circuit uses calls to the supplied controlled-, unless controlled powers are additionally available cheaply. The cost of exact phase estimation on a dyadic spectrum is not automatically polynomial in ; the question asks for an exact algorithm, not that stronger complexity guarantee. Exactness also uses the promised dyadic eigenphase, ideal gates, and the supplied inverse quantum Fourier transform.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 324 1 a ii Solution Created 2026-10-03 Updated 2026-10-05
Write the finite abelian group additively. Its group shift operator isThese unitary operators form the regular representation and commute. The representation-theoretic facts we use are that every irreducible representation of a finite abelian group is one-dimensional, there are such characters of a representation, and their character orthogonality gives an orthonormal basis of functions on . Each linear character here is a group homomorphism , with .
For , the character group of a finite abelian group, putChanging variables to givesThe vectors are therefore a common eigenbasis. Using instead of its complex conjugate in their definition reverses every eigenphase; this is merely the quantum Fourier transform sign convention.
For a -dimensional unitary operator , a maximally mixed state on its target is the equal mixture of these orthonormal eigenvectors. Therefore quantum phase estimation with register size produces label with probabilityThis follows by linearity of unitary time evolution and the Born rule on the spectral mixture. If every eigenphase has an exact -grid label, that label has probability equal to its multiplicity divided by . Otherwise the exact distribution has tails, and the nearest labels are guaranteed only the nearest-integer success bound for quantum phase estimation weighted by the corresponding spectral probabilities.
Quantum spectral filtering 2026-10-06
Let a Hermitian operator have dyadic eigenvalues in for known , with controlled access to the unitary operator . This interval ensures that different eigenvalues have different eigenphases; exact representability alone would not exclude phase aliasing, as and both give phase zero. Let a real function obey , and assume the required quantum variable rotations are available. Coherent exact quantum phase estimation, a quantum variable rotation and uncomputation implementPostselection on flag one gives normalized, with probability , provided this vector is nonzero. Erasing the eigenvalue label by uncomputation is essential to preserve coherence between different eigenvectors. On this dyadic spectrum, gives , so reversing the phase-estimation gates is possible using forward controlled- calls. The choice multiplies by ; a scaled reciprocal gives the different filter used in the HHL algorithm.
Single-qubit process tomography 2026-10-14
To identify the physical channel of a single-qubit unitary gate, prepare each of the three positive Pauli matrix eigenstates and estimate each output Pauli expectation. Their nine means areThey determine the Bloch vector rotation , hence the channel on all states. If two gates have the same channel, their relative unitary commutes with all three Pauli matrices: commuting with forces it diagonal and commuting with forces equal diagonal entries. Thus they differ by a scalar global phase, proving uniqueness up to that phase. This procedure needs no controlled gate or eigenstate of the unknown gate. Estimating its bounded measurement means to error with fixed confidence uses order repetitions. It determines the relative eigenphases but cannot determine an overall eigenvalue phase from uncontrolled gate access alone.
