If the eigenvalues of are with , exact quantum phase estimation on uses controlled powers . Their Hamiltonian simulation times reach . Counting each supplied controlled power as one oracle query is valid in that oracle model, but does not prove a polynomial time implementation from generic sparse-matrix access. In the ordinary HHL algorithm, one instead chooses finite precision appropriate to the output error and the condition number, or exploits additional structure giving efficient access to the needed powers.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 67 4 a Solution Created 2026-10-03 Updated 2026-10-07
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 yieldsApplying to the controls therefore produces exactly. A computational-basis measurement returns with certainty, and the algorithm outputsThis 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.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 67 4 c Solution Created 2026-10-03 Updated 2026-10-07
Let . In terms of the Pauli X gate, the given unitary operator is , with and . Since and ,Thus the normalized eigenvectors are , with eigenvalues and respectively. At they coincide as eigenvalues, and the whole two-dimensional Hilbert space is the eigenspace; the same chosen eigenbasis remains valid.
Prepare independently of and use the exact quantum phase estimation circuit of the preceding parts on the controlled- black box. It returns exactly usingThe chosen eigenstate contains all the unknown phase information, unlike , whose eigenvalue is independent of .
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 67 4 d Solution Created 2026-10-03 Updated 2026-10-07
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 isThe 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 , thenwhere 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 isIf , 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.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 61 3 i Solution Created 2026-10-03 Updated 2026-10-06
Let and use an -qubit phase register. Begin with and apply to the phase register, creating . Controlled powers implementFor 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 isApply the inverse quantum Fourier transform to obtain the exact quantum phase estimation mappingA 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.
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-06
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
. 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 2017 iii Paper 324 3 b i Solution Created 2026-10-03 Updated 2026-10-06
Let denote the coherent exact quantum phase estimation unitary operator from the preceding part, with the data quantum register written first. For every eigenvector of ,because and lies in , with no phase-aliasing ambiguity. Apply coherently to the input quantum state and a clean quantum register; do not measure the eigenvalue label. By linearity it produces .
Append a quantum ancilla in , and use the provided quantum variable rotation with , choosing the nonnegative cosine. The resulting normalized quantum state isThe sum covers both terms; this fixes the potentially ambiguous sum placement in the abbreviated display. The orthonormal basis of eigenvectors and the unit length of each rotated quantum ancilla show that its norm is one. This is quantum spectral filtering by multiplication, not the reciprocal rotation used in the HHL algorithm.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 324 4 a ii Solution Created 2026-10-03 Updated 2026-10-05
Write the normalized input as , where and . Use a data register, an -qubit eigenvalue register, and a flag quantum ancilla. Begin with .
Apply exact quantum phase estimation to . Its controlled evolutions and inverse quantum Fourier transform produceApply the HHL controlled reciprocal rotation, with :The function of is computed by quantum arithmetic; the rotation is a quantum variable rotation. On a zero eigenvalue label with no input amplitude, define any unitary action, for example no rotation.
Run the inverse phase-estimation circuit. Because each amplitude multiplier depends only on , the eigenvalue register is reset to on both flag branches. Measuring the flag and conditioning on outcome one leavesThe successful unnormalized branch is , giving the probability in the preceding part. The operations independent of are the Hadamard gates preparing the phase register, the inverse quantum Fourier transform, the reversible reciprocal/angle arithmetic, the controlled fixed-angle rotations, and the final flag measurement. Uncomputation removes all arithmetic workspace; the -dependent controlled evolutions and the -dependent state-preparation circuit supply the input-specific operations.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 324 2 a Solution 2026-09-28
Use control qubits and exact quantum phase estimation. A controlled on the unknown eigenstate can be synthesized from the available uncontrolled operation and the known eigenstate : conditionally swap into an auxiliary register initialized to , apply to that register, and swap back. The auxiliary state is restored, while the control-one branch acquires .
After Hadamard gates and these controlled powers, the control register isThe inverse quantum Fourier transform maps this state exactly to , so measurement determines with certainty. There are controlled swaps of qubits, each promised power costs , and the inverse transform uses elementary gates. The total cost is therefore .
Apply exact quantum phase estimation to with the supplied eigenstate . Sincethe promise that the phase has an -bit representation makes an -qubit control register recover exactly. Multiplying by modulo gives . Equivalently, phase estimation may be run on , whose eigenphase is modulo one.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 324 4 a Solution 2026-09-25
First construct a controlled unitary gate from the uncontrolled oracle. Keep the supplied in a reference register. Controlled on an extra qubit, swap the data and reference registers, query on the register that contains in one branch, and swap back. Because , that branch is unchanged, while the other branch acquires on the data. Reversing the control convention with Pauli X gates gives controlled-. The reference state is returned unchanged, and each use costs one query to and controlled-SWAP gates.
Expand in an eigenbasis of . Exact quantum phase estimation with an -qubit phase register producesApply the available phase gates, controlled by the corresponding bits of , to multiply branch byThen reverse phase estimation. Although no oracle was supplied, every eigenvalue obeys , so . The inverse controlled powers can therefore be implemented with forward calls to . Since , phase estimation and its inverse use only queries. The phase register returns to , while the data register isAs a direct check, the same spectral promise implies .
Past exam of the mathematics course of the University of Cambridge 2024 ii Paper 2 15E c iv Solution Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 324 3 b Solution Created 2026-09-24 Updated 2026-09-25
The shift acts on a Fourier state asThus is an eigenvector of with eigenphase . Apply the unitary part of exact quantum phase estimation for to a zeroed control register and this Fourier state. It writes the eigenphase label coherently:
Positive-phase fractional power of a unitary operator Created 2026-10-06 Updated 2026-10-07
Choose eigenphase representatives for a unitary operator and a positive integer . Its positive-phase fractional power acts on each eigenstate by . This branch uses arguments in and can differ from the usual complex principal branch using . For exactly dyadic phases, exact quantum phase estimation stores each label in a coherent phase register; bitwise phase gates multiply it by the required phase, and inverse phase estimation removes the labels. Keeping the phase register unmeasured preserves arbitrary eigenstate superpositions and resets the ancilla qubits. With only controlled- and controlled- primitives, the direct method uses oracle calls for exact phase bits.
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.
Tensor-product eigenphase amplification 2026-10-07
An eigenstate with phase becomes an eigenstate with phase under the tensor product of copies of the unitary operator. A promise prevents modulo-one aliasing. For and dyadic , exact quantum phase estimation then needs phase bits and queries to a supplied joint controlled oracle. This is a saving in joint-oracle calls, not in the total number of individual oracle invocations needed to build that joint operation.
