Skip to content

Quantum phase estimation (QPE) measures the phase of a unitary eigenvalue. If

U∣u⟩=e2πiϕ∣u⟩,0≤ϕ<1,U\lvert u\rangle=e^{2\pi i\phi}\lvert u\rangle, \qquad 0\leq\phi<1,

controlled powers of UU and an inverse Fourier transform produce an estimate of ϕ\phi. An exactly representable phase is recovered with certainty by the ideal circuit; otherwise the output has a calculable distribution of nearby values and tails. For a general target state, QPE also partially measures which eigenspace the target occupies.

This connects interference to spectroscopy, order finding and amplitude estimation. The essential resources are a suitable target preparation and coherent controlled powers, whose implementation can cost much more than the short binary answer suggests.

Helpful background. Phase kickback explains how a target eigenphase becomes a control’s relative phase; the quantum Fourier transform supplies the decoder and its bit-order convention.

An overall phase multiplying an isolated state is unobservable. A controlled operation makes it observable relative to the branch on which nothing happens:

∣0⟩+∣1⟩2∣u⟩⟼∣0⟩+e2πikϕ∣1⟩2∣u⟩.\frac{\lvert0\rangle+\lvert1\rangle}{\sqrt2}\lvert u\rangle \longmapsto \frac{\lvert0\rangle+e^{2\pi i k\phi}\lvert1\rangle}{\sqrt2} \lvert u\rangle.

Here the control applies UkU^k on its ∣1⟩\lvert1\rangle branch. The target remains in ∣u⟩\lvert u\rangle, while interference on the control can reveal kϕk\phi modulo one. Increasing kk increases sensitivity but also creates more phase ambiguity; several powers resolve that ambiguity together.

An available implementation of UU does not automatically provide controlled-UU, particularly for an unknown black box. A known circuit can be controlled gate by gate, with additional cost. Moreover, UU and eiαUe^{i\alpha}U induce the same unconditional target channel but different controlled operations: eiαe^{i\alpha} becomes a relative control phase. A physical phase reference and the controlled implementation therefore belong to the problem specification.

The ideal analysis below assumes exact controlled powers and an exact inverse QFT. Implementation errors and imperfect target preparation are considered after the probability law.

From powered unitaries to a binary estimate

Section titled “From powered unitaries to a binary estimate”

Let L=2mL=2^m and write the control-register basis in most-significant-bit-first order,

∣k⟩=∣km−1⋯k0⟩,k=∑j=0m−12jkj.\lvert k\rangle=\lvert k_{m-1}\cdots k_0\rangle, \qquad k=\sum_{j=0}^{m-1}2^j k_j.

Hadamards prepare L−1/2∑k∣k⟩L^{-1/2}\sum_k\lvert k\rangle. Control kjk_j then applies U2jU^{2^j}. On branch kk, these powers multiply to UkU^k, giving

1L∑k=0L−1∣k⟩Uk∣u⟩=1L∑k=0L−1e2πikϕ∣k⟩∣u⟩.\begin{aligned} \frac1{\sqrt L}\sum_{k=0}^{L-1}\lvert k\rangle U^k\lvert u\rangle &=\frac1{\sqrt L}\sum_{k=0}^{L-1} e^{2\pi i k\phi}\lvert k\rangle\lvert u\rangle. \end{aligned}

The controls now form a phase-gradient state: neighboring basis amplitudes differ by e2πiϕe^{2\pi i\phi}. The target factors out because it is an eigenstate.

Three control wires apply U to powers four, two and one from top to bottom, followed by an inverse Fourier transform and three output bits

The top control is the most significant bit, so it controls U4U^4. The block F8†F_8^\dagger includes the bit ordering in the displayed Fourier definition; the measured integer is y=4y2+2y1+y0y=4y_2+2y_1+y_0. For an eigenstate the target is unchanged.

Use the positive-sign Fourier convention

FL∣a⟩=1L∑k=0L−1e2πika/L∣k⟩.F_L\lvert a\rangle=\frac1{\sqrt L} \sum_{k=0}^{L-1}e^{2\pi i ka/L}\lvert k\rangle.

If ϕ=a/L\phi=a/L, the control state is exactly FL∣a⟩F_L\lvert a\rangle. Applying FL†F_L^\dagger returns ∣a⟩\lvert a\rangle and measurement gives aa with certainty. For example, ϕ=3/8=0.0112\phi=3/8=0.011_2 produces ∣011⟩\lvert011\rangle. This non-palindromic example also detects an omitted bit reversal: 110110 would mean six, not three, unless the readout is explicitly reversed.

An exact mm-qubit QFT has an O(m2)O(m^2) elementary decomposition. Approximate QFT circuits omit sufficiently small rotations, introducing a separate error. See the QFT derivation for the gates and swaps. One measurement still returns one integer, not an entire list of eigenvalues.

For an arbitrary phase, the amplitude of outcome yy after the inverse QFT is

ay(ϕ)=1L∑k=0L−1e2πik(ϕ−y/L).a_y(\phi)=\frac1L\sum_{k=0}^{L-1} e^{2\pi i k(\phi-y/L)}.

Phases live on a circle. Define

dT(x,z)=min⁡ℓ∈Z∣x−z−ℓ∣,δy=ϕ−y/L−ℓy∈[−1/2,1/2).\begin{aligned} d_{\mathbb T}(x,z)&=\min_{\ell\in\mathbb Z}|x-z-\ell|,\\ \delta_y&=\phi-y/L-\ell_y\in[-1/2,1/2). \end{aligned}

Subtracting the integer ℓy\ell_y leaves the exponential sum unchanged. Summing its geometric progression gives

ay(ϕ)=eπi(L−1)δysin⁡(πLδy)Lsin⁡(πδy),Pr⁡(Y=y)=sin⁡2(πLδy)L2sin⁡2(πδy).\begin{aligned} a_y(\phi)&=e^{\pi i(L-1)\delta_y} \frac{\sin(\pi L\delta_y)}{L\sin(\pi\delta_y)},\\ \Pr(Y=y)&=\frac{\sin^2(\pi L\delta_y)} {L^2\sin^2(\pi\delta_y)}. \end{aligned}

At δy=0\delta_y=0 take the continuous value ay=1a_y=1. The tails are part of the ideal measurement distribution. In particular, a phase near one can yield y=0y=0 with high probability: that is a nearby estimate on the circle.

For ϕ=0.3\phi=0.3 and L=8L=8, direct substitution gives

Pr⁡(Y=2)≈0.578,Pr⁡(Y=3)≈0.259.\Pr(Y=2)\approx0.578,\qquad \Pr(Y=3)\approx0.259.

These adjacent bins carry about 0.8370.837 of the probability. A single result 2/82/8 is an estimate with error 0.050.05, not an assertion that the unknown phase equals 0.250.25.

Choose a nearest grid point y⋆/Ly_\star/L on the circle, including either choice at a tie. Its distance is at most 1/(2L)1/(2L), and elementary sine bounds yield

Pr⁡(Y=y⋆)≥4π2≈0.405.\Pr(Y=y_\star)\geq\frac4{\pi^2}\approx0.405.

This is a guarantee for one particular bin, and is below one half. It alone does not justify majority voting on that bin. Confidence can instead be increased by accepting a specified neighborhood and using additional phase qubits, or by a repetition scheme with a proved success event. Arithmetic averages or medians of representatives in [0,1)[0,1) require particular care at the zero/one seam.

State accuracy as an inequality. For n≥1n\geq1 and 0<ϵ<10<\epsilon<1, a sufficient choice is

m=n+s,s=⌈log⁡2(2+12ϵ)⌉.\begin{aligned} m&=n+s,\\ s&=\left\lceil\log_2\left(2+\frac1{2\epsilon}\right)\right\rceil. \end{aligned}

Then the unrounded estimate ϕ^=Y/2m\widehat\phi=Y/2^m obeys

Pr⁡ ⁣[dT(ϕ^,ϕ)>2−n]≤ϵ.\Pr\!\left[d_{\mathbb T}(\widehat\phi,\phi)>2^{-n}\right] \leq\epsilon.

Here is a direct, conservative tail argument. Put x=LdT(y/L,ϕ)x=Ld_{\mathbb T}(y/L,\phi). For x>0x>0, the denominator bound ∣sin⁡(πδy)∣≥2∣δy∣|\sin(\pi\delta_y)|\geq2|\delta_y| gives Pr⁡(Y=y)≤1/(4x2)\Pr(Y=y)\leq1/(4x^2). At most two outcomes have distance xx in each interval [r,r+1)[r,r+1). The failure event has x>2sx>2^s, so

Pr⁡(failure)≤12∑r=2s∞1r2≤12(2s−1)≤ϵ.\Pr(\text{failure}) \leq\frac12\sum_{r=2^s}^{\infty}\frac1{r^2} \leq\frac1{2(2^s-1)} \leq\epsilon.

The chosen number of qubits is sufficient, not optimal. It guarantees proximity, not recovery of a uniquely defined first nn binary digits for phases arbitrarily close to a binary boundary.

Rounding ϕ^\widehat\phi to the nearest nn-bit grid point adds at most 2−(n+1)2^{-(n+1)} of circular error; discarding digits can add almost 2−n2^{-n}. If the final answer must be rounded to nn bits while retaining error at most 2−n2^{-n}, run the same bound with target raw error 2−(n+1)2^{-(n+1)} first. One extra phase qubit then leaves room for the rounding error.

Finite-resolution measurement of a general target

Section titled “Finite-resolution measurement of a general target”

Let the distinct unitary eigenvalues have spectral projectors PλP_\lambda:

U=∑λe2πiϕλPλ.U=\sum_\lambda e^{2\pi i\phi_\lambda}P_\lambda.

Reading the control outcome yy applies the target Kraus operator

Ky=1L∑k=0L−1e−2πiky/LUk=∑λay(ϕλ)Pλ.K_y=\frac1L\sum_{k=0}^{L-1}e^{-2\pi i ky/L}U^k =\sum_\lambda a_y(\phi_\lambda)P_\lambda.

Thus, for any initial density operator ρ\rho,

py=∑λ∣ay(ϕλ)∣2Tr⁡(Pλρ),ρy=KyρKy†/py(py>0).\begin{aligned} p_y&=\sum_\lambda |a_y(\phi_\lambda)|^2 \operatorname{Tr}(P_\lambda\rho),\\ \rho_y&=K_y\rho K_y^\dagger/p_y\quad(p_y>0). \end{aligned}

The probabilities are a weighted mixture of phase distributions because different eigenspaces are orthogonal. The conditional state need not be an eigenstate: several eigenspaces can contribute coherently to the same bin. Within a degenerate eigenspace, KyK_y is a scalar, so it does not resolve or dephase the vectors inside that eigenspace.

For a concrete example, take L=4L=4, two orthogonal eigenvectors with phases 00 and 1/61/6, and input (∣u0⟩+∣u1⟩)/2(\lvert u_0\rangle+\lvert u_1\rangle)/\sqrt2. Outcome zero has amplitudes

a0(0)=1,a0(1/6)=i34.a_0(0)=1,\qquad a_0(1/6)=\frac{i\sqrt3}{4}.

It therefore occurs with probability 19/3219/32 and leaves

∣ψ0⟩=4∣u0⟩+i3∣u1⟩19.\lvert\psi_0\rangle =\frac{4\lvert u_0\rangle+i\sqrt3\lvert u_1\rangle}{\sqrt{19}}.

This finite-resolution filter preserves a superposition. Exact projective measurement is obtained when all relevant distinct phases lie on distinct grid points; well-separated peaks approximate that behavior.

No amplitude is created in an eigenspace absent from the input. However, Fourier tails can produce numerical estimates near an eigenphase that is absent. Those are different claims. Likewise, QPE does not favor low energy by itself: a well-resolved, identifiable eigenspace of initial weight ww requires order 1/w1/w fresh attempts to see once on average. Finite-resolution false positives and preparation errors must also be included when accepting a result as a particular energy.

Ignoring the readout averages the conditional states with their probabilities. Substituting KyK_y and using discrete Fourier orthogonality, ∑y=0L−1e−2πi(k−k′)y/L=Lδkk′\sum_{y=0}^{L-1}e^{-2\pi i(k-k')y/L}=L\delta_{kk'}, gives

EL(ρ)=∑ypyρy=∑yKyρKy†=1L∑k=0L−1UkρU−k.\mathcal E_L(\rho)=\sum_y p_y\rho_y =\sum_y K_y\rho K_y^\dagger =\frac1L\sum_{k=0}^{L-1}U^k\rho U^{-k}.

The same channel results if the control register is simply traced out, even before the inverse QFT. A unitary acting only on that discarded register cannot change the target’s reduced state. This is an average over coherent evolutions, not a prescription to replace every run by a particular eigenstate.

In the spectral decomposition, each coherence block is multiplied by

PλEL(ρ)Pμ=[1L∑k=0L−1e2πik(ϕλ−ϕμ)]PλρPμ.P_\lambda\mathcal E_L(\rho)P_\mu =\left[\frac1L\sum_{k=0}^{L-1} e^{2\pi i k(\phi_\lambda-\phi_\mu)}\right] P_\lambda\rho P_\mu.

Consequently, eigenspace populations and all coherence within a degenerate eigenspace are preserved. Distinct phases on the LL-point grid have zero multiplier, recovering the nonselective projective measurement ∑λPλρPλ\sum_\lambda P_\lambda\rho P_\lambda. At finite resolution, off-grid coherences can survive, as the example above illustrates.

Discarding the phase register therefore generally changes the target, even when no result is used. To restore an arbitrary input coherently, retain the register and reverse the entire ideal QPE circuit before measurement or other loss of coherence. Reversing only the inverse QFT leaves the controlled-power entanglement in place.

Precision, evolution time and implementation error

Section titled “Precision, evolution time and implementation error”

There are mm controlled-power blocks, but their cost depends on the available operations:

Available operation Implementing U2jU^{2^j} Total cost of the powers
Supplied powered-unitary primitive One call to the specified power mm calls in this stronger access model
Repeated controlled-UU 2j2^j base calls 2m−12^m-1 base calls
Controlled Hamiltonian simulation Evolution for time 2jτ2^j\tau Simulated durations sum to (2m−1)τ(2^m-1)\tau

Structured arithmetic can implement powers efficiently without literal repetition, as in Shor’s algorithm. For energy estimation with U=e−iHτ/ℏU=e^{-iH\tau/\hbar}, the total interrogation time in the standard sequential circuit is

Ttot=(2m−1)τ.T_{\rm tot}=(2^m-1)\tau.

The longest individual block lasts 2m−1τ2^{m-1}\tau; the target remains coherent across all blocks and the decoder. At fixed confidence, the bin scale gives an energy resolution of order ℏ/Ttot\hbar/T_{\rm tot}. More confidence or a small initial overlap increases the total experimental cost. Merely counting output bits or controlled-power boxes hides these costs.

To separate implementation from ideal statistical error, suppose the target preparation has trace distance at most ηprep\eta_{\rm prep} from the specified input. If implemented controlled blocks differ from their ideal unitaries in operator norm by at most ηj\eta_j, and the inverse QFT differs by at most ηF\eta_F, telescoping the circuit and using measurement contractivity bounds the change in any output-event probability by

ηprep+∑jηj+ηF.\eta_{\rm prep}+\sum_j\eta_j+\eta_F.

This bound applies to unitary implementation errors; general noise can instead be bounded using channel distances. Long powers are often harder because simulation and calibration errors accumulate with duration. An operator-norm error does not receive an additional weight merely because its block has the largest power. For repeated base gates each of error at most η\eta, a conservative total contribution is (2m−1)η(2^m-1)\eta.

Energy estimation without a phase ambiguity

Section titled “Energy estimation without a phase ambiguity”

For H∣E⟩=E∣E⟩H\lvert E\rangle=E\lvert E\rangle, the shifted unitary

U=e−i(H−ErefI)τ/ℏU=e^{-i(H-E_{\rm ref}I)\tau/\hbar}

has eigenphase

ϕE=(Eref−E)τ2πℏ(mod1).\phi_E=\frac{(E_{\rm ref}-E)\tau}{2\pi\hbar}\pmod1.

The minus sign follows from the time-evolution operator. The offset is a genuine control phase and must be implemented consistently. An energy interval of width W=Emax⁡−Emin⁡>0W=E_{\max}-E_{\min}>0 is mapped injectively into the phase circle if Wτ<2πℏW\tau<2\pi\hbar.

Injectivity of the exact mapping alone does not make naive finite-precision decoding safe. Taking Eref=Emax⁡E_{\rm ref}=E_{\max} puts the upper endpoint at phase zero, so a nearby estimate just below one must be unwrapped before converting it to an energy.

A convenient alternative puts the entire promised interval away from that seam:

Eref=Emax⁡+W2,τ=πℏW.E_{\rm ref}=E_{\max}+\frac W2,\qquad \tau=\frac{\pi\hbar}{W}.

Then ϕE∈[1/4,3/4]\phi_E\in[1/4,3/4]. If the circular phase error is strictly less than 1/41/4, the reported representative in [0,1)[0,1) has the same ordinary absolute error, and

E^=Eref−2Wϕ^,∣E^−E∣=2W∣ϕ^−ϕE∣.\widehat E=E_{\rm ref}-2W\widehat\phi, \qquad |\widehat E-E|=2W|\widehat\phi-\phi_E|.

For example, a promised range [2,6][2,6] in a chosen energy unit gives W=4W=4, Eref=8E_{\rm ref}=8 and ϕE=(8−E)/8\phi_E=(8-E)/8. Energy E=3E=3 has phase 5/85/8; phase error at most 1/1281/128 means energy error at most 1/161/16 in that unit. If W=0W=0, the promised energy is already known and this construction is unnecessary.

Abrams and Lloyd developed the eigenvalue application; molecular examples and resource studies include Aspuru-Guzik and collaborators and Reiher and collaborators. A useful calculation must include preparation overlap and controlled-evolution error, not only phase bins. Trotter–Suzuki methods treats one implementation and its energy bias; digital quantum simulation places it among other methods.

The Griffiths–Niu construction replaces a Fourier transform immediately followed by computational-basis measurement with sequential one-qubit measurements and classical phase corrections. It preserves those output statistics; it does not implement a coherent Fourier transform for use by a later quantum subroutine. Reordering the controlled powers appropriately also allows the phase register to be replaced by a reused ancilla.

In an iterative protocol, each round applies a selected controlled power and a correction determined by earlier outcomes. Width decreases, but rounds become sequential and accurate measurement, reset and feedforward matter. The largest required power remains. Dobšíček and collaborators give a concrete single-ancilla implementation.

For an eigenstate, the target can be retained or the same eigenstate can be prepared again. For an unknown superposition, retaining the target preserves the correlations that make successive bits refer to a common phase. Preparing a fresh superposition independently for every bit generally samples different latent eigenphases and need not reproduce standard QPE. Repeated statistical experiments on such inputs require an explicit mixture-estimation analysis.

Kitaev’s approach instead estimates sine and cosine quadratures of e2πikϕe^{2\pi i k\phi} for selected powers, then combines their modular information classically. One experiment with control correction diag⁡(1,e−iβ)\operatorname{diag}(1,e^{-i\beta}) followed by a Hadamard gives

Pr⁡(0∣k,β)=1+cos⁡(2πkϕ−β)2.\Pr(0\mid k,\beta) =\frac{1+\cos(2\pi k\phi-\beta)}2.

Choosing β=0\beta=0 or π/2\pi/2 reveals the two quadratures through repeated samples. This trades a coherent multi-qubit decoder for statistical inference; it does not make long controlled evolution or state preparation free.

For ϕ=3/8\phi=3/8 and three control qubits, find the state before and after F8†F_8^\dagger. Why is this a better bit-order test than ϕ=5/8\phi=5/8?

Solution

The control state is 8−1/2∑k=07e2πi3k/8∣k⟩=F8∣3⟩8^{-1/2}\sum_{k=0}^7 e^{2\pi i3k/8}\lvert k\rangle=F_8\lvert3\rangle. The inverse produces ∣3⟩=∣011⟩\lvert3\rangle=\lvert011\rangle with certainty. Reversing the readout gives 110110, which would be decoded as six without a reversal correction. The string 101101 for 5/85/8 is a palindrome and would conceal this mistake.

Starting from ∣+⟩⊗m∣u⟩\lvert+\rangle^{\otimes m}\lvert u\rangle, derive the phase-gradient state by considering one computational branch.

Solution

On ∣km−1⋯k0⟩\lvert k_{m-1}\cdots k_0\rangle, the target operation is

∏j=0m−1U2jkj=U∑j2jkj=Uk.\prod_{j=0}^{m-1}U^{2^j k_j} =U^{\sum_j2^j k_j}=U^k.

It contributes e2πikϕe^{2\pi i k\phi} and leaves the eigenstate unchanged. Summing all branches with their original amplitude 2−m/22^{-m/2} gives the stated phase gradient. The tensor order and integer weights must agree; reversing only the powers changes this state.

Prove the 4/π24/\pi^2 nearest-bin bound. If a raw estimate is within 2−(n+1)2^{-(n+1)} of the phase on the circle, bound its error after rounding to the nearest nn-bit phase.

Solution

For the nearest bin, ∣δ∣≤1/(2L)|\delta|\leq1/(2L). The inequalities sin⁡x≥2x/π\sin x\geq2x/\pi for 0≤x≤π/20\leq x\leq\pi/2 and sin⁡x≤x\sin x\leq x give

∣sin⁡(πLδ)∣≥2L∣δ∣,L∣sin⁡(πδ)∣≤πL∣δ∣.|\sin(\pi L\delta)|\geq2L|\delta|, \qquad L|\sin(\pi\delta)|\leq\pi L|\delta|.

Hence ∣ay∣≥2/π|a_y|\geq2/\pi, and squaring proves the claim. The value at zero follows by continuity. Rounding adds at most 2−(n+1)2^{-(n+1)}; the triangle inequality for circular distance gives final error at most 2−n2^{-n}. This is a proximity statement, not a guarantee of the same truncated binary digits as the exact phase.

Suppose the input is 0.7∣u1⟩+eiγ0.3∣u2⟩\sqrt{0.7}\lvert u_1\rangle+e^{i\gamma}\sqrt{0.3}\lvert u_2\rangle. Find the outcome probabilities and target states when the phases occupy distinct exact grid points. Then verify the L=4L=4, phases 0,1/60,1/6 example in the text and explain the difference. For that equal-weight input, find the target density matrix and purity when the readout is ignored. Does ignoring it restore the initial state?

Solution

For exact distinct bins, the final state is 0.7∣y1⟩∣u1⟩+eiγ0.3∣y2⟩∣u2⟩\sqrt{0.7}\lvert y_1\rangle\lvert u_1\rangle+e^{i\gamma}\sqrt{0.3}\lvert y_2\rangle\lvert u_2\rangle. Outcomes have probabilities 0.70.7 and 0.30.3 and leave the corresponding eigenstates. Orthogonality of the readouts removes γ\gamma from these probabilities.

For the finite-resolution example,

a0(1/6)=1+eiπ/3+e2iπ/3+eiπ4=i34.a_0(1/6)=\frac{1+e^{i\pi/3}+e^{2i\pi/3}+e^{i\pi}}4 =\frac{i\sqrt3}4.

With equal input weights, p0=(1+3/16)/2=19/32p_0=(1+3/16)/2=19/32. Normalizing (∣u0⟩+i3∣u1⟩/4)/2(\lvert u_0\rangle+i\sqrt3\lvert u_1\rangle/4)/\sqrt2 gives (4∣u0⟩+i3∣u1⟩)/19(4\lvert u_0\rangle+i\sqrt3\lvert u_1\rangle)/\sqrt{19}. The same readout now receives both eigenphase amplitudes, so the conditional target retains their coherence.

For the ignored readout, the 0101 coherence is multiplied by a0(−1/6)=−i3/4a_0(-1/6)=-i\sqrt3/4. In the ordered basis (∣u0⟩,∣u1⟩)(\lvert u_0\rangle,\lvert u_1\rangle),

E4(ρ)=(1/2−i3/8i3/81/2),Tr⁡[E4(ρ)2]=1932.\mathcal E_4(\rho)= \begin{pmatrix} 1/2&-i\sqrt3/8\\ i\sqrt3/8&1/2 \end{pmatrix},\qquad \operatorname{Tr}[\mathcal E_4(\rho)^2]=\frac{19}{32}.

The initial pure state’s off-diagonal entries were 1/21/2. Its populations are unchanged, but its coherence and purity have decreased. The averaged state is neither the original state nor the fully dephased I/2I/2. Coherently reversing QPE before reading or discarding its register would instead restore the original state.

For U=e−i(H−Emax⁡I)τ/ℏU=e^{-i(H-E_{\max}I)\tau/\hbar}, derive the no-aliasing condition on a promised interval of width WW. Explain the possible decoding error near Emax⁡E_{\max}, and show how the interior-interval choice in the text avoids it on its success event.

Solution

The exact phase is (Emax⁡−E)τ/(2πℏ)(E_{\max}-E)\tau/(2\pi\hbar). If Wτ<2πℏW\tau<2\pi\hbar, it lies in one interval of width less than one and determines

E=Emax⁡−2πℏϕEτ.E=E_{\max}-\frac{2\pi\hbar\phi_E}{\tau}.

But a true phase ϕE=δ\phi_E=\delta close to zero and an estimate 1−δ1-\delta have circular error 2δ2\delta, while naive subtraction uses an error near one. With Eref=Emax⁡+W/2E_{\rm ref}=E_{\max}+W/2 and τ=πℏ/W\tau=\pi\hbar/W, the exact interval becomes [1/4,3/4][1/4,3/4]. A circular error strictly below 1/41/4 cannot cross the seam, so ordinary energy decoding has error exactly 2W2W times the phase error.

If powers are implemented by repeated controlled-UU, count the base calls. Compare three distinct resource counts for m=3m=3 and base evolution duration τ\tau.

Solution

The count is ∑j=0m−12j=2m−1\sum_{j=0}^{m-1}2^j=2^m-1, of order 1/Δϕ1/\Delta\phi at fixed confidence. For m=3m=3 there are three controlled-power blocks, seven base calls and maximum individual duration 4τ4\tau. Their sequential durations sum to 7τ7\tau, before decoding and other gates. Those counts describe different resources.

Apply diag⁡(1,e−iβ)\operatorname{diag}(1,e^{-i\beta}) and then a Hadamard to (∣0⟩+e2πikϕ∣1⟩)/2(\lvert0\rangle+e^{2\pi i k\phi}\lvert1\rangle)/\sqrt2. Find Pr⁡(0)\Pr(0) for β=0\beta=0 and π/2\pi/2.

Solution

The amplitude of zero is [1+ei(2πkϕ−β)]/2[1+e^{i(2\pi k\phi-\beta)}]/2. Its squared modulus is [1+cos⁡(2πkϕ−β)]/2[1+\cos(2\pi k\phi-\beta)]/2. The two choices give

Pr⁡(0∣β=0)=1+cos⁡(2πkϕ)2,Pr⁡(0∣β=π/2)=1+sin⁡(2πkϕ)2.\Pr(0\mid\beta=0)=\frac{1+\cos(2\pi k\phi)}2, \qquad \Pr(0\mid\beta=\pi/2)=\frac{1+\sin(2\pi k\phi)}2.

Estimating both quadratures removes the cosine-only reflection ambiguity. Multiple powers and repeated samples are still needed to resolve the phase to a chosen accuracy with a stated confidence.

  • D. S. Abrams and S. Lloyd, “Quantum algorithm providing exponential speed increase for finding eigenvalues and eigenvectors,” Physical Review Letters 83, 5162–5165, 1999, doi:10.1103/PhysRevLett.83.5162.
  • A. Aspuru-Guzik, A. D. Dutoi, P. J. Love, and M. Head-Gordon, “Simulated quantum computation of molecular energies,” Science 309, 1704–1707, 2005, doi:10.1126/science.1113479.
  • R. Cleve, A. Ekert, C. Macchiavello, and M. Mosca, “Quantum algorithms revisited,” Proceedings of the Royal Society A 454, 339–354, 1998, doi:10.1098/rspa.1998.0164.
  • M. Dobšíček, G. Johansson, V. Shumeiko, and G. Wendin, “Arbitrary accuracy iterative quantum phase estimation algorithm using a single ancillary qubit: A two-qubit benchmark,” Physical Review A 76, 030306(R), 2007, doi:10.1103/PhysRevA.76.030306.
  • R. B. Griffiths and C.-S. Niu, “Semiclassical Fourier transform for quantum computation,” Physical Review Letters 76, 3228–3231, 1996, doi:10.1103/PhysRevLett.76.3228.
  • A. Yu. Kitaev, “Quantum measurements and the Abelian stabilizer problem,” 1995, arXiv:quant-ph/9511026.
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press, 2010, doi:10.1017/CBO9780511976667.
  • M. Reiher, N. Wiebe, K. M. Svore, D. Wecker, and M. Troyer, “Elucidating reaction mechanisms on quantum computers,” Proceedings of the National Academy of Sciences 114, 7555–7560, 2017, doi:10.1073/pnas.1619152114.
  • P. W. Shor, “Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer,” SIAM Journal on Computing 26, 1484–1509, 1997, doi:10.1137/S0097539795293172.