Introduction
Estimating numerical properties of an unknown probability distribution is a fundamental problem in statistics and theoretical computer science. Rather than reconstructing the entire distribution, the goal is to estimate a specified functional to a prescribed accuracy using as few samples or oracle queries as possible.
An important family of such functionals is entropy, which quantifies uncertainty and is a basic tool in information theory, statistics, and theoretical computer science. Shannon entropy characterizes the fundamental limit of lossless data compression [1 , 2 ] , while Rényi entropies provide a family of measures that distinguish different features of a distribution [3 ] . Rényi entropies arise in the analysis of guessing moments [4 ] , and their smooth variants have operational applications to randomness extraction and privacy amplification [5 ] . Estimating these quantities therefore provides information that is not captured by a single entropy value.
When the distribution is unknown, computing its entropy is a statistical problem. A direct approach first estimates each probability and then substitutes these estimates into the entropy formula. For a large alphabet, however, many outcomes may be observed rarely or not at all, and the resulting bias can be substantial [6 ] . Estimating a scalar functional can require fewer samples than learning the entire distribution, as demonstrated by sublinear entropy estimators and polynomial approximation methods [7 , 8 , 9 ] . The Rényi family is particularly instructive: its classical sample complexity changes markedly with α \alpha α , and integer orders above one admit collision-based estimators that are unavailable for general non-integer orders [10 , 11 ] . These differences make non-integer Rényi entropy a natural problem for understanding the role of quantum access in statistical estimation.
Quantum algorithms offer a way to estimate such properties using coherent access to the underlying distribution. We consider purified quantum query-access to p \mathbf{p} p , where a unitary U p U_{\mathbf{p}} U p prepares
U p ∣ 0 ⟩ G ∣ 0 ⟩ B = ∑ i = 1 n p i ∣ ϕ i ⟩ G ∣ i ⟩ B , U_{\mathbf{p}}\lvert0\rangle_G\lvert0\rangle_B=\sum_{i=1}^{n}\sqrt{p_i}\lvert\phi_i\rangle_G\lvert i\rangle_B, U p ∣ 0 ⟩ G ∣ 0 ⟩ B = i = 1 ∑ n p i ∣ ϕ i ⟩ G ∣ i ⟩ B ,
and its inverse and controlled versions are also available. The normalized garbage states ∣ ϕ i ⟩ \lvert\phi_i\rangle ∣ ϕ i ⟩ need not be known. Measuring the label register produces an ordinary sample, while coherent access permits interference between successive oracle calls. This model encompasses reversible sampling procedures and supports distributional property estimation through projected unitary encodings [14 ] . Our resource measure is the number of oracle queries; the cost of constructing a preparation oracle is not included. The objective is to output an additive ϵ \epsilon ϵ -approximation to H α ( p ) H_\alpha(\mathbf{p}) H α ( p ) with prescribed success probability, without learning all the probabilities.
Quantum algorithms for distributional property testing and entropy estimation [13 , 14 , 15 , 16 , 17 , 18 , 19 , 20 ] have been developed using amplitude estimation [12 ] and quantum singular value transformation (QSVT) [21 ] . In particular, Wang, Zhang, and Li Wang, Zhang, and Li [19 ] introduced a framework combining QSVT, quantum annealing, and variable-time amplitude estimation. Their algorithms estimate Rényi entropy using
O ~ ( n 1 − 1 / ( 2 α ) ϵ + n ϵ 1 + 1 / ( 2 α ) ) (1) \widetilde{O}\left(\frac{n^{1-1/(2\alpha)}}{\epsilon}+\frac{\sqrt{n}}{\epsilon^{1+1/(2\alpha)}}\right) \tag*{(1)} O ( ϵ n 1 − 1/ ( 2 α ) + ϵ 1 + 1/ ( 2 α ) n ) (1)
queries for α > 1 \alpha> 1 α > 1 , and
O ~ ( n 1 / ( 2 α ) ϵ 1 + 1 / ( 2 α ) ) (2) \widetilde{O}\left(\frac{n^{1/(2\alpha)}}{\epsilon^{1+1/(2\alpha)}}\right) \tag*{(2)} O ( ϵ 1 + 1/ ( 2 α ) n 1/ ( 2 α ) ) (2)
queries for 0 < α < 1 0 < \alpha< 1 0 < α < 1 . Their use of different transformation polynomials on different intervals addresses the varying approximation costs associated with probabilities of different magnitudes. More recently, Chen et al. [20 ] introduced a multilevel framework for estimating functionals of discrete distributions and obtained improved algorithms for Tsallis entropy. For Rényi entropy with 0 < α < 1 0 < \alpha< 1 0 < α < 1 , their results, combined with those of Wang et al. [19 ] , give the query upper bound
O ~ ( min { n 1 / ( 2 α ) ϵ 1 + 1 / ( 2 α ) , n 1 / α − 1 / 2 ϵ 1 / α } ) . (3) \widetilde{O}\left(\min\left\{\frac{n^{1/(2\alpha)}}{\epsilon^{1+1/(2\alpha)}},\frac{n^{1/\alpha-1/2}}{\epsilon^{1/\alpha}}\right\}\right). \tag*{(3)} O ( min { ϵ 1 + 1/ ( 2 α ) n 1/ ( 2 α ) , ϵ 1/ α n 1/ α − 1/2 } ) . (3)
These results leave open whether the quantum query complexity of Rényi entropy estimation can be further improved, particularly in its dependence on both the distribution size and the precision ϵ \epsilon ϵ .
A central issue is the accuracy with which the power sum must be estimated. Although Rényi and Tsallis entropies are both determined by P α ( p ) P_\alpha(\mathbf{p}) P α ( p ) , their estimation requirements differ. Additive estimation of Tsallis entropy requires additive accuracy in the power sum. By contrast, for fixed α ≠ 1 \alpha\ne1 α = 1 , additive estimation of Rényi entropy requires relative accuracy in the power sum. Indeed, if ∣ P ~ α − P α ∣ ≤ r P α |\widetilde{P}_\alpha-P_\alpha| \le rP_\alpha ∣ P α − P α ∣ ≤ r P α with r ≤ 1 / 2 r \le1/2 r ≤ 1/2 , then
∣ log P ~ α − log P α 1 − α ∣ ≤ 2 r ∣ 1 − α ∣ . (4) \left|\frac{\log\widetilde{P}_\alpha-\log P_\alpha}{1-\alpha}\right|\leq\frac{2r}{|1-\alpha|}. \tag*{(4)} 1 − α log P α − log P α ≤ ∣1 − α ∣ 2 r . (4)
Consequently, the magnitude of P α ( p ) P_\alpha(\mathbf{p}) P α ( p ) is directly relevant to the estimation cost. This suggests the following question:
Can the multilevel framework exploit the magnitude of the power sum to improve the query complexity of Rényi entropy estimation?
Main results
We give Rényi entropy estimators with improved query complexity for any fixed non-integer α > 1 \alpha> 1 α > 1 and for 0 < α < 1 0 < \alpha< 1 0 < α < 1 , together with a strengthened lower bound in the latter regime. Throughout the following discussions, O ~ \widetilde{O} O hides poly-logarithmic factors in n n n , 1 / ϵ 1/\epsilon 1/ ϵ , and 1 / δ 1/\delta 1/ δ , where δ \delta δ is the maximum failure probability.
Noninteger orders above one: In Theorem 4, we obtain the query upper bound
O ~ ( n max { 1 / 2 , 1 − 1 / α } ϵ ) \widetilde{O}\left(\frac{n^{\max\{1/2,1-1/\alpha\}}}{\epsilon}\right) O ( ϵ n m a x { 1/2 , 1 − 1/ α } )
for estimating Rényi entropy H α ( p ) H_\alpha(\mathbf{p}) H α ( p ) for non-integer α > 1 \alpha> 1 α > 1 . Thus, the complexity is O ~ ( n / ϵ ) \widetilde{O}(\sqrt{n}/\epsilon) O ( n / ϵ ) for 1 < α < 2 1 < \alpha< 2 1 < α < 2 and O ~ ( n 1 − 1 / α / ϵ ) \widetilde{O}(n^{1-1/\alpha}/\epsilon) O ( n 1 − 1/ α / ϵ ) for non-integer α > 2 \alpha> 2 α > 2 . The corresponding best known upper bound is
O ~ ( n 1 − 1 / ( 2 α ) ϵ + n ϵ 1 + 1 / ( 2 α ) ) \widetilde{O}\left(\frac{n^{1-1/(2\alpha)}}{\epsilon}+\frac{\sqrt{n}}{\epsilon^{1+1/(2\alpha)}}\right) O ( ϵ n 1 − 1/ ( 2 α ) + ϵ 1 + 1/ ( 2 α ) n )
given in [19 ] . Our result lowers the exponent of n n n in the first term and achieves linear dependence on 1 / ϵ 1/\epsilon 1/ ϵ throughout the α > 1 \alpha> 1 α > 1 regime. For 1 < α < 2 1 < \alpha< 2 1 < α < 2 and constant accuracy, the dimensional exponent matches the lower bound Ω ( n 1 / 2 − o ( 1 ) ) \Omega(n^{1/2-o(1)}) Ω ( n 1/2 − o ( 1 ) ) from quantum sample-to-query lifting [23 ] , up to subpolynomial factors.
Orders below one: In Theorem 5, we obtain query upper bound
O ~ ( n 1 / ( 2 α ) ϵ max { 1 , 1 / ( 2 α ) } ) \widetilde{O}\left(\frac{n^{1/(2\alpha)}}{\epsilon^{\max\{1,1/(2\alpha)\}}}\right) O ( ϵ m a x { 1 , 1/ ( 2 α )} n 1/ ( 2 α ) )
for estimating Rényi entropy H α ( p ) H_\alpha(\mathbf{p}) H α ( p ) for 0 < α < 1 0 < \alpha< 1 0 < α < 1 . Compared with the current best upper bound
O ~ ( min { n 1 / ( 2 α ) ϵ 1 + 1 / ( 2 α ) , n 1 / α − 1 / 2 ϵ 1 / α } ) \widetilde{O}\left(\min\left\{\frac{n^{1/(2\alpha)}}{\epsilon^{1+1/(2\alpha)}},\frac{n^{1/\alpha-1/2}}{\epsilon^{1/\alpha}}\right\}\right) O ( min { ϵ 1 + 1/ ( 2 α ) n 1/ ( 2 α ) , ϵ 1/ α n 1/ α − 1/2 } )
given in [20 ] , ours improves the dependence on 1 / ϵ 1/\epsilon 1/ ϵ without increasing the exponent of n n n . There is a transition at α = 1 / 2 \alpha=1/2 α = 1/2 : the complexity is O ~ ( ( n / ϵ ) 1 / ( 2 α ) ) \widetilde{O}((n/\epsilon)^{1/(2\alpha)}) O (( n / ϵ ) 1/ ( 2 α ) ) for 0 < α ≤ 1 / 2 0 < \alpha\leq1/2 0 < α ≤ 1/2 , and O ~ ( n 1 / ( 2 α ) / ϵ ) \widetilde{O}(n^{1/(2\alpha)}/\epsilon) O ( n 1/ ( 2 α ) / ϵ ) for 1 / 2 ≤ α < 1 1/2 \leq\alpha< 1 1/2 ≤ α < 1 .
Precision-dependent lower bound: For fixed 0 < α < 1 0 < \alpha< 1 0 < α < 1 , Theorem 6 gives a stronger query lower bound
Ω ( n 1 / ( 2 α ) − o ( 1 ) + n 1 / ( 2 α ) − 1 / 2 ϵ max { 1 , 1 / ( 2 α ) } ) \Omega\left(n^{1/(2\alpha)-o(1)}+\frac{n^{1/(2\alpha)-1/2}}{\epsilon^{\max\{1,1/(2\alpha)\}}}\right) Ω ( n 1/ ( 2 α ) − o ( 1 ) + ϵ m a x { 1 , 1/ ( 2 α )} n 1/ ( 2 α ) − 1/2 )
than the current best of [23 ] . This follows by perturbing the nonzero tail mass of a distribution with one heavy outcome and a uniform light tail. Two such distributions have an entropy gap exceeding 2 ϵ 2\epsilon 2 ϵ , while suitable purification oracles are close in operator norm. A hybrid argument then gives Ω ( n 1 / ( 2 α ) − 1 / 2 / ϵ ) \Omega(n^{1/(2\alpha)-1/2}/\epsilon) Ω ( n 1/ ( 2 α ) − 1/2 / ϵ ) queries. Combining this with the original bound of [23 ] strengthens the precision-dependent term for $1/2 < \alpha < 1 and identifies the optimal precision dependence of our algorithm, up to logarithmic factors.
Classical entropy and functional estimation: Paninski [6 ] analyzed the bias and consistency of entropy estimators, including the difficulties caused by undersampling. Valiant and Valiant [7 ] established that entropy can be estimated with a sublinear number of samples in the alphabet size. Jiao, Venkat, Han, and Weissman [8 ] and Wu and Yang [9 ] developed minimax estimators based on polynomial approximation, clarifying the distinct roles of bias reduction and statistical fluctuations. Related approximation methods also yield optimal support-size estimators [24 ] . These works show why direct estimation of a functional can be preferable to reconstructing an unknown distribution.
For Rényi entropy, Acharya, Orlitsky, Suresh, and Tyagi [10 ] identified different sample-complexity regimes for orders below one, non-integer orders above one, and integer orders above one. Obremski and Skorski [11 ] developed entropy-dependent bounds for integer orders and lower bounds with explicit alphabet and accuracy dependence. At constant accuracy, the characteristic classical dimensional exponents are 1 / α 1/\alpha 1/ α for 0 < α < 1 0 < \alpha< 1 0 < α < 1 and one for non-integer α > 1 \alpha> 1 α > 1 , up to subpolynomial factors. The integer case is special because P α P_{\alpha} P α is a collision probability. Our work addresses the non-integer regimes using coherent query access, a stronger resource than independent samples.
Quantum distributional property estimation: Bravyi, Harrow, and Hassidim [13 ] gave early quantum algorithms for testing and comparing distributions. Montanaro and de Wolf [25 ] surveyed the broader development of quantum property testing, and Belovs [26 ] characterized quantum distribution discrimination in several access models. Li and Wu [18 ] studied the quantum query complexity of entropy estimation and established speedups for Shannon and Rényi entropies. Gilyén and Li [14 ] developed methods for distributional property testing under purified access. These access-model distinctions matter: bounds based on independent samples, coherent evaluation of a classical sampler, and general purification oracles must be interpreted with their corresponding assumptions.
The algorithmic primitives underlying this line of work include amplitude amplification and estimation [12 ] , quantum Monte Carlo estimation [15 ] , and quantum mean estimation [27 ] . Quantum signal processing [28 ] and quantum singular value transformation [21 , 22 ] make polynomial transformations available within quantum circuits. Variable-time amplitude amplification [29 ] provides another way to account for branches with different costs. Wang, Zhang, and Li [19 ] combined singular value transformation, quantum annealing, and variable-time amplitude estimation to obtain a framework for Rényi entropy estimation. Their bounds provide the direct quantitative comparison for the results above.
Chen, Gao, Li, Wang, and Wang [20 ] introduced the multi-level framework used here and applied it to functionals including Tsallis entropy. It combines geometric probability intervals with non-destructive singular value discrimination and local polynomial approximation. Although Tsallis and Rényi entropies both depend on power sums, an additive approximation to a power sum need not have the relative accuracy required after taking its logarithm. Our contribution is to adapt this framework to that relative-accuracy requirement, exploiting the power-sum scale for α > 1 \alpha> 1 α > 1 and changing the initial state for 0 < α < 1 0 < \alpha< 1 0 < α < 1 .
Quantum lower bounds: Wang and Zhang [30 ] established quantum sample-to-query lifting, and Tang, Wright, and Zhandry [31 ] extended sample-based simulation to state-preparation oracles. Chen, Wang, and Zhang [23 ] applied these developments to obtain lower bounds for distributional properties, including Rényi entropy. We use their dimensional and small-order precision bounds as benchmarks and supplement them with a direct two-oracle argument. This separates the improvement proved here from the lower bounds inherited from previous work.
Organization
In Section II, we introduce the access model, projected unitary encodings, polynomial approximations, and estimation primitives. In Section III, we present the algorithm for non-integer α > 1 \alpha> 1 α > 1 , first with a known power-sum bound and then with geometric search. In Section IV, we treat 0 < α < 1 0 < \alpha< 1 0 < α < 1 and prove the strengthened lower bound.
Preliminaries
Notation
For an integer n ≥ 2 n \ge2 n ≥ 2 , write [ n ] = { 1 , … , n } [n] = \{1,\ldots,n\} [ n ] = { 1 , … , n } . Let p = ( p 1 , … , p n ) \mathbf{p} = (p_1,\ldots,p_n) p = ( p 1 , … , p n ) be a probability distribution, allowing zero entries. Among statistical properties, the most basic one is the Shannon entropy [1 ] , which is defined as
H ( p ) : = − ∑ i = 1 n p i log p i . (5) H(\mathbf{p}) := -\sum_{i=1}^{n} p_i \log p_i. \tag*{(5)} H ( p ) := − i = 1 ∑ n p i log p i . (5)
A natural generalization of the Shannon entropy is the family of Rényi entropies [3 ] . Specifically, the α \alpha α -Rényi entropy is defined as
H α ( p ) : = 1 1 − α log ∑ i = 1 n p i α . (6) H_{\alpha}(\mathbf{p}) := \frac{1}{1-\alpha}\log\sum_{i=1}^{n}p_i^{\alpha}. \tag*{(6)} H α ( p ) := 1 − α 1 log i = 1 ∑ n p i α . (6)
For our convenience, the power sum in the logarithm is denoted by P α ( p ) P_{\alpha}(\mathbf{p}) P α ( p ) , i.e., P α ( p ) : = ∑ i = 1 n p i α P_{\alpha}(\mathbf{p}) := \sum_{i=1}^{n}p_i^{\alpha} P α ( p ) := ∑ i = 1 n p i α . When α → 1 \alpha\to1 α → 1 , lim α → 1 H α ( p ) = H ( p ) \lim_{\alpha\to1}H_{\alpha}(\mathbf{p}) = H(\mathbf{p}) lim α → 1 H α ( p ) = H ( p ) . Throughout this paper, logarithms have natural bases unless otherwise stated and all vector norms ∥ ⋅ ∥ \|\cdot\| ∥ ⋅ ∥ in this paper are L 2 L^2 L 2 -norm.
Purified quantum query-access
Definition 1 (Purified Quantum Query-Access). A discrete distribution p = ( p i ) i = 1 n \mathbf{p} = (p_i)_{i=1}^{n} p = ( p i ) i = 1 n has purified quantum query-access if we have access to a unitary oracle U p U_{\mathbf{p}} U p (and its inverse and controlled versions) acting as
U p ∣ 0 ⟩ G ∣ 0 ⟩ B = ∑ i = 1 n p i ∣ ϕ i ⟩ G ∣ i ⟩ B , U_{\mathbf{p}}|0\rangle_G|0\rangle_B = \sum_{i=1}^{n}\sqrt{p_i}|\phi_i\rangle_G|i\rangle_B, U p ∣0 ⟩ G ∣0 ⟩ B = i = 1 ∑ n p i ∣ ϕ i ⟩ G ∣ i ⟩ B ,
where { ∣ ϕ i ⟩ : i ∈ [ n ] } \{|\phi_i\rangle: i \in[n]\} { ∣ ϕ i ⟩ : i ∈ [ n ]} are arbitrary unknown garbage states.
Projected unitary encoding
To manipulate general matrices A A A by quantum circuits, we need a tool called projected unitary encoding introduced by [21 ] . A projected unitary encoding of an operator A A A is a triple ( Π ~ , Π , U ) (\widetilde{\Pi},\Pi,U) ( Π , Π , U ) with A = Π ~ U Π A=\widetilde{\Pi}U\Pi A = Π U Π , where Π \Pi Π and Π ~ \widetilde{\Pi} Π are orthogonal projections.
Here we list some useful projected unitary encodings introduced by previous work and will be used in this article.
For U p U_p U p in Definition 1, add a label register C C C , set U = U p ⊗ I C U=U_p\otimes I_C U = U p ⊗ I C , Π = ∣ 0 ⟩ ⟨ 0 ∣ G ⊗ ∣ 0 ⟩ ⟨ 0 ∣ B ⊗ I C \Pi=|0\rangle\langle0|_G\otimes|0\rangle\langle0|_B\otimes I_C Π = ∣0 ⟩ ⟨ 0 ∣ G ⊗ ∣0 ⟩ ⟨ 0 ∣ B ⊗ I C and Π ~ = ∑ i = 1 n I G ⊗ ∣ i ⟩ ⟨ i ∣ B ⊗ ∣ i ⟩ ⟨ i ∣ C \widetilde{\Pi}=\sum_{i=1}^{n}I_G\otimes|i\rangle\langle i|_B\otimes|i\rangle\langle i|_C Π = ∑ i = 1 n I G ⊗ ∣ i ⟩ ⟨ i ∣ B ⊗ ∣ i ⟩ ⟨ i ∣ C , then we have
Π ~ U Π = ∑ i = 1 n p i ∣ ϕ i ⟩ ⟨ 0 ∣ ⊗ ∣ i ⟩ ⟨ 0 ∣ ⊗ ∣ i ⟩ ⟨ i ∣ . (7) \widetilde{\Pi}U\Pi=\sum_{i=1}^{n}\sqrt{p_i}|\phi_i\rangle\langle0|\otimes|i\rangle\langle0|\otimes|i\rangle\langle i|. \tag*{(7)} Π U Π = i = 1 ∑ n p i ∣ ϕ i ⟩ ⟨ 0∣ ⊗ ∣ i ⟩ ⟨ 0∣ ⊗ ∣ i ⟩ ⟨ i ∣. (7)
For U p U_p U p in Definition 1, add a label register C C C and a qubit D D D , let R D ∣ 0 ⟩ = 1 2 ∣ 0 ⟩ + 3 2 ∣ 1 ⟩ R_D|0\rangle=\frac{1}{2}|0\rangle+\frac{\sqrt{3}}{2}|1\rangle R D ∣0 ⟩ = 2 1 ∣0 ⟩ + 2 3 ∣1 ⟩ , then set U = U p † ⊗ I C ⊗ R D † U=U_p^\dagger\otimes I_C\otimes R_D^\dagger U = U p † ⊗ I C ⊗ R D † , Π = ∑ i I G ⊗ ∣ i i ⟩ ⟨ i i ∣ B C ⊗ ∣ 0 ⟩ ⟨ 0 ∣ D \Pi=\sum_i I_G\otimes|ii\rangle\langle ii|_{BC}\otimes|0\rangle\langle0|_D Π = ∑ i I G ⊗ ∣ ii ⟩ ⟨ ii ∣ B C ⊗ ∣0 ⟩ ⟨ 0 ∣ D and Π ~ = ∣ 00 ⟩ ⟨ 00 ∣ ⊗ I C ⊗ ∣ 0 ⟩ ⟨ 0 ∣ D \widetilde{\Pi}=|00\rangle\langle00|\otimes I_C\otimes|0\rangle\langle0|_D Π = ∣00 ⟩ ⟨ 00∣ ⊗ I C ⊗ ∣0 ⟩ ⟨ 0 ∣ D , then we have
Π ~ U Π = ∑ i p i 2 ∣ l i ⟩ ⟨ r i ∣ , { ∣ l i ⟩ = ∣ 0 , 0 , i , 0 ⟩ , ∣ r i ⟩ = ∣ ϕ i , i , i , 0 ⟩ . (8) \widetilde{\Pi}U\Pi=\sum_i\frac{\sqrt{p_i}}{2}|l_i\rangle\langle r_i|,\qquad
\begin{cases}
|l_i\rangle=|0,0,i,0\rangle,\\
|r_i\rangle=|\phi_i,i,i,0\rangle.
\end{cases} \tag*{(8)} Π U Π = i ∑ 2 p i ∣ l i ⟩ ⟨ r i ∣ , { ∣ l i ⟩ = ∣0 , 0 , i , 0 ⟩ , ∣ r i ⟩ = ∣ ϕ i , i , i , 0 ⟩ . (8)
Hermitian dilation of the projected unitary encoding A = Π ~ U Π A=\widetilde{\Pi}U\Pi A = Π U Π : Let U H = ∣ 0 ⟩ ⟨ 1 ∣ E ⊗ U † + ∣ 1 ⟩ ⟨ 0 ∣ E ⊗ U U_H=|0\rangle\langle1|_E\otimes U^\dagger+|1\rangle\langle0|_E\otimes U U H = ∣0 ⟩ ⟨ 1 ∣ E ⊗ U † + ∣1 ⟩ ⟨ 0 ∣ E ⊗ U acting on the original system and an additional auxiliary qubit E E E . With respect to the projector Π H = ∣ 0 ⟩ ⟨ 0 ∣ E ⊗ Π + ∣ 1 ⟩ ⟨ 1 ∣ E ⊗ Π ~ \Pi_H=|0\rangle\langle0|_E\otimes\Pi+|1\rangle\langle1|_E\otimes\widetilde{\Pi} Π H = ∣0 ⟩ ⟨ 0 ∣ E ⊗ Π + ∣1 ⟩ ⟨ 1 ∣ E ⊗ Π , we get the projected unitary encoding
Π H U H Π H = H = [ 0 A † A 0 ] . (9) \Pi_HU_H\Pi_H=H=
\begin{bmatrix}
0 & A^\dagger\\
A & 0
\end{bmatrix}. \tag*{(9)} Π H U H Π H = H = [ 0 A A † 0 ] . (9)
The spectral decomposition of H H H takes the form
H = ∑ i σ i ( ∣ ϕ i , + ⟩ ⟨ ϕ i , + ∣ − ∣ ϕ i , − ⟩ ⟨ ϕ i , − ∣ ) , (10) H=\sum_i\sigma_i\left(|\phi_{i,+}\rangle\langle\phi_{i,+}|-|\phi_{i,-}\rangle\langle\phi_{i,-}|\right), \tag*{(10)} H = i ∑ σ i ( ∣ ϕ i , + ⟩ ⟨ ϕ i , + ∣ − ∣ ϕ i , − ⟩ ⟨ ϕ i , − ∣ ) , (10)
where the eigenvectors are given by ∣ ϕ i , ± ⟩ = 1 2 ( ∣ 0 ⟩ ∣ ψ i ⟩ ± ∣ 1 ⟩ ∣ ψ ~ i ⟩ ) |\phi_{i,\pm}\rangle=\frac{1}{\sqrt{2}}(|0\rangle|\psi_i\rangle\pm|1\rangle|\widetilde{\psi}_i\rangle) ∣ ϕ i , ± ⟩ = 2 1 ( ∣0 ⟩ ∣ ψ i ⟩ ± ∣1 ⟩ ∣ ψ i ⟩) .
The first projective unitary encoding was proposed by [14 ] and will be used in Section ?? for estimating Rényi entropy with integer α \alpha α . The second one and the third one, proposed by [20 ] , will be used in § 3 and Section IV for estimating Rényi entropy with non-integer α \alpha α .
Quantum singular value transformation
In [21 ] , a general quantum algorithm framework called quantum singular value transformation (QSVT) is proposed, which is useful in many computational tasks including property estimation. Before introducing this framework, we first give the definition of singular value transformation.
Definition 2 (Singular value transformation [21 Definition 9] ). Let f : R → C f:\mathbb{R}\to\mathbb{C} f : R → C be an even or odd function. Suppose that A ∈ C d ~ × d A\in\mathbb{C}^{\widetilde{d}\times d} A ∈ C d × d has the following singular value decomposition
A = ∑ i = 1 d min σ i ∣ ψ ~ i ⟩ ⟨ ψ i ∣ , (11) A=\sum_{i=1}^{d_{\min}}\sigma_i|\widetilde{\psi}_i\rangle\langle\psi_i|, \tag*{(11)} A = i = 1 ∑ d m i n σ i ∣ ψ i ⟩ ⟨ ψ i ∣ , (11) where d min : = min ( d , d ~ ) d_{\min}:=\min(d,\widetilde{d}) d m i n := min ( d , d ) . For the function f f f we define the singular value transform of A A A as
f ( S V ) ( A ) : = { ∑ i = 1 d min f ( σ i ) ∣ ψ ~ i ⟩ ⟨ ψ i ∣ if f is odd, and ∑ i = 1 d min f ( σ i ) ∣ ψ i ⟩ ⟨ ψ i ∣ if f is even, (12) f^{(\mathrm{SV})}(A):=\begin{cases}\sum_{i=1}^{d_{\min}}f(\sigma_i)\lvert\widetilde{\psi}_i\rangle\langle\psi_i\rvert& \text{if } f \text{ is odd, and}\\\sum_{i=1}^{d_{\min}}f(\sigma_i)\lvert\psi_i\rangle\langle\psi_i\rvert& \text{if } f \text{ is even,}\end{cases} \tag*{(12)} f ( SV ) ( A ) := { ∑ i = 1 d m i n f ( σ i ) ∣ ψ i ⟩ ⟨ ψ i ∣ ∑ i = 1 d m i n f ( σ i ) ∣ ψ i ⟩ ⟨ ψ i ∣ if f is odd, and if f is even, (12) where for i ∈ [ d ] ∖ [ d min ] i\in[d]\setminus[d_{\min}] i ∈ [ d ] ∖ [ d m i n ] we define σ i : = 0 \sigma_i:=0 σ i := 0 .
Given a matrix A A A block-encoded in a unitary, polynomial singular value transformation of A A A can be efficiently implemented as follows:
Theorem 1 ([21 Corollary 11] ). Let H U \mathcal{H}_U H U be a finite-dimensional Hilbert space and let U , Π ~ , Π ∈ End ( H U ) U,\widetilde{\Pi},\Pi\in\operatorname{End}(\mathcal{H}_U) U , Π , Π ∈ End ( H U ) be linear operators on H U \mathcal{H}_U H U such that U U U is a unitary, and Π ~ , Π \widetilde{\Pi},\Pi Π , Π are orthogonal projectors. Suppose that P = ∑ k = 0 d a k x k ∈ R [ x ] P=\sum_{k=0}^{d}a_kx^k\in\mathbb{R}[x] P = ∑ k = 0 d a k x k ∈ R [ x ] is a degree-n n n polynomial such that
a k ≠ 0 only if k ≡ n ( m o d 2 ) , and a_k\ne0\ \text{only if }k\equiv n\pmod2,\qquad\text{and} a k = 0 only if k ≡ n ( mod 2 ) , and for all x ∈ [ − 1 , 1 ] : ∣ P ( x ) ∣ ≤ 1. (13) \text{for all }x\in[-1,1]:\ |P(x)|\le1. \tag*{(13)} for all x ∈ [ − 1 , 1 ] : ∣ P ( x ) ∣ ≤ 1. (13) Then there exists a vector Φ = ( ϕ 1 , ϕ 2 , … , ϕ n ) ∈ R n \Phi=(\phi_1,\phi_2,\ldots,\phi_n)\in\mathbb{R}^n Φ = ( ϕ 1 , ϕ 2 , … , ϕ n ) ∈ R n , such that
P ( S V ) ( Π ~ U Π ) = { ( ⟨ + ∣ ⊗ Π ~ ) U P ( S V ) ( ∣ + ⟩ ⊗ Π ) if n is odd, ( ⟨ + ∣ ⊗ Π ~ ) U P ( S V ) ( ∣ + ⟩ ⊗ Π ) if n is even, (14) P^{(\mathrm{SV})}(\widetilde{\Pi}U\Pi)=\begin{cases}(\langle+\rvert\otimes\widetilde{\Pi})U_P^{(\mathrm{SV})}(\lvert+\rangle\otimes\Pi) & \text{if } n \text{ is odd,}\\(\langle+\rvert\otimes\widetilde{\Pi})U_P^{(\mathrm{SV})}(\lvert+\rangle\otimes\Pi) & \text{if } n \text{ is even,}\end{cases} \tag*{(14)} P ( SV ) ( Π U Π ) = { (⟨ + ∣ ⊗ Π ) U P ( SV ) (∣ + ⟩ ⊗ Π ) (⟨ + ∣ ⊗ Π ) U P ( SV ) (∣ + ⟩ ⊗ Π ) if n is odd, if n is even, (14) where U P ( S V ) : = ∣ 0 ⟩ ⟨ 0 ∣ ⊗ Φ + + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ Φ − U_P^{(\mathrm{SV})}:=|0\rangle\langle0|\otimes\Phi_++|1\rangle\langle1|\otimes\Phi_- U P ( SV ) := ∣0 ⟩ ⟨ 0∣ ⊗ Φ + + ∣1 ⟩ ⟨ 1∣ ⊗ Φ − with
U Φ : = { e i ϕ 1 ( 2 Π ~ − I ) U ∏ j = 1 ( n − 1 ) / 2 ( e i ϕ 2 j ( 2 Π − I ) U † e i ϕ 2 j + 1 ( 2 Π ~ − I ) U ) if n is odd, ∏ j = 1 n / 2 ( e i ϕ 2 j − 1 ( 2 Π ~ − I ) U † e i ϕ 2 j ( 2 Π − I ) U ) if n is even. (15) U_{\Phi}:=\begin{cases}e^{i\phi_1(2\widetilde{\Pi}-I)}U\prod_{j=1}^{(n-1)/2}\left(e^{i\phi_{2j}(2\Pi-I)}U^\dagger e^{i\phi_{2j+1}(2\widetilde{\Pi}-I)}U\right) & \text{if } n \text{ is odd,}\\\prod_{j=1}^{n/2}\left(e^{i\phi_{2j-1}(2\widetilde{\Pi}-I)}U^\dagger e^{i\phi_{2j}(2\Pi-I)}U\right) & \text{if } n \text{ is even.}\end{cases} \tag*{(15)} U Φ := ⎩ ⎨ ⎧ e i ϕ 1 ( 2 Π − I ) U ∏ j = 1 ( n − 1 ) /2 ( e i ϕ 2 j ( 2Π − I ) U † e i ϕ 2 j + 1 ( 2 Π − I ) U ) ∏ j = 1 n /2 ( e i ϕ 2 j − 1 ( 2 Π − I ) U † e i ϕ 2 j ( 2Π − I ) U ) if n is odd, if n is even. (15) Note that P ( S V ) ( Π ~ U Π ) P^{(\mathrm{SV})}(\widetilde{\Pi}U\Pi) P ( SV ) ( Π U Π ) acts on the same space as Π ~ U Π \widetilde{\Pi}U\Pi Π U Π , while U P ( S V ) U_P^{(\mathrm{SV})} U P ( SV ) acts on an enlarged space with one ancillary qubit added. This theorem tells us that for a polynomial P P P of degree d d d which satisfies Eq. (13) in Theorem 1, we can implement P ( S V ) ( Π ~ U Π ) P^{(\mathrm{SV})}(\widetilde{\Pi}U\Pi) P ( SV ) ( Π U Π ) with Θ ( d ) \Theta(d) Θ ( d ) uses of U , U † U,U^\dagger U , U † and controlled reflections I − 2 Π , I − 2 Π ~ I-2\Pi,I-2\widetilde{\Pi} I − 2Π , I − 2 Π ,
Polynomial approximations
Lemma 1 (Polynomial approximations of the sign function, [22 Lemma 25] ). For δ > 0 \delta> 0 δ > 0 and ϵ ∈ ( 0 , 1 / 2 ) \epsilon\in(0,1/2) ϵ ∈ ( 0 , 1/2 ) , there exists an efficiently computable odd polynomial Q ∈ R [ x ] Q \in\mathbb{R}[x] Q ∈ R [ x ] of degree O ( log ( 1 / ϵ ) δ ) \mathcal{O}\left(\frac{\log(1/\epsilon)}{\delta}\right) O ( δ l o g ( 1/ ϵ ) ) such that
for all x ∈ [ − 2 , 2 ] x \in[-2,2] x ∈ [ − 2 , 2 ] : ∣ Q ( x ) ∣ ≤ 1 |Q(x)| \le1 ∣ Q ( x ) ∣ ≤ 1 ,
for all x ∈ [ − 2 , 2 ] \ ( − δ , δ ) x \in[-2,2]\backslash(-\delta,\delta) x ∈ [ − 2 , 2 ] \ ( − δ , δ ) : ∣ Q ( x ) − sign ( x ) ∣ ≤ ϵ |Q(x)-\operatorname{sign}(x)| \le\epsilon ∣ Q ( x ) − sign ( x ) ∣ ≤ ϵ .
Lemma 2 (Polynomial Approximations of Positive Power Functions, [19 Lemma 6] ). For any c > 0 c>0 c > 0 , β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) , ν ∈ ( 0 , β ) \nu\in(0,\beta) ν ∈ ( 0 , β ) , and ϵ ∈ ( 0 , 1 2 ) \epsilon\in\left(0,\frac{1}{2}\right) ϵ ∈ ( 0 , 2 1 ) , let g ( x ) = 2 − c − 1 β − c x c g(x)=2^{-c-1}\beta^{-c}x^c g ( x ) = 2 − c − 1 β − c x c . There exists an efficiently computable even polynomial S c , ν , β , ϵ ∈ R [ x ] S_{c,\nu,\beta,\epsilon}\in\mathbb{R}[x] S c , ν , β , ϵ ∈ R [ x ] of degree O ( c + 1 ν log ( 1 β ν ϵ ) ) \mathcal{O}\left(\frac{c+1}{\nu}\log\left(\frac{1}{\beta\nu\epsilon}\right)\right) O ( ν c + 1 log ( β ν ϵ 1 ) ) , such that
for all x ∈ [ − 1 , 1 ] x\in[-1,1] x ∈ [ − 1 , 1 ] : ∣ S ( x ) ∣ ≤ 1 |S(x)|\le1 ∣ S ( x ) ∣ ≤ 1 ,
for all x ∈ [ 0 , ν ] x\in[0,\nu] x ∈ [ 0 , ν ] : ∣ S ( x ) ∣ ≤ 2 g ( x ) |S(x)|\le2g(x) ∣ S ( x ) ∣ ≤ 2 g ( x ) ,
for all x ∈ [ ν , β ] x\in[\nu,\beta] x ∈ [ ν , β ] : ∣ S ( x ) − g ( x ) ∣ ≤ ϵ |S(x)-g(x)|\le\epsilon ∣ S ( x ) − g ( x ) ∣ ≤ ϵ .
Amplitude amplification
Theorem 2 (Amplitude estimation [12 Theorem 12] ). There is a quantum algorithm that takes as input a unitary U U U , an orthogonal projector Π \Pi Π , and a positive integer t t t . The algorithm outputs an estimate a ~ \tilde{a} a ~ of a = ∥ Π U ∣ 0 ⟩ ∥ 2 a=\|\Pi U|0\rangle\|^{2} a = ∥Π U ∣0 ⟩ ∥ 2 , such that
∣ a ~ − a ∣ ≤ 2 π a ( 1 − a ) t + π 2 t 2 |\tilde{a}-a|\le\frac{2\pi\sqrt{a(1-a)}}{t}+\frac{\pi^{2}}{t^{2}} ∣ a ~ − a ∣ ≤ t 2 π a ( 1 − a ) + t 2 π 2
with probability at least 8 / π 2 8/\pi^{2} 8/ π 2 , using 2 t + 1 2t+1 2 t + 1 calls to (controlled) U U U and U † U^{\dagger} U † , and t t t calls to the reflection I − 2 Π I-2\Pi I − 2Π .
Corollary 1. [20 Corollary 2.2] Let U U U be a unitary and Π \Pi Π be an orthogonal projector. Let a = ∥ Π U ∣ 0 ⟩ ∥ 2 a=\|\Pi U|0\rangle\|^{2} a = ∥Π U ∣0 ⟩ ∥ 2 . For any precision δ ∈ ( 0 , 1 ] \delta\in(0,1] δ ∈ ( 0 , 1 ] and failure probability η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , there exists a quantum algorithm that outputs an estimate a ~ \tilde{a} a ~ satisfying ∣ a ~ − a ∣ ≤ ϵ |\tilde{a}-a|\le\epsilon ∣ a ~ − a ∣ ≤ ϵ with probability at least 1 − δ 1-\delta 1 − δ , using
O ( ( a ϵ + 1 ϵ ) log ( 1 δ ) ) \mathcal{O}\left(\left(\frac{\sqrt{a}}{\epsilon}+\frac{1}{\sqrt{\epsilon}}\right)\log\left(\frac{1}{\delta}\right)\right) O ( ( ϵ a + ϵ 1 ) log ( δ 1 ) )
queries to (controlled) U U U , U † U^{\dagger} U † , and I − 2 Π I-2\Pi I − 2Π .
Multi-level estimation framework
The multi-level framework of [20 ] provides a general resolution to the problem of estimating functionals ∑ i = 1 n f ( p i ) \sum_{i=1}^{n}f(p_i) ∑ i = 1 n f ( p i ) of a discrete distribution p = ( p i ) i = 1 n \mathbf{p}=(p_i)_{i=1}^{n} p = ( p i ) i = 1 n . Roughly, the framework partitions the interval [ 0 , 1 ] [0,1] [ 0 , 1 ] into sections
[ 0 , φ m ] , ( φ m , φ m − 1 ] , … , ( φ 1 , φ 0 = 1 ] [0,\varphi_m],(\varphi_m,\varphi_{m-1}],\ldots,(\varphi_1,\varphi_0=1] [ 0 , φ m ] , ( φ m , φ m − 1 ] , … , ( φ 1 , φ 0 = 1 ]
with geometrically decreasing φ j \varphi_j φ j . In each section ( φ j , φ j − 1 ] (\varphi_j,\varphi_{j-1}] ( φ j , φ j − 1 ] , a fine-grained polynomial P j P_j P j is used to approximate the target function locally rather than the whole interval [ 0 , 1 ] [0,1] [ 0 , 1 ] (in fact a cutoff [ δ , 1 ] [\delta,1] [ δ , 1 ] to exclude the singularity) as what standard QSVT frameworks did. Since
To be more explicit, the authors of [20 ] rewrite the functional being estimated as ∑ i = 1 n p i g ( p i ) \sum_{i=1}^{n}p_i g(p_i) ∑ i = 1 n p i g ( p i ) and they first prepare an initial state in the workspace w = E G B C D \mathrm{w}=E G B C D w = E GB C D :
U I ∣ 0 ⟩ w = ∑ i = 1 n p i ∣ 0 ⟩ E ∣ r i ⟩ G B C D = ∑ i = 1 n p i 2 ( ∣ ϕ i , + ⟩ + ∣ ϕ i , − ⟩ ) , (16) \begin{aligned}
U_I|0\rangle_{\mathrm{w}}=\sum_{i=1}^{n}\sqrt{p_i}|0\rangle_E|r_i\rangle_{GBCD} \\
&=\sum_{i=1}^{n}\sqrt{\frac{p_i}{2}}\left(|\phi_{i,+}\rangle+|\phi_{i,-}\rangle\right), \tag*{(16)}
\end{aligned} U I ∣0 ⟩ w = i = 1 ∑ n p i ∣0 ⟩ E ∣ r i ⟩ GB C D = i = 1 ∑ n 2 p i ( ∣ ϕ i , + ⟩ + ∣ ϕ i , − ⟩ ) , (16)
with ∣ r i ⟩ |r_i\rangle ∣ r i ⟩ being right singular vectors of the projective unitary encoding defined in Eq. (8) and ∣ ϕ i , ± ⟩ |\phi_{i,\pm}\rangle ∣ ϕ i , ± ⟩ being the eigenvectors of its Hermitian dilation. The preparation unitary can be implemented as
U I = ( I E G ⊗ U c o p y ⊗ I D ) ( I E ⊗ U p ⊗ I C D ) (17) U_I=(I_{EG}\otimes U_{\mathrm{copy}}\otimes I_D)(I_E\otimes U_p\otimes I_{CD}) \tag*{(17)} U I = ( I E G ⊗ U copy ⊗ I D ) ( I E ⊗ U p ⊗ I C D ) (17)
where U c o p y U_{\mathrm{copy}} U copy is the bit-wise CNOT gate satisfying U c o p y : ∣ i ⟩ B ∣ 0 ⟩ C ↦ ∣ i ⟩ B ∣ i ⟩ C U_{\mathrm{copy}}:|i\rangle_B|0\rangle_C\mapsto|i\rangle_B|i\rangle_C U copy : ∣ i ⟩ B ∣0 ⟩ C ↦ ∣ i ⟩ B ∣ i ⟩ C . Then, they coherently isolate those components with p i ∈ ( φ j , φ j − 1 ] \sqrt{p_i}\in(\varphi_j,\varphi_{j-1}] p i ∈ ( φ j , φ j − 1 ] into a target subspace with following non-destructive singular value discriminator:
Theorem 3 (non-destructive singular value discrimination [20 Theorem 3.1] ). Let ( Π ~ , Π , U ) (\widetilde{\Pi},\Pi,U) ( Π , Π , U ) be a projected unitary encoding of A A A with spectral norm ∥ A ∥ ≤ 1 / 2 \|A\|\le1/2 ∥ A ∥ ≤ 1/2 . Let A = ∑ i = 1 d σ i ∣ ψ i ⟩ ⟨ ψ i ∣ A=\sum_{i=1}^{d}\sigma_i|\psi_i\rangle\langle\psi_i| A = ∑ i = 1 d σ i ∣ ψ i ⟩ ⟨ ψ i ∣ be the singular value decomposition of A A A . Let ∣ ϕ i ⟩ |\phi_i\rangle ∣ ϕ i ⟩ be the eigenvector of the Hermitian dilation H H H of A A A . For any precision ϵ 1 , ϵ 2 ∈ ( 0 , 1 ) \epsilon_1,\epsilon_2\in(0,1) ϵ 1 , ϵ 2 ∈ ( 0 , 1 ) , threshold γ ∈ ( 0 , 1 / 2 ) \gamma\in(0,1/2) γ ∈ ( 0 , 1/2 ) , and constant gap ratio ρ > 1 \rho>1 ρ > 1 , there exists a unitary D D D that maps
∣ + ⟩ ∣ 0 ⟩ ∣ ϕ i , ± ⟩ ↦ ∣ + ⟩ ∣ ξ i , ± ⟩ ∣ ϕ i , ± ⟩ |+\rangle|0\rangle|\phi_{i,\pm}\rangle\mapsto|+\rangle|\xi_{i,\pm}\rangle|\phi_{i,\pm}\rangle ∣ + ⟩ ∣0 ⟩ ∣ ϕ i , ± ⟩ ↦ ∣ + ⟩ ∣ ξ i , ± ⟩ ∣ ϕ i , ± ⟩ with precision ϵ 1 \epsilon_1 ϵ 1 for all i ∈ [ d ] i\in[d] i ∈ [ d ] , where ∣ ξ i , ± ⟩ |\xi_{i,\pm}\rangle ∣ ξ i , ± ⟩ satisfies
{ ∥ ∣ ξ i , ± ⟩ − ∣ 0 ⟩ ∥ ≤ ϵ 2 , if σ i ∈ [ γ , 1 ) , ∥ ∣ ξ i , ± ⟩ − ∣ 1 ⟩ ∥ ≤ ϵ 2 , if σ i ∈ [ 0 , γ ρ ] . \left\{
\begin{aligned}
\bigl\||\xi_{i,\pm}\rangle-|0\rangle\bigr\|&\le\epsilon_2, &&\text{if }\sigma_i\in[\gamma,1),\\
\bigl\||\xi_{i,\pm}\rangle-|1\rangle\bigr\|&\le\epsilon_2, &&\text{if }\sigma_i\in\left[0,\frac{\gamma}{\rho}\right].
\end{aligned}
\right. ⎩ ⎨ ⎧ ∣ ξ i , ± ⟩ − ∣0 ⟩ ∣ ξ i , ± ⟩ − ∣1 ⟩ ≤ ϵ 2 , ≤ ϵ 2 , if σ i ∈ [ γ , 1 ) , if σ i ∈ [ 0 , ρ γ ] . Implementing D D D requires O ( ( log ( 1 / ϵ 1 ) + log ( 1 / ϵ 2 ) ) / γ ) \mathcal{O}((\log(1/\epsilon_1)+\log(1/\epsilon_2))/\gamma) O (( log ( 1/ ϵ 1 ) + log ( 1/ ϵ 2 )) / γ ) queries to controlled U U U and U † U^{\dagger} U † .
Due to the discontinuity of the threshold function, only a “soft” thresholding with uncertain transition region can be implemented. This is settled in [20 ] by applying two successive thresholding steps D j − 1 D_{j-1} D j − 1 and D j D_j D j corresponding to the lower and upper boundaries. After that, the polynomial singular value transformation
P j ( S V ) ( Π H U H Π H ) = ∑ i P j ( p i 2 ) ∣ ϕ i , + ⟩ ⟨ ϕ i , + ∣ + P j ( − p i 2 ) ∣ ϕ i , − ⟩ ⟨ ϕ i , − ∣ (18) P_j^{(\mathrm{SV})}(\Pi_H U_H\Pi_H)=\sum_i P_j\left(\frac{\sqrt{p_i}}{2}\right)|\phi_{i,+}\rangle\langle\phi_{i,+}|
+P_j\left(-\frac{\sqrt{p_i}}{2}\right)|\phi_{i,-}\rangle\langle\phi_{i,-}| \tag*{(18)} P j ( SV ) ( Π H U H Π H ) = i ∑ P j ( 2 p i ) ∣ ϕ i , + ⟩ ⟨ ϕ i , + ∣ + P j ( − 2 p i ) ∣ ϕ i , − ⟩ ⟨ ϕ i , − ∣ (18)
is applied, with a local polynomial P j P_j P j satisfying
P j ( p i 2 ) 2 ≈ g ( p i ) P_j\left(\frac{\sqrt{p_i}}{2}\right)^2 \approx g(p_i) P j ( 2 p i ) 2 ≈ g ( p i )
(up to some normalization factor) for p i ∈ ( φ j + 1 , φ j − 1 ] \sqrt{p_i}\in(\varphi_{j+1},\varphi_{j-1}] p i ∈ ( φ j + 1 , φ j − 1 ] . Finally, perform quantum amplitude estimation to measure the squared norm of the state in the isolated target subspace and sum up the outputs of the repeated procedures for every j ∈ [ m ] j\in[m] j ∈ [ m ] , a well approximation of the functional ∑ i = 1 n f ( p i ) \sum_{i=1}^{n}f(p_i) ∑ i = 1 n f ( p i ) can be achieved.
NON-INTEGER RÉNYI ENTROPY ESTIMATOR
Theorem 4. For any fixed α > 1 \alpha>1 α > 1 , there exists an algorithm A \mathcal{A} A such that for any δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) and probability distribution p \mathbf{p} p on [ n ] [n] [ n ] , A \mathcal{A} A can estimate H α ( p ) H_\alpha(\mathbf{p}) H α ( p ) to within additive error ϵ \epsilon ϵ with success probability at least 1 − δ 1-\delta 1 − δ using
O ~ ( n max { 1 2 , 1 − 1 α } ϵ ) (19) \widetilde{O}\left(\frac{n^{\max\left\{\frac{1}{2},1-\frac{1}{\alpha}\right\}}}{\epsilon}\right) \tag*{(19)} O ( ϵ n m a x { 2 1 , 1 − α 1 } ) (19)
queries to U p U_{\mathbf{p}} U p and U p † U_{\mathbf{p}}^\dagger U p † in Definition 1.
For 1 < α < 2 1<\alpha<2 1 < α < 2 , the query upper bound is O ~ ( n / ϵ ) \widetilde{O}(\sqrt{n}/\epsilon) O ( n / ϵ ) ; for α > 2 \alpha>2 α > 2 , it is O ~ ( n 1 − 1 / α / ϵ ) \widetilde{O}(n^{1-1/\alpha}/\epsilon) O ( n 1 − 1/ α / ϵ ) . Compared with the best known upper bound O ~ ( n 1 − 1 / ( 2 α ) ϵ 1 + 1 / ( 2 α ) ) \widetilde{O}\left(\frac{n^{1-1/(2\alpha)}}{\epsilon^{1+1/(2\alpha)}}\right) O ( ϵ 1 + 1/ ( 2 α ) n 1 − 1/ ( 2 α ) ) [19 Theorem 7] , our algorithm achieve polynomial improvement on both the dimensional dependence and the precision dependence. For 1 < α < 2 1<\alpha<2 1 < α < 2 and constant accuracy, the dimensional exponent matches the lower bound Ω ( n 1 / 2 − o ( 1 ) ) \Omega(n^{1/2-o(1)}) Ω ( n 1/2 − o ( 1 ) ) from [23 Theorem 2.8] , up to subpolynomial factors.
We first construct a weaker algorithm which can estimate P α ( p ) P_\alpha(\mathbf{p}) P α ( p ) to within multiplicative accuracy η < 1 / 4 \eta<1/4 η < 1/4 given its upper bound, and then remove the requirement of knowing an upper bound.
Estimate P(p) from its known upper bound
Lemma 3. For fixed α > 1 \alpha>1 α > 1 , suppose P α ( p ) ≤ R ≤ 1 P_\alpha(\mathbf{p})\le R\le1 P α ( p ) ≤ R ≤ 1 and R R R is known. For any η ∈ ( 0 , 1 / 4 ) \eta\in(0,1/4) η ∈ ( 0 , 1/4 ) and δ ∈ ( 0 , 1 / 3 ) \delta\in(0,1/3) δ ∈ ( 0 , 1/3 ) , there exists an algorithm A \mathcal{A} A that outputs an estimate P ~ α ( p ) \widetilde{P}_\alpha(\mathbf{p}) P α ( p ) such that
∣ P ~ α ( p ) − P α ( p ) ∣ ≤ η R (20) \left|\widetilde{P}_\alpha(\mathbf{p})-P_\alpha(\mathbf{p})\right|\le\eta R \tag*{(20)} P α ( p ) − P α ( p ) ≤ η R (20)
with success probability at least 1 − δ 1-\delta 1 − δ , using
O ~ ( n max { 0 , 1 α − 1 2 } η R 1 / α ) \widetilde{O}\left(\frac{n^{\max\left\{0,\frac{1}{\alpha}-\frac{1}{2}\right\}}}{\eta R^{1/\alpha}}\right) O ( η R 1/ α n m a x { 0 , α 1 − 2 1 } )
queries to U p U_{\mathbf{p}} U p and U p † U_{\mathbf{p}}^\dagger U p † in Definition 1.
Proof. The pseudocode of our algorithm is presented in Algorithm 1, which primarily follows the same vein as [20 Algorithm 2] . For convenience of our discussion, we denote Δ = η R \Delta=\eta R Δ = η R . For each i ∈ [ n ] i\in[n] i ∈ [ n ] , since p i α ≤ P α ( p ) ≤ R p_i^\alpha\le P_\alpha(\mathbf{p})\le R p i α ≤ P α ( p ) ≤ R , we have p i ≤ R 1 / α p_i\le R^{1/\alpha} p i ≤ R 1/ α . Different from the analyses in [20 ] , here every p i \sqrt{p_i} p i lies in the interval [ 0 , R 1 / ( 2 α ) ] [0,R^{1/(2\alpha)}] [ 0 , R 1/ ( 2 α ) ] rather than [ 0 , 1 ] [0,1] [ 0 , 1 ] , so we set φ 0 = R 1 / ( 2 α ) \varphi_0=R^{1/(2\alpha)} φ 0 = R 1/ ( 2 α ) and φ j = φ 0 / 2 j \varphi_j=\varphi_0/2^j φ j = φ 0 / 2 j for j = 1 , 2 , ⋯ , m + 1 j=1,2,\cdots,m+1 j = 1 , 2 , ⋯ , m + 1 . We choose m m m such that the contribution of those probabilities below φ m \varphi_m φ m does not exceed Δ / 12 \Delta/12 Δ/12 :
∑ i : p i ≤ φ m 2 p i α ≤ n ( φ m ) 2 α ≤ Δ / 12. (21) \sum_{i:p_i\le\varphi_m^2}p_i^\alpha\le n(\varphi_m)^{2\alpha}\le\Delta/12. \tag*{(21)} i : p i ≤ φ m 2 ∑ p i α ≤ n ( φ m ) 2 α ≤ Δ/12. (21)
That is, φ m = Θ ( ( Δ / n ) 1 / ( 2 α ) ) \varphi_m=\Theta\left((\Delta/n)^{1/(2\alpha)}\right) φ m = Θ ( ( Δ/ n ) 1/ ( 2 α ) ) and m = Θ [ log ( n / Δ ) ] m=\Theta\left[\log(n/\Delta)\right] m = Θ [ log ( n /Δ ) ] .
In Line 6 of Algorithm 1, we isolate in loop j j j the singular values in ( φ j + 1 2 , φ j − 1 2 ] \left(\frac{\varphi_{j+1}}{2},\frac{\varphi_{j-1}}{2}\right] ( 2 φ j + 1 , 2 φ j − 1 ] via non-destructive singular value discriminators D j − 1 D_{j-1} D j − 1 and D j D_j D j defined in Theorem 3, for each j ∈ [ m ] j\in[m] j ∈ [ m ] . More explicitly, for the i i i -th component of the initial state ∣ Ψ i n ( i ) ⟩ |\Psi_{\mathrm{in}}^{(i)}\rangle ∣ Ψ in ( i ) ⟩ (which is independent of the loop number j j j ):
∣ Ψ i n ( i ) ⟩ ≔ ∣ + ⟩ a b ∣ 0 ⟩ c d ⊗ p i 2 ( ∣ φ i , + ⟩ + ∣ φ i , − ⟩ ) (22) |\Psi_{\mathrm{in}}^{(i)}\rangle\coloneqq|+\rangle_{ab}|0\rangle_{cd}\otimes\sqrt{\frac{p_i}{2}}\left(|\varphi_{i,+}\rangle+|\varphi_{i,-}\rangle\right) \tag*{(22)} ∣ Ψ in ( i ) ⟩ : = ∣ + ⟩ ab ∣0 ⟩ c d ⊗ 2 p i ( ∣ φ i , + ⟩ + ∣ φ i , − ⟩ ) (22)
such that φ m < p i ∈ ( φ j , φ j − 1 ] \varphi_m<\sqrt{p_i}\in(\varphi_{j},\varphi_{j-1}] φ m < p i ∈ ( φ j , φ j − 1 ] , we have in loop j i − 1 j_i-1 j i − 1 (not for those i i i with p i ∈ ( φ 1 , φ 0 ] ) \sqrt{p_i}\in(\varphi_1,\varphi_0]) p i ∈ ( φ 1 , φ 0 ]) :
∥ D j i − 1 D j i − 2 ∣ Ψ i n ( i ) ⟩ − ( i p i 2 ∣ + + ⟩ a b ∣ 1 ⟩ c ∣ ξ i , + ⟩ d ∣ φ i , + ⟩ + i p i 2 ∣ + + ⟩ a b ∣ 1 ⟩ c ∣ ξ i , − ⟩ d ∣ φ i , − ⟩ ) ∥ ≤ p i ( ϵ j i − 2 , 1 + ϵ j i − 2 , 2 + ϵ j i − 1 , 1 + ϵ j i − 1 , 2 ) \left\|D_{j_i-1}D_{j_i-2}|\Psi_{\mathrm{in}}^{(i)}\rangle-\left(i\sqrt{\frac{p_i}{2}}|++\rangle_{ab}|1\rangle_c|\xi_{i,+}\rangle_d|\varphi_{i,+}\rangle+i\sqrt{\frac{p_i}{2}}|++\rangle_{ab}|1\rangle_c|\xi_{i,-}\rangle_d|\varphi_{i,-}\rangle\right)\right\|
\le p_i(\epsilon_{j_i-2,1}+\epsilon_{j_i-2,2}+\epsilon_{j_i-1,1}+\epsilon_{j_i-1,2}) D j i − 1 D j i − 2 ∣ Ψ in ( i ) ⟩ − ( i 2 p i ∣ + + ⟩ ab ∣1 ⟩ c ∣ ξ i , + ⟩ d ∣ φ i , + ⟩ + i 2 p i ∣ + + ⟩ ab ∣1 ⟩ c ∣ ξ i , − ⟩ d ∣ φ i , − ⟩ ) ≤ p i ( ϵ j i − 2 , 1 + ϵ j i − 2 , 2 + ϵ j i − 1 , 1 + ϵ j i − 1 , 2 )
and
\begin{aligned}
\left\|W_{j_i-1}D_{j_i-1}D_{j_i-2}|\Psi_{\mathrm{in}}^{(i)}\rangle
-\Bigg(&i\sqrt{\frac{p_i}{2}}P_{j_i-1}\left(\frac{\sqrt{p_i}}{2}\right)|++\rangle_{ab}|1\rangle_c|\xi_{i,+}\rangle_d|\varphi_{i,+}\rangle\\
&+i\sqrt{\frac{p_i}{2}}P_{j_i-1}\left(-\frac{\sqrt{p_i}}{2}\right)|++\rangle_{ab}|1\rangle_c|\xi_{i,-}\rangle_d|\varphi_{i,-}\rangle\\
&+|+_{j_i-1}^{(i)}\rangle\Bigg)\right\|
\le p_i(\epsilon_{j_i-2,1}+\epsilon_{j_i-2,2}+\epsilon_{j_i-1,1}+\epsilon_{j_i-1,2}),
\end{aligned}
where ∣ + j i − 1 ( i ) ⟩ |+_{j_i-1}^{(i)}\rangle ∣ + j i − 1 ( i ) ⟩ is some non-normalized component such that ∣ + ⟩ + ⟨ + ∣ ⊗ ( Π H ) w ∣ + j i − 1 ( i ) ⟩ = 0 |+\rangle_{+}\langle+|\otimes(\Pi_{H})_w|+_{j_i-1}^{(i)}\rangle=0 ∣ + ⟩ + ⟨ + ∣ ⊗ ( Π H ) w ∣ + j i − 1 ( i ) ⟩ = 0 . So we get
∥ Π j i − 1 V j i − 1 ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i P j i − 1 ( p i 2 ) 2 ∣ ⟨ 0 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0 ∣ ξ i , − ⟩ ∣ 2 2 ≤ 2 p i ( ϵ j i − 2 , 1 + ϵ j i − 2 , 2 + ϵ j i − 1 , 1 + ϵ j i − 1 , 2 ) . (23) \left\|\Pi_{j_i-1}V_{j_i-1}|\Psi_{\mathrm{in}}^{(i)}\rangle\right\|^2
-p_iP_{j_i-1}\left(\frac{\sqrt{p_i}}{2}\right)^2\frac{|\langle0|\xi_{i,+}\rangle|^2+|\langle0|\xi_{i,-}\rangle|^2}{2}
\le2p_i(\epsilon_{j_i-2,1}+\epsilon_{j_i-2,2}+\epsilon_{j_i-1,1}+\epsilon_{j_i-1,2}). \tag*{(23)} Π j i − 1 V j i − 1 ∣ Ψ in ( i ) ⟩ 2 − p i P j i − 1 ( 2 p i ) 2 2 ∣ ⟨ 0∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0∣ ξ i , − ⟩ ∣ 2 ≤ 2 p i ( ϵ j i − 2 , 1 + ϵ j i − 2 , 2 + ϵ j i − 1 , 1 + ϵ j i − 1 , 2 ) . (23)
In loop j i j_i j i , we have:
∥ D j i D j i − 1 ∣ Ψ i n ( i ) ⟩ − ( p i 2 ∣ + + ⟩ a b ∣ ξ i , + ⟩ c ∣ 0 ⟩ d ∣ φ i , − ⟩ − p i 2 ∣ + + ⟩ a b ∣ ξ i , − ⟩ c ∣ 0 ⟩ d ∣ φ i , − ⟩ ) ∥ ≤ p i ( ϵ j i − 1 , 1 + ϵ j i − 1 , 2 + ϵ j i , 1 + ϵ j i , 2 ) \left\|D_{j_i}D_{j_i-1}|\Psi_{\mathrm{in}}^{(i)}\rangle-\left(\sqrt{\frac{p_i}{2}}|++\rangle_{ab}|\xi_{i,+}\rangle_c|0\rangle_d|\varphi_{i,-}\rangle-\sqrt{\frac{p_i}{2}}|++\rangle_{ab}|\xi_{i,-}\rangle_c|0\rangle_d|\varphi_{i,-}\rangle\right)\right\|
\le p_i(\epsilon_{j_i-1,1}+\epsilon_{j_i-1,2}+\epsilon_{j_i,1}+\epsilon_{j_i,2}) D j i D j i − 1 ∣ Ψ in ( i ) ⟩ − ( 2 p i ∣ + + ⟩ ab ∣ ξ i , + ⟩ c ∣0 ⟩ d ∣ φ i , − ⟩ − 2 p i ∣ + + ⟩ ab ∣ ξ i , − ⟩ c ∣0 ⟩ d ∣ φ i , − ⟩ ) ≤ p i ( ϵ j i − 1 , 1 + ϵ j i − 1 , 2 + ϵ j i , 1 + ϵ j i , 2 )
Table 1.
S ← 0 S\leftarrow0 S ← 0 ;
Let ( Π H , Π H , U H ) (\Pi_H,\Pi_H,U_H) ( Π H , Π H , U H ) be the Hermitian dilation of the projected unitary encoding defined in Eq. (8) and U I U_I U I be the state preparation unitary defined in Eq. (17);
Let D 0 = I D_0=I D 0 = I and for j ∈ [ m ] j\in[m] j ∈ [ m ] , let D j D_j D j be the non-destructive singular value discriminator D D D in Theorem 3 with threshold γ = φ j / 2 \gamma=\varphi_j/2 γ = φ j /2 , gap ratio ρ = 2 \rho=2 ρ = 2 , and precision ϵ j , 1 = Δ / ( 96 m max { B j , B j + 1 } ) \epsilon_{j,1}=\Delta/(96m\max\{B_j,B_{j+1}\}) ϵ j , 1 = Δ/ ( 96 m max { B j , B j + 1 }) , ϵ j , 2 = Δ / ( 96 m max { B j , B j + 1 } ) \epsilon_{j,2}=\Delta/(96m\max\{B_j,B_{j+1}\}) ϵ j , 2 = Δ/ ( 96 m max { B j , B j + 1 }) ;
For j ∈ [ m ] j\in[m] j ∈ [ m ] , let W j W_j W j be the QSVT unitary U P j ( S V ) U_{P_j}^{(\mathrm{SV})} U P j ( SV ) in Theorem 1 for the polynomial P j P_j P j and the projected unitary encoding ( Π H , Π H , U H ) (\Pi_H,\Pi_H,U_H) ( Π H , Π H , U H ) ;
for j ← 1 j\leftarrow1 j ← 1 to m m m do
Let V j V_j V j be the sequence: apply D j − 1 D_{j-1} D j − 1 on ( a , b , c , w ) (a,b,c,w) ( a , b , c , w ) , then D j D_j D j on ( a , b , d , w ) (a,b,d,w) ( a , b , d , w ) , and finally W j W_j W j on ( a , w ) (a,w) ( a , w ) ;
Let ∣ Ψ i n ⟩ = ∣ + + ⟩ a , b ∣ 00 ⟩ c , d ⊗ ( U I ∣ 0 ⟩ w ) |\Psi_{\mathrm{in}}\rangle=|++\rangle_{a,b}|00\rangle_{c,d}\otimes(U_I|0\rangle_w) ∣ Ψ in ⟩ = ∣ + + ⟩ a , b ∣00 ⟩ c , d ⊗ ( U I ∣0 ⟩ w ) be the initial state;
Let Π j = { ∣ + ⟩ ⟨ + ∣ a ⊗ I b , c ⊗ ∣ 0 ⟩ ⟨ 0 ∣ d ⊗ ( Π H ) w if j = 1 , ∣ + ⟩ ⟨ + ∣ a ⊗ I b ⊗ ∣ 10 ⟩ ⟨ 10 ∣ c , d ⊗ ( Π H ) w if j ≥ 2 ; \Pi_j=\begin{cases}|+\rangle\langle+|_a\otimes I_{b,c}\otimes|0\rangle\langle0|_d\otimes(\Pi_H)_w&\text{if }j=1,\\|+\rangle\langle+|_a\otimes I_b\otimes|10\rangle\langle10|_{c,d}\otimes(\Pi_H)_w&\text{if }j\ge2;\end{cases} Π j = { ∣ + ⟩ ⟨ + ∣ a ⊗ I b , c ⊗ ∣0 ⟩ ⟨ 0 ∣ d ⊗ ( Π H ) w ∣ + ⟩ ⟨ + ∣ a ⊗ I b ⊗ ∣10 ⟩ ⟨ 10 ∣ c , d ⊗ ( Π H ) w if j = 1 , if j ≥ 2 ;
Estimate the squared norm v j = ∥ Π j V j ∣ Ψ i n ⟩ ∥ 2 v_j=\|\Pi_jV_j|\Psi_{\mathrm{in}}\rangle\|^2 v j = ∥ Π j V j ∣ Ψ in ⟩ ∥ 2 to additive error Δ 6 m B j \frac{\Delta}{6mB_j} 6 m B j Δ via Amplitude Estimation with upper bound v j ≤ v ˉ j v_j\le\bar v_j v j ≤ v ˉ j and maximum failure probability δ / m \delta/m δ / m in Corollary 1, denoting the output by v ~ j \widetilde v_j v j ;
S ← S + B j v ~ j S\leftarrow S+B_j\widetilde v_j S ← S + B j v j ;
Return S S S ;
and
∥ W j D j D j − 1 ∣ Ψ i n ( i ) ⟩ − ( p i 2 P j ( p i 2 ) ∣ + + ⟩ a , b ∣ ξ i , + ⟩ c ∣ 0 ⟩ d ∣ ϕ i , + ⟩ − p i 2 P j ( − p i 2 ) ∣ + + ⟩ a , b ∣ ξ i , − ⟩ c ∣ 0 ⟩ d ∣ ϕ i , − ⟩ + ∣ − j ( i ) ⟩ ) ∥ ≤ p i ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) , \left\|W_jD_jD_{j-1}|\Psi_{\mathrm{in}}^{(i)}\rangle-
\left(\sqrt{\frac{p_i}{2}}P_j\left(\frac{\sqrt{p_i}}{2}\right)|++\rangle_{a,b}|\xi_{i,+}\rangle_c|0\rangle_d|\phi_{i,+}\rangle
-\sqrt{\frac{p_i}{2}}P_j\left(-\frac{\sqrt{p_i}}{2}\right)|++\rangle_{a,b}|\xi_{i,-}\rangle_c|0\rangle_d|\phi_{i,-}\rangle
+|-\!^{(i)}_j\rangle\right)\right\|
\le p_i(\epsilon_{j-1,1}+\epsilon_{j-1,2}+\epsilon_{j,1}+\epsilon_{j,2}), W j D j D j − 1 ∣ Ψ in ( i ) ⟩ − ( 2 p i P j ( 2 p i ) ∣ + + ⟩ a , b ∣ ξ i , + ⟩ c ∣0 ⟩ d ∣ ϕ i , + ⟩ − 2 p i P j ( − 2 p i ) ∣ + + ⟩ a , b ∣ ξ i , − ⟩ c ∣0 ⟩ d ∣ ϕ i , − ⟩ + ∣ − j ( i ) ⟩ ) ≤ p i ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) ,
where ∣ − j ( i ) ⟩ |-\!^{(i)}_j\rangle ∣ − j ( i ) ⟩ is some non-normalized component such that ∣ + ⟩ ⟨ + ∣ a ⊗ ( Π H ) w ∣ − j ( i ) ⟩ = 0 |+\rangle\langle+|_a\otimes(\Pi_H)_w|-\!^{(i)}_j\rangle=0 ∣ + ⟩ ⟨ + ∣ a ⊗ ( Π H ) w ∣ − j ( i ) ⟩ = 0 . So we get
∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i P j ( p i 2 ) 2 ∣ ⟨ 1 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1 ∣ ξ i , − ⟩ ∣ 2 2 ≤ 2 p i ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) . (24) \left\|\Pi_{j}V_j|\Psi_{\mathrm{in}}^{(i)}\rangle\right\|^2
-p_iP_j\left(\frac{\sqrt{p_i}}{2}\right)^2
\frac{|\langle1|\xi_{i,+}\rangle|^2+|\langle1|\xi_{i,-}\rangle|^2}{2}
\le2p_i(\epsilon_{j-1,1}+\epsilon_{j-1,2}+\epsilon_{j,1}+\epsilon_{j,2}). \tag*{(24)} Π j V j ∣ Ψ in ( i ) ⟩ 2 − p i P j ( 2 p i ) 2 2 ∣ ⟨ 1∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1∣ ξ i , − ⟩ ∣ 2 ≤ 2 p i ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) . (24)
For j ∉ { j i − 1 , j i } j\notin\{j_i-1,j_i\} j ∈ / { j i − 1 , j i } , after acting V j V_j V j on ∣ Ψ i n ( i ) ⟩ |\Psi_{\mathrm{in}}^{(i)}\rangle ∣ Ψ in ( i ) ⟩ in loop j j j , either the register c c c becomes ∣ 0 ⟩ |0\rangle ∣0 ⟩ or the register d d d becomes ∣ 1 ⟩ |1\rangle ∣1 ⟩ approximately, therefore
∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 ≤ 2 p i ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) . (25) \left\|\Pi_jV_j|\Psi_{\mathrm{in}}^{(i)}\rangle\right\|^2\le2p_i(\epsilon_{j-1,1}+\epsilon_{j-1,2}+\epsilon_{j,1}+\epsilon_{j,2}). \tag*{(25)} Π j V j ∣ Ψ in ( i ) ⟩ 2 ≤ 2 p i ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) . (25)
We choose each local polynomial P j P_j P j such that B j P j ( p 2 ) 2 B_jP_j\left(\frac{\sqrt p}{2}\right)^2 B j P j ( 2 p ) 2 approximates p α − 1 p^{\alpha-1} p α − 1 up to error Δ / 12 \Delta/12 Δ/12 for any p ∈ ( φ j + 1 , φ j − 1 \sqrt p\in(\varphi_{j+1},\varphi_{j-1} p ∈ ( φ j + 1 , φ j − 1 . To see this, let x = p / 2 x=\sqrt p/2 x = p /2 , then we have
∣ B j P j ( x ) 2 − ( 2 x ) 2 ( α − 1 ) ∣ = B j ∣ P j ( x ) 2 − ( 2 x ) 2 ( α − 1 ) 2 2 α φ j − 1 2 ( α − 1 ) ∣ ≤ B j ∣ P j ( x ) − ( 2 x ) α − 1 2 α φ j − 1 α − 1 ∣ ∣ P j ( x ) + ( 2 x ) α − 1 2 α φ j − 1 α − 1 ∣ \begin{aligned}
\left|B_jP_j(x)^2-(2x)^{2(\alpha-1)}\right| \\
&=B_j\left|P_j(x)^2-\frac{(2x)^{2(\alpha-1)}}{2^{2\alpha}\varphi_{j-1}^{2(\alpha-1)}}\right| \\
&\le B_j\left|P_j(x)-\frac{(2x)^{\alpha-1}}{2^\alpha\varphi_{j-1}^{\alpha-1}}\right|
\left|P_j(x)+\frac{(2x)^{\alpha-1}}{2^\alpha\varphi_{j-1}^{\alpha-1}}\right|
\end{aligned} B j P j ( x ) 2 − ( 2 x ) 2 ( α − 1 ) = B j P j ( x ) 2 − 2 2 α φ j − 1 2 ( α − 1 ) ( 2 x ) 2 ( α − 1 ) ≤ B j P j ( x ) − 2 α φ j − 1 α − 1 ( 2 x ) α − 1 P j ( x ) + 2 α φ j − 1 α − 1 ( 2 x ) α − 1
≤ 3 B j ∣ P j ( x ) − x α − 1 2 α ( φ j − 1 / 2 ) α − 1 ∣ ≤ Δ / 12 , (26) \le3B_j\left|P_j(x)-\frac{x^{\alpha-1}}{2^\alpha(\varphi_{j-1}/2)^{\alpha-1}}\right|\le\Delta/12, \tag*{(26)} ≤ 3 B j P j ( x ) − 2 α ( φ j − 1 /2 ) α − 1 x α − 1 ≤ Δ/12 , (26)
with the last two inequalities coming from properties of P j = S α − 1 , φ j + 1 / 2 , φ j − 1 / 2 , Δ / ( 36 B j ) P_j=S_{\alpha-1,\varphi_{j+1}/2,\varphi_{j-1}/2,\Delta/(36B_j)} P j = S α − 1 , φ j + 1 /2 , φ j − 1 /2 , Δ/ ( 36 B j ) in Lemma 2. With these settings, we can now show that the output ∑ j ∈ [ m ] B j v ~ j \sum_{j\in[m]} B_j\widetilde{v}_j ∑ j ∈ [ m ] B j v j of Algorithm 1 approximates ∑ i = 1 n p i α \sum_{i=1}^{n}p_i^\alpha ∑ i = 1 n p i α well, up to additional errors of:
the cut-off error from Eq. (21);
the amplitude estimation errors in each loop j j j ;
the leakage errors of Eq. (23) – Eq. (25) from the non-destructive discriminators.
To do this, we first prove that:
Lemma 4. For the initial state ∣ Ψ i n ⟩ |\Psi_{\mathrm{in}}\rangle ∣ Ψ in ⟩ and each V j V_j V j , Π j \Pi_j Π j , B j B_j B j for j ∈ [ m ] j\in[m] j ∈ [ m ] defined in Algorithm 1, we have
∣ ∑ j ∈ [ m ] B j ∥ Π j V j ∣ Ψ i n ⟩ ∥ 2 − ∑ i : p i > φ m p i α ∣ < 3 Δ / 4. (27) \left|\sum_{j\in[m]}B_j\|\Pi_jV_j|\Psi_{\mathrm{in}}\rangle\|^2-\sum_{i:\sqrt{p_i}>\varphi_m}p_i^\alpha\right|<3\Delta/4. \tag*{(27)} j ∈ [ m ] ∑ B j ∥ Π j V j ∣ Ψ in ⟩ ∥ 2 − i : p i > φ m ∑ p i α < 3Δ/4. (27)
The proof of Lemma 4 is deferred to the Appendix. In fact, Lemma 4 sums up the leakage errors of the non-destructive discriminators and the errors coming from polynomial approximations, which might be the only nontrivial part of the error analysis. For the other errors, it’s routine to check that:
∣ P ~ α ( p ) − ∑ i = 1 n p i α ∣ ≤ ∑ i : p i ≤ φ m p i α + ∣ P ~ α ( p ) − ∑ i : p i > φ m p i α ∣ = ∑ i : p i ≤ φ m p i α + ∣ ∑ j ∈ [ m ] B j v ~ j − ∑ i : p i > φ m p i α ∣ ≤ ∑ i : p i ≤ φ m p i α + ∑ j ∈ [ m ] B j ∣ v ~ j − ∥ Π j V j ∣ Ψ i n ⟩ ∥ 2 ∣ + ∣ ∑ j ∈ [ m ] B j ∥ Π j V j ∣ Ψ i n ⟩ ∥ 2 − ∑ i : p i > φ m p i α ∣ < Δ / 12 + ∑ j ∈ [ m ] B j Δ 6 m B j + 3 Δ / 4 = Δ , \begin{aligned}
\left|\widetilde{P}_\alpha(\mathbf{p})-\sum_{i=1}^{n}p_i^\alpha\right|
\leq\sum_{i:\sqrt{p_i}\leq\varphi_m}p_i^\alpha+\left|\widetilde{P}_\alpha(\mathbf{p})-\sum_{i:\sqrt{p_i}>\varphi_m}p_i^\alpha\right| \\
&=\sum_{i:\sqrt{p_i}\leq\varphi_m}p_i^\alpha+\left|\sum_{j\in[m]}B_j\widetilde{v}_j-\sum_{i:\sqrt{p_i}>\varphi_m}p_i^\alpha\right| \\
&\leq\sum_{i:\sqrt{p_i}\leq\varphi_m}p_i^\alpha+\sum_{j\in[m]}B_j\left|\widetilde{v}_j-\|\Pi_jV_j|\Psi_{\mathrm{in}}\rangle\|^2\right|
+\left|\sum_{j\in[m]}B_j\|\Pi_jV_j|\Psi_{\mathrm{in}}\rangle\|^2-\sum_{i:\sqrt{p_i}>\varphi_m}p_i^\alpha\right| \\
&<\Delta/12+\sum_{j\in[m]}B_j\frac{\Delta}{6mB_j}+3\Delta/4=\Delta,
\end{aligned} P α ( p ) − i = 1 ∑ n p i α ≤ i : p i ≤ φ m ∑ p i α + P α ( p ) − i : p i > φ m ∑ p i α = i : p i ≤ φ m ∑ p i α + j ∈ [ m ] ∑ B j v j − i : p i > φ m ∑ p i α ≤ i : p i ≤ φ m ∑ p i α + j ∈ [ m ] ∑ B j v j − ∥ Π j V j ∣ Ψ in ⟩ ∥ 2 + j ∈ [ m ] ∑ B j ∥ Π j V j ∣ Ψ in ⟩ ∥ 2 − i : p i > φ m ∑ p i α < Δ/12 + j ∈ [ m ] ∑ B j 6 m B j Δ + 3Δ/4 = Δ ,
so the output of Algorithm 1 satisfies Eq. (20). The total success probability of Algorithm 1 is at least 1 − δ 1-\delta 1 − δ , due to the union bound.
Next we deal with the complexity of Algorithm 1. Fix the loop number j ∈ [ m ] j\in[m] j ∈ [ m ] and denote N j = ∣ { i : p i ∈ ( φ j + 1 , φ j − 1 ] } ∣ N_j=\left|\{i:\sqrt{p_i}\in(\varphi_{j+1},\varphi_{j-1}]\}\right| N j = { i : p i ∈ ( φ j + 1 , φ j − 1 ]} , then since
N j φ j + 1 2 α < ∑ i : p i ∈ ( φ j + 1 , φ j − 1 ] p i α ≤ R , (28) N_j\varphi_{j+1}^{2\alpha}<\sum_{i:\sqrt{p_i}\in(\varphi_{j+1},\varphi_{j-1}]}p_i^\alpha\leq R, \tag*{(28)} N j φ j + 1 2 α < i : p i ∈ ( φ j + 1 , φ j − 1 ] ∑ p i α ≤ R , (28)
we have N j ≤ min { n , R / φ j + 1 2 α } ≜ N ‾ j N_j\leq\min\{n,R/\varphi_{j+1}^{2\alpha}\}\triangleq\overline{N}_j N j ≤ min { n , R / φ j + 1 2 α } ≜ N j . By Eq. (23) – Eq. (25), we have
v j = ∥ Π j V j ∣ Ψ i n ⟩ ∥ 2 ≤ ∑ i : p i ∈ ( φ j + 1 , φ j − 1 ] p i + 2 ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) ≤ min { 1 , 5 N ‾ j φ j − 1 2 4 } ≜ v ‾ j . (29) v_j=\|\Pi_jV_j|\Psi_{\mathrm{in}}\rangle\|^2
\leq\sum_{i:\sqrt{p_i}\in(\varphi_{j+1},\varphi_{j-1}]}p_i+2(\epsilon_{j-1,1}+\epsilon_{j-1,2}+\epsilon_{j,1}+\epsilon_{j,2})
\leq\min\left\{1,\frac{5\overline{N}_j\varphi_{j-1}^2}{4}\right\}\triangleq\overline{v}_j. \tag*{(29)} v j = ∥ Π j V j ∣ Ψ in ⟩ ∥ 2 ≤ i : p i ∈ ( φ j + 1 , φ j − 1 ] ∑ p i + 2 ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) ≤ min { 1 , 4 5 N j φ j − 1 2 } ≜ v j . (29)
Therefore, up to logarithmic factors, the amplitude amplification in loop j j j has query complexity
Q j = O ~ [ 1 φ j ( B j φ j − 1 N ‾ j Δ + B j Δ ) ] , (30) Q_j=\widetilde{\mathcal{O}}\left[\frac{1}{\varphi_j}\left(\frac{B_j\varphi_{j-1}\sqrt{\overline{N}_j}}{\Delta}+\sqrt{\frac{B_j}{\Delta}}\right)\right], \tag*{(30)} Q j = O φ j 1 Δ B j φ j − 1 N j + Δ B j , (30)
with the factor O ~ ( 1 φ j ) \widetilde{\mathcal{O}}\left(\frac{1}{\varphi_j}\right) O ( φ j 1 ) coming from implemention of the non-destructive singular value discriminators and the QSVT unitary. The total complexity of Algorithm 1 is then
O ~ [ ∑ j = 1 m 1 φ j ( B j φ j − 1 N ‾ j Δ + B j Δ ) ] = O ~ [ ∑ j = 1 m ( min { φ j 2 ( α − 1 ) n , φ j α − 2 R } Δ + φ j α − 2 Δ ) ] . (31) \begin{aligned}
\widetilde{\mathcal{O}}\left[\sum_{j=1}^{m}\frac{1}{\varphi_j}\left(\frac{B_j\varphi_{j-1}\sqrt{\overline{N}_j}}{\Delta}+\sqrt{\frac{B_j}{\Delta}}\right)\right] \\
&=\widetilde{\mathcal{O}}\left[\sum_{j=1}^{m}\left(\frac{\min\{\varphi_j^{2(\alpha-1)}\sqrt{n},\varphi_j^{\alpha-2}\sqrt{R}\}}{\Delta}+\frac{\varphi_j^{\alpha-2}}{\sqrt{\Delta}}\right)\right]. \tag*{(31)}
\end{aligned} O j = 1 ∑ m φ j 1 Δ B j φ j − 1 N j + Δ B j = O [ j = 1 ∑ m ( Δ min { φ j 2 ( α − 1 ) n , φ j α − 2 R } + Δ φ j α − 2 ) ] . (31)
by substituting N ‾ j = min { n , R / φ j + 1 2 α } \overline{N}_j=\min\{n,R/\varphi_{j+1}^{2\alpha}\} N j = min { n , R / φ j + 1 2 α } and B j = 2 2 α φ j − 1 α − 2 B_j=2^{2\alpha}\varphi_{j-1}^{\alpha-2} B j = 2 2 α φ j − 1 α − 2 .
For 1 < α < 2 1<\alpha<2 1 < α < 2 , φ j 2 ( α − 1 ) n \varphi_j^{2(\alpha-1)}\sqrt{n} φ j 2 ( α − 1 ) n increase with φ j \varphi_j φ j while φ j α − 2 R \varphi_j^{\alpha-2}\sqrt{R} φ j α − 2 R decrease with φ j \varphi_j φ j , crossing at value φ j = ( R / n ) 1 / ( 2 α ) \varphi_j=(R/n)^{1/(2\alpha)} φ j = ( R / n ) 1/ ( 2 α ) . Therefore, min { φ j 2 ( α − 1 ) n , φ j α − 2 R } ≤ R 1 − 1 α n 1 2 − 1 α \min\{\varphi_j^{2(\alpha-1)}\sqrt{n},\varphi_j^{\alpha-2}\sqrt{R}\}\leq R^{1-\frac{1}{\alpha}}n^{\frac{1}{2}-\frac{1}{\alpha}} min { φ j 2 ( α − 1 ) n , φ j α − 2 R } ≤ R 1 − α 1 n 2 1 − α 1 and the first term of Eq. (32) sums up to O ~ ( R 1 − 1 α n 1 α − 1 2 Δ ) \widetilde{\mathcal{O}}\left(\frac{R^{1-\frac{1}{\alpha}}n^{\frac{1}{\alpha}-\frac{1}{2}}}{\Delta}\right) O ( Δ R 1 − α 1 n α 1 − 2 1 ) . The second term is a geometric progression so it sums up to O ~ ( φ m α − 2 Δ ) = O ~ ( n 1 α − 1 2 Δ 1 α ) ≤ O ~ ( R 1 − 1 α n 1 α − 1 2 Δ ) \widetilde{\mathcal{O}}\left(\frac{\varphi_m^{\alpha-2}}{\sqrt{\Delta}}\right)=\widetilde{\mathcal{O}}\left(\frac{n^{\frac{1}{\alpha}-\frac{1}{2}}}{\Delta^{\frac{1}{\alpha}}}\right)\leq\widetilde{\mathcal{O}}\left(\frac{R^{1-\frac{1}{\alpha}}n^{\frac{1}{\alpha}-\frac{1}{2}}}{\Delta}\right) O ( Δ φ m α − 2 ) = O ( Δ α 1 n α 1 − 2 1 ) ≤ O ( Δ R 1 − α 1 n α 1 − 2 1 ) , where we use Δ ≤ R / 8 \Delta\leq R/8 Δ ≤ R /8 .
For α > 2 \alpha>2 α > 2 , the first term is upper-bounded by O ~ ( φ 0 α − 2 Δ ) = O ~ ( R 1 2 − 1 α Δ ) \widetilde{\mathcal{O}}\left(\frac{\varphi_0^{\alpha-2}}{\Delta}\right)=\widetilde{\mathcal{O}}\left(\frac{R^{\frac{1}{2}-\frac{1}{\alpha}}}{\Delta}\right) O ( Δ φ 0 α − 2 ) = O ( Δ R 2 1 − α 1 ) . The second term is also a geometric progression and it sums up to O ~ ( φ 0 α − 2 Δ ) = O ~ ( R 1 2 − 1 α Δ ) ≤ O ~ ( R 1 2 − 1 α Δ ) \widetilde{\mathcal{O}}\left(\frac{\varphi_0^{\alpha-2}}{\sqrt{\Delta}}\right)=\widetilde{\mathcal{O}}\left(\frac{R^{\frac{1}{2}-\frac{1}{\alpha}}}{\sqrt{\Delta}}\right)\leq\widetilde{\mathcal{O}}\left(\frac{R^{\frac{1}{2}-\frac{1}{\alpha}}}{\Delta}\right) O ( Δ φ 0 α − 2 ) = O ( Δ R 2 1 − α 1 ) ≤ O ( Δ R 2 1 − α 1 ) . Substituting Δ = η R \Delta=\eta R Δ = η R , the total query complexity is therefore
O ~ ( n max { 0 , 1 α − 1 2 } η R 1 / α ) \widetilde{\mathcal{O}}\left(\frac{n^{\max\{0,\frac{1}{\alpha}-\frac{1}{2}\}}}{\eta R^{1/\alpha}}\right) O ( η R 1/ α n m a x { 0 , α 1 − 2 1 } )
as stated. ◻︎
Estimate P α ( p ) P_{\alpha}(\mathbf{p}) P α ( p ) via binary search
Using Algorithm 1 itself, we can remove the requirement of a known upper bound of P α ( p ) P_{\alpha}(\mathbf{p}) P α ( p ) through binary search. Since
n 1 − α ≤ P α ( p ) ≤ 1 , (32) n^{1-\alpha} \le P_{\alpha}(\mathbf{p}) \le1, \tag*{(32)} n 1 − α ≤ P α ( p ) ≤ 1 , (32)
we start with R = 1 R=1 R = 1 and recurrently halve R R R until it reach constant relative accuracy of P α ( p ) P_{\alpha}(\mathbf{p}) P α ( p ) .
Proof of Theorem 4. The pseudocode of our algorithm is presented in Algorithm 2. There are L + 1 = ⌈ ( α − 1 ) log 2 n ⌉ L+1=\lceil(\alpha-1)\log_{2}n\rceil L + 1 = ⌈( α − 1 ) log 2 n ⌉ search steps, with the algorithm returning Failed if it doesn’t stop at the ( L + 1 ) (L+1) ( L + 1 ) -th step. A final high-accuracy step is used to present estimate H ~ α ( p ) \widetilde{H}_{\alpha}(\mathbf{p}) H α ( p ) within the required additive error ϵ \epsilon ϵ . Since there are at most L + 2 L+2 L + 2 calls to Algorithm 1, the total failure probability is at most ( L + 2 ) δ 0 = δ (L+2)\delta_{0}=\delta ( L + 2 ) δ 0 = δ .
In each of the search steps, whenever stop = 0 \operatorname{stop}=0 stop = 0 , we have P α ( p ) < 3 R / 8 + R / 8 = R / 2 P_{\alpha}(\mathbf{p})<3R/8+R/8=R/2 P α ( p ) < 3 R /8 + R /8 = R /2 . So the update R ← R / 2 R\leftarrow R/2 R ← R /2 preserves the input requirement of Algorithm 1. When stop = 1 \operatorname{stop}=1 stop = 1 , we have P α ( p ) > 3 R / 8 − R / 8 = R / 4 P_{\alpha}(\mathbf{p})>3R/8-R/8=R/4 P α ( p ) > 3 R /8 − R /8 = R /4 and so
P α ( p ) ≤ R < 4 P α ( p ) . (33) P_{\alpha}(\mathbf{p}) \le R < 4P_{\alpha}(\mathbf{p}). \tag*{(33)} P α ( p ) ≤ R < 4 P α ( p ) . (33)
For the final call to Algorithm 1 at the high-accuracy step, we set η = min { 1 / 8 , ( α − 1 ) ϵ / 8 } \eta=\min\{1/8,(\alpha-1)\epsilon/8\} η = min { 1/8 , ( α − 1 ) ϵ /8 } . Then (33) gives relative error of P ~ α ( p ) \widetilde{P}_{\alpha}(\mathbf{p}) P α ( p ) as
r : = η R P α ( p ) < 4 η ≤ 1 2 . (34) r:=\frac{\eta R}{P_{\alpha}(\mathbf{p})}<4\eta\le\frac{1}{2}. \tag*{(34)} r := P α ( p ) η R < 4 η ≤ 2 1 . (34)
Since ∣ log ( 1 + x ) ∣ < 2 ∣ x ∣ \lvert\log(1+x)\rvert<2\lvert x\rvert ∣ log ( 1 + x )∣ < 2 ∣ x ∣ for ∣ x ∣ < 1 / 2 \lvert x\rvert<1/2 ∣ x ∣ < 1/2 , the output estimate of Algorithm 2 satisfies
∣ H ~ α ( p ) − H α ( p ) ∣ = 1 α − 1 ∣ log P ~ α ( p ) P α ( p ) ∣ < 2 r α − 1 < 8 η α − 1 ≤ ϵ . (35) \left|\widetilde{H}_{\alpha}(\mathbf{p})-H_{\alpha}(\mathbf{p})\right|
=\frac{1}{\alpha-1}\left|\log\frac{\widetilde{P}_{\alpha}(\mathbf{p})}{P_{\alpha}(\mathbf{p})}\right|
<\frac{2r}{\alpha-1}<\frac{8\eta}{\alpha-1}\le\epsilon. \tag*{(35)} H α ( p ) − H α ( p ) = α − 1 1 log P α ( p ) P α ( p ) < α − 1 2 r < α − 1 8 η ≤ ϵ . (35)
For constant multiplicative accuracy 1 / 8 1/8 1/8 , the query complexity for each of the search steps is O ~ ( n max { 0 , 1 / α − 1 / 2 } R − 1 / α ) \widetilde{O}\left(n^{\max\{0,1/\alpha-1/2\}}R^{-1/\alpha}\right) O ( n m a x { 0 , 1/ α − 1/2 } R − 1/ α ) , which grows geometrically as R R R is halved. So their sum is bounded by the final scale, which is
O ~ ( n max { 0 , 1 / α − 1 / 2 } P α ( p ) 1 / α ) (36) \widetilde{O}\left(\frac{n^{\max\{0,1/\alpha-1/2\}}}{P_{\alpha}(\mathbf{p})^{1/\alpha}}\right) \tag*{(36)} O ( P α ( p ) 1/ α n m a x { 0 , 1/ α − 1/2 } ) (36)
by (33) . The high-accuracy step has query complexity
O ~ ( n max { 0 , 1 / α − 1 / 2 } ϵ P α ( p ) 1 / α ) (37) \widetilde{O}\left(\frac{n^{\max\{0,1/\alpha-1/2\}}}{\epsilon P_{\alpha}(\mathbf{p})^{1/\alpha}}\right) \tag*{(37)} O ( ϵ P α ( p ) 1/ α n m a x { 0 , 1/ α − 1/2 } ) (37)
and since P α ( p ) ≥ n 1 − α P_{\alpha}(\mathbf{p})\ge n^{1-\alpha} P α ( p ) ≥ n 1 − α , the worst-case query complexity of Algorithm 2 is bounded by (19) as stated. □
NON-INTEGER RÉNYI ENTROPY ESTIMATOR (0 < α \alpha α < 1)
Theorem 5. For any fixed 0 < α < 1 0<\alpha<1 0 < α < 1 , there exists an algorithm A \mathcal{A} A such that for any δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) and probability distribution p \mathbf{p} p on [ n ] [n] [ n ] , A \mathcal{A} A can estimate H α ( p ) H_{\alpha}(\mathbf{p}) H α ( p ) to within additive error ϵ \epsilon ϵ with success probability at least 1 − δ 1-\delta 1 − δ , using
O ~ ( n 1 / ( 2 α ) ϵ max { 1 , 1 2 α } ) (38) \widetilde{O}\left(\frac{n^{1/(2\alpha)}}{\epsilon^{\max\{1,\frac{1}{2\alpha}\}}}\right) \tag*{(38)} O ( ϵ m a x { 1 , 2 α 1 } n 1/ ( 2 α ) ) (38)
queries to U p U_{\mathbf{p}} U p and U p † U_{\mathbf{p}}^{\dagger} U p † in Definition 1.
For 0 < α ≤ 1 / 2 0<\alpha\le1/2 0 < α ≤ 1/2 , the query upper bound is O ~ ( ( n / ϵ ) 1 / ( 2 α ) ) \widetilde{O}((n/\epsilon)^{1/(2\alpha)}) O (( n / ϵ ) 1/ ( 2 α ) ) ; for 1 / 2 ≤ α < 1 1/2\le\alpha<1 1/2 ≤ α < 1 , it is O ~ ( n 1 / ( 2 α ) / ϵ ) \widetilde{O}(n^{1/(2\alpha)}/\epsilon) O ( n 1/ ( 2 α ) / ϵ ) . Compared with the current best upper bound O ~ ( min { n 1 / ( 2 α ) ϵ 1 + 1 / ( 2 α ) , n 1 / α − 1 / 2 ϵ 1 / α } ) \widetilde{O}\left(\min\left\{\frac{n^{1/(2\alpha)}}{\epsilon^{1+1/(2\alpha)}},\frac{n^{1/\alpha-1/2}}{\epsilon^{1/\alpha}}\right\}\right) O ( min { ϵ 1 + 1/ ( 2 α ) n 1/ ( 2 α ) , ϵ 1/ α n 1/ α − 1/2 } ) of [20 Corollary 1.5] , our algorithm improves the precision dependence without increasing the dimensional exponent.
The main difference from Section III is the initial state. Here, we prepare a uniform superposition of labels so that the local polynomials avoid approximating the negative power p i α − 1 p_i^{\alpha-1} p i α − 1 near zero. More explicitly, the initial state is prepared as
U u n i f ∣ 0 ⟩ w = ∑ i = 1 n 1 n ∣ 1 ⟩ ∣ i ⟩ ∣ G B C D ⟩ = ∑ i = 1 n 1 2 n ( ∣ ϕ i , + ⟩ − ∣ ϕ i , − ⟩ ) , (39) \begin{aligned}
U_{\mathrm{unif}}\lvert0\rangle_{\mathrm{w}}
&=\sum_{i=1}^{n}\frac{1}{\sqrt{n}}\lvert1\rangle\lvert i\rangle\lvert\mathrm{GB CD}\rangle\\
&=\sum_{i=1}^{n}\frac{1}{\sqrt{2n}}\left(\lvert\phi_{i,+}\rangle-\lvert\phi_{i,-}\rangle\right), \tag*{(39)}
\end{aligned} U unif ∣ 0 ⟩ w = i = 1 ∑ n n 1 ∣ 1 ⟩ ∣ i ⟩ ∣ GBCD ⟩ = i = 1 ∑ n 2 n 1 ( ∣ ϕ i , + ⟩ − ∣ ϕ i , − ⟩ ) , (39)
with ∣ i ⟩ = ∣ 0 , 0 , i , 0 ⟩ \lvert i\rangle=\lvert0,0,i,0\rangle ∣ i ⟩ = ∣ 0 , 0 , i , 0 ⟩ being left singular vectors of the projective unitary encoding defined in (8) and ∣ ϕ i , ± ⟩ \lvert\phi_{i,\pm}\rangle ∣ ϕ i , ± ⟩ being the eigenvectors of its Hermitian dilation. The preparation unitary U u n i f U_{\mathrm{unif}} U unif can be easily implemented without queries to U p U_{\mathbf{p}} U p or U p † U_{\mathbf{p}}^{\dagger} U p † .
Similarly as Section III, we first construct a weaker algorithm which can estimate P α ( p ) P_{\alpha}(\mathbf{p}) P α ( p ) to within multiplicative accuracy η < 1 / 4 \eta<1/4 η < 1/4 given its upper bound, and then remove the requirement of knowing an upper bound.
Estimate P α ( p ) P_{\alpha}(\mathbf{p}) P α ( p ) from its known upper bound
Lemma 5. For fixed 0 < α < 1 0<\alpha<1 0 < α < 1 , suppose P α ( p ) ≤ R ≤ n 1 − α P_{\alpha}(\mathbf{p})\le R\le n^{1-\alpha} P α ( p ) ≤ R ≤ n 1 − α and R R R is known. For any η ∈ ( 0 , 1 / 4 ) \eta\in(0,1/4) η ∈ ( 0 , 1/4 ) and δ ∈ ( 0 , 1 / 3 ) \delta\in(0,1/3) δ ∈ ( 0 , 1/3 ) , there exists an algorithm A \mathcal{A} A that outputs an estimate P ~ α ( p ) \widetilde{P}_{\alpha}(\mathbf{p}) P α ( p ) such that
∣ P ~ α ( p ) − P α ( p ) ∣ ≤ η R (40) \left|\widetilde{P}_{\alpha}(\mathbf{p})-P_{\alpha}(\mathbf{p})\right|\le\eta R \tag*{(40)} P α ( p ) − P α ( p ) ≤ η R (40)
with success probability at least 1 − δ 1-\delta 1 − δ , using
O ~ ( n 1 / ( 2 α ) R 1 / ( 2 α ) η max { 1 , 1 2 α } ) (41) \widetilde{O}\left(\frac{n^{1/(2\alpha)}}{R^{1/(2\alpha)}\eta^{\max\{1,\frac{1}{2\alpha}\}}}\right) \tag*{(41)} O ( R 1/ ( 2 α ) η m a x { 1 , 2 α 1 } n 1/ ( 2 α ) ) (41)
queries to U p U_{\mathbf{p}} U p and U p † U_{\mathbf{p}}^{\dagger} U p † in Definition 1.
Proof. The pseudocode of the algorithm is presented in Algorithm 3. We denote Δ = η R \Delta=\eta R Δ = η R for convenience of Algorithm 2: Quantum algorithm for estimating H α ( p ) H_{\alpha}(\mathbf{p}) H α ( p ) for non-integer α > 1 \alpha> 1 α > 1
Input : Additive error ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) ; Maximum failure probability δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) ; Purified access oracle U p U_{\mathbf{p}} U p for p = ( p i ) i = 1 n \mathbf{p}=(p_i)_{i=1}^{n} p = ( p i ) i = 1 n ;
Parameters: L = ⌊ ( α − 1 ) log 2 n ⌋ L=\lfloor(\alpha-1)\log_2 n\rfloor L = ⌊( α − 1 ) log 2 n ⌋ and δ 0 = δ / ( L + 2 ) \delta_0=\delta/(L+2) δ 0 = δ / ( L + 2 ) ;
Output : Estimate H ~ α ( p ) \widetilde{H}_{\alpha}(\mathbf{p}) H α ( p ) of H α ( p ) H_{\alpha}(\mathbf{p}) H α ( p ) to additive error ϵ \epsilon ϵ .
R ← 1 R\leftarrow1 R ← 1 ; k ← 0 k\leftarrow0 k ← 0 ; stop ← 0 \operatorname{stop}\leftarrow0 stop ← 0 ;
while stop = 0 \operatorname{stop}=0 stop = 0 do
Use Algorithm 1 with upper bound R R R , multiplicative accuracy 1 / 8 1/8 1/8 , and failure probability δ 0 \delta_0 δ 0 to obtain P ~ α ( p ) \widetilde{P}_{\alpha}(\mathbf{p}) P α ( p ) ;
if P ~ α ( p ) > 3 R / 8 \widetilde{P}_{\alpha}(\mathbf{p})>3R/8 P α ( p ) > 3 R /8 then
stop ← 1 \operatorname{stop}\leftarrow1 stop ← 1 ;
else
if k = L k=L k = L then
Return Failed;
R ← R / 2 R\leftarrow R/2 R ← R /2 ; k ← k + 1 k\leftarrow k+1 k ← k + 1 ;
Use Algorithm 1 with the resulting R R R , multiplicative accuracy η = min { 1 / 8 , ( α − 1 ) ϵ / 8 } \eta=\min\{1/8,(\alpha-1)\epsilon/8\} η = min { 1/8 , ( α − 1 ) ϵ /8 } , and failure probability δ 0 \delta_0 δ 0 to obtain P ~ α ( p ) \widetilde{P}_{\alpha}(\mathbf{p}) P α ( p ) ;
Return H ~ α ( p ) = 1 1 − α log P ~ α ( p ) \widetilde{H}_{\alpha}(\mathbf{p})=\frac{1}{1-\alpha}\log\widetilde{P}_{\alpha}(\mathbf{p}) H α ( p ) = 1 − α 1 log P α ( p ) ;
discussion. Different from Section III, here we set φ 0 = 1 \varphi_0=1 φ 0 = 1 and φ j = φ 0 / 2 j \varphi_j=\varphi_0/2^j φ j = φ 0 / 2 j for j = 1 , 2 , ⋯ , m + 1 j=1,2,\cdots,m+1 j = 1 , 2 , ⋯ , m + 1 , with m m m chosen such that the contribution of those probabilities below φ m 2 \varphi_m^2 φ m 2 does not exceed Δ / 12 \Delta/12 Δ/12 :
∑ i : p i ≤ φ m 2 p i α ≤ n ( φ m ) 2 α ≤ Δ / 12. (42) \sum_{i:p_i\leq\varphi_m^2}p_i^\alpha\leq n(\varphi_m)^{2\alpha}\leq\Delta/12. \tag*{(42)} i : p i ≤ φ m 2 ∑ p i α ≤ n ( φ m ) 2 α ≤ Δ/12. (42)
So we have φ m = Θ [ ( Δ n ) 1 / ( 2 α ) ] \varphi_m=\Theta\left[\left(\frac{\Delta}{n}\right)^{1/(2\alpha)}\right] φ m = Θ [ ( n Δ ) 1/ ( 2 α ) ] and m = Θ [ log ( n Δ ) ] m=\Theta\left[\log\left(\frac{n}{\Delta}\right)\right] m = Θ [ log ( Δ n ) ] .
Just as the case of α > 1 \alpha>1 α > 1 , in loop j j j of Algorithm 3, we isolate the singular values in ( φ j + 1 2 , φ j − 1 2 ] \left(\frac{\varphi_{j+1}}{2},\frac{\varphi_{j-1}}{2}\right] ( 2 φ j + 1 , 2 φ j − 1 ] via non-destructive singular value discriminators D j − 1 D_{j-1} D j − 1 and D j D_j D j defined in Theorem 3. To be more explicit, for the i i i -th component of the initial state ∣ Ψ u n i f ⟩ |\Psi_{\mathrm{unif}}\rangle ∣ Ψ unif ⟩ :
∣ Ψ u n i f ( i ) ⟩ ≜ ∣ + + ⟩ a b ∣ 00 ⟩ c d ⊗ 1 2 n ( ∣ ϕ i , + ⟩ − ∣ ϕ i , − ⟩ ) (43) |\Psi_{\mathrm{unif}}^{(i)}\rangle\triangleq|++\rangle_{ab}|00\rangle_{cd}\otimes\frac{1}{\sqrt{2n}}\left(|\phi_{i,+}\rangle-|\phi_{i,-}\rangle\right) \tag*{(43)} ∣ Ψ unif ( i ) ⟩ ≜ ∣ + + ⟩ ab ∣00 ⟩ c d ⊗ 2 n 1 ( ∣ ϕ i , + ⟩ − ∣ ϕ i , − ⟩ ) (43)
such that φ m < p i ∈ ( φ j i , φ j i − 1 ] \varphi_m<\sqrt{p_i}\in(\varphi_{j_i},\varphi_{j_i-1}] φ m < p i ∈ ( φ j i , φ j i − 1 ] , we have in loop j i − 1 j_i-1 j i − 1 (not for those i i i with p i ∈ ( φ 1 , φ 0 ] \sqrt{p_i}\in(\varphi_1,\varphi_0] p i ∈ ( φ 1 , φ 0 ] ):
∥ D j i − 1 D j i − 2 ∣ Ψ u n i f ( i ) ⟩ − ( i 1 2 n ∣ + + ⟩ a b ∣ 1 ⟩ c ∣ ξ i , + ⟩ d ∣ ϕ i , + ⟩ − i 1 2 n ∣ + + ⟩ a b ∣ 1 ⟩ c ∣ ξ i , − ⟩ d ∣ ϕ i , − ⟩ ) ∥ ≤ 1 n ( ϵ j i − 2 , 1 + ϵ j i − 2 , 2 + ϵ j i − 1 , 1 + ϵ j i − 1 , 2 ) \begin{aligned}
\left\|D_{j_i-1}D_{j_i-2}|\Psi_{\mathrm{unif}}^{(i)}\rangle-\left(i\frac{1}{\sqrt{2n}}|++\rangle_{ab}|1\rangle_c|\xi_{i,+}\rangle_d|\phi_{i,+}\rangle-i\frac{1}{\sqrt{2n}}|++\rangle_{ab}|1\rangle_c|\xi_{i,-}\rangle_d|\phi_{i,-}\rangle\right)\right\|\\
\leq\frac{1}{n}\left(\epsilon_{j_i-2,1}+\epsilon_{j_i-2,2}+\epsilon_{j_i-1,1}+\epsilon_{j_i-1,2}\right)
\end{aligned} D j i − 1 D j i − 2 ∣ Ψ unif ( i ) ⟩ − ( i 2 n 1 ∣ + + ⟩ ab ∣1 ⟩ c ∣ ξ i , + ⟩ d ∣ ϕ i , + ⟩ − i 2 n 1 ∣ + + ⟩ ab ∣1 ⟩ c ∣ ξ i , − ⟩ d ∣ ϕ i , − ⟩ ) ≤ n 1 ( ϵ j i − 2 , 1 + ϵ j i − 2 , 2 + ϵ j i − 1 , 1 + ϵ j i − 1 , 2 )
∥ W j i − 1 D j i − 1 D j i − 2 ∣ Ψ u n i f ( i ) ⟩ − ( i 1 2 n Q j i − 1 ( p i 2 ) ∣ + + ⟩ a b ∣ 1 ⟩ c ∣ ξ i , + ⟩ d ∣ ϕ i , + ⟩ − i 1 2 n Q j i − 1 ( − p i 2 ) ∣ + + ⟩ a b ∣ 1 ⟩ c ∣ ξ i , − ⟩ d ∣ ϕ i , − ⟩ ) + ∣ Ψ j i − 1 ( i ) ⟩ ∥ ≤ 1 n ( ϵ j i − 2 , 1 + ϵ j i − 2 , 2 + ϵ j i − 1 , 1 + ϵ j i − 1 , 2 ) , \begin{aligned}
\left\|W_{j_i-1}D_{j_i-1}D_{j_i-2}|\Psi_{\mathrm{unif}}^{(i)}\rangle-\left(i\frac{1}{\sqrt{2n}}Q_{j_i-1}\left(\frac{\sqrt{p_i}}{2}\right)|++\rangle_{ab}|1\rangle_c|\xi_{i,+}\rangle_d|\phi_{i,+}\rangle\right.\right.\\
\left.\left.-i\frac{1}{\sqrt{2n}}Q_{j_i-1}\left(-\frac{\sqrt{p_i}}{2}\right)|++\rangle_{ab}|1\rangle_c|\xi_{i,-}\rangle_d|\phi_{i,-}\rangle\right)+|\Psi_{j_i-1}^{(i)}\rangle\right\|\\
\leq\frac{1}{n}\left(\epsilon_{j_i-2,1}+\epsilon_{j_i-2,2}+\epsilon_{j_i-1,1}+\epsilon_{j_i-1,2}\right),
\end{aligned} W j i − 1 D j i − 1 D j i − 2 ∣ Ψ unif ( i ) ⟩ − ( i 2 n 1 Q j i − 1 ( 2 p i ) ∣ + + ⟩ ab ∣1 ⟩ c ∣ ξ i , + ⟩ d ∣ ϕ i , + ⟩ − i 2 n 1 Q j i − 1 ( − 2 p i ) ∣ + + ⟩ ab ∣1 ⟩ c ∣ ξ i , − ⟩ d ∣ ϕ i , − ⟩ ) + ∣ Ψ j i − 1 ( i ) ⟩ ≤ n 1 ( ϵ j i − 2 , 1 + ϵ j i − 2 , 2 + ϵ j i − 1 , 1 + ϵ j i − 1 , 2 ) ,
where ∣ Ψ j i − 1 ( i ) ⟩ |\Psi_{j_i-1}^{(i)}\rangle ∣ Ψ j i − 1 ( i ) ⟩ is some non-normalized component such that ∣ + ⟩ ⟨ + ∣ a ⊗ ( Π H ) w ∣ Ψ j i − 1 ( i ) ⟩ = 0 |+\rangle\langle+|_a\otimes(\Pi_H)_w|\Psi_{j_i-1}^{(i)}\rangle=0 ∣ + ⟩ ⟨ + ∣ a ⊗ ( Π H ) w ∣ Ψ j i − 1 ( i ) ⟩ = 0 . So we get
∥ Π j i − 1 V j i − 1 ∣ Ψ u n i f ( i ) ⟩ ∥ 2 − 1 n Q j i − 1 ( p i 2 ) ∣ ⟨ 0 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0 ∣ ξ i , − ⟩ ∣ 2 2 ≤ 2 n ( ϵ j i − 2 , 1 + ϵ j i − 2 , 2 + ϵ j i − 1 , 1 + ϵ j i − 1 , 2 ) . (44) \left\|\Pi_{j_i-1}V_{j_i-1}|\Psi_{\mathrm{unif}}^{(i)}\rangle\right\|^2-\frac{1}{n}Q_{j_i-1}\left(\frac{\sqrt{p_i}}{2}\right)\frac{|\langle0|\xi_{i,+}\rangle|^2+|\langle0|\xi_{i,-}\rangle|^2}{2}
\leq\frac{2}{n}\left(\epsilon_{j_i-2,1}+\epsilon_{j_i-2,2}+\epsilon_{j_i-1,1}+\epsilon_{j_i-1,2}\right). \tag*{(44)} Π j i − 1 V j i − 1 ∣ Ψ unif ( i ) ⟩ 2 − n 1 Q j i − 1 ( 2 p i ) 2 ∣ ⟨ 0∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0∣ ξ i , − ⟩ ∣ 2 ≤ n 2 ( ϵ j i − 2 , 1 + ϵ j i − 2 , 2 + ϵ j i − 1 , 1 + ϵ j i − 1 , 2 ) . (44)
In loop j i j_i j i , we have
∥ D j i D j i − 1 ∣ Ψ u n i f ( i ) ⟩ − ( 1 2 n ∣ + + ⟩ a b ∣ ξ i , + ⟩ c ∣ 0 ⟩ d ∣ ϕ i , + ⟩ + 1 2 n ∣ + + ⟩ a b ∣ ξ i , − ⟩ c ∣ 0 ⟩ d ∣ ϕ i , − ⟩ ) ∥ ≤ 1 n ( ϵ j i − 1 , 1 + ϵ j i − 1 , 2 + ϵ j i , 1 + ϵ j i , 2 ) \left\|D_{j_i}D_{j_i-1}|\Psi_{\mathrm{unif}}^{(i)}\rangle-\left(\frac{1}{\sqrt{2n}}|++\rangle_{ab}|\xi_{i,+}\rangle_c|0\rangle_d|\phi_{i,+}\rangle+\frac{1}{\sqrt{2n}}|++\rangle_{ab}|\xi_{i,-}\rangle_c|0\rangle_d|\phi_{i,-}\rangle\right)\right\|
\leq\frac{1}{n}\left(\epsilon_{j_i-1,1}+\epsilon_{j_i-1,2}+\epsilon_{j_i,1}+\epsilon_{j_i,2}\right) D j i D j i − 1 ∣ Ψ unif ( i ) ⟩ − ( 2 n 1 ∣ + + ⟩ ab ∣ ξ i , + ⟩ c ∣0 ⟩ d ∣ ϕ i , + ⟩ + 2 n 1 ∣ + + ⟩ ab ∣ ξ i , − ⟩ c ∣0 ⟩ d ∣ ϕ i , − ⟩ ) ≤ n 1 ( ϵ j i − 1 , 1 + ϵ j i − 1 , 2 + ϵ j i , 1 + ϵ j i , 2 )
Algorithm 3: Quantum algorithm for estimating P α ( p ) P_{\alpha}(\mathbf{p}) P α ( p ) (0 < α < 1 0<\alpha<1 0 < α < 1 ) from its known upper bound
Input : Upper bound R ≤ n 1 − α R\le n^{1-\alpha} R ≤ n 1 − α ; Multiplicative accuracy η ∈ ( 0 , 1 / 4 ) \eta\in(0,1/4) η ∈ ( 0 , 1/4 ) ; Maximum failure probability δ ∈ ( 0 , 1 / 3 ) \delta\in(0,1/3) δ ∈ ( 0 , 1/3 ) ; Purified access oracle U p U_p U p for the distribution p = ( p i ) i = 1 n \mathbf{p}=(p_i)_{i=1}^n p = ( p i ) i = 1 n ;
Registers : Auxiliary qubits a, b, c, d and workspace w defined in (39) ;
Parameters: Δ : = η \Delta:=\eta Δ := η ; m : = ⌈ 1 2 α log 2 ( 12 n Δ ) ⌉ m:=\left\lceil\frac{1}{2\alpha}\log_2\left(\frac{12n}{\Delta}\right)\right\rceil m := ⌈ 2 α 1 log 2 ( Δ 12 n ) ⌉ ; Intervals ( φ m + 1 , φ m ] , … , ( φ 1 , φ 0 ] (\varphi_{m+1},\varphi_m],\ldots,(\varphi_1,\varphi_0] ( φ m + 1 , φ m ] , … , ( φ 1 , φ 0 ] with φ 0 : = 1 \varphi_0:=1 φ 0 := 1 and φ j : = 1 / 2 j \varphi_j:=1/2^j φ j := 1/ 2 j for j = 1 , … , m + 1 j=1,\ldots,m+1 j = 1 , … , m + 1 ; B m + 1 : = 0 B_{m+1}:=0 B m + 1 := 0 and B j : = 2 2 α + 2 φ j − 1 2 α − 1 B_j:=2^{2\alpha+2}\varphi_{j-1}^{2\alpha-1} B j := 2 2 α + 2 φ j − 1 2 α − 1 , local polynomial Q j : = S c , ν , β , ϵ Q_j:=S_{c,\nu,\beta,\epsilon} Q j := S c , ν , β , ϵ with c : = α c:=\alpha c := α , ν : = φ j + 1 2 \nu:=\frac{\varphi_{j+1}}{2} ν := 2 φ j + 1 , β : = φ j − 1 2 \beta:=\frac{\varphi_{j-1}}{2} β := 2 φ j − 1 , ϵ : = Δ 36 n B j \epsilon:=\frac{\Delta}{36nB_j} ϵ := 36 n B j Δ in Lemma 2, v ‾ j : = min { 1 , 5 R / ( 4 n φ j 2 α ) } \overline{v}_j:=\min\left\{1,5R/(4n\varphi_j^{2\alpha})\right\} v j := min { 1 , 5 R / ( 4 n φ j 2 α ) } for each j ∈ [ m ] j\in[m] j ∈ [ m ] ;
Output : Estimate P ~ α ( p ) \widetilde{P}_{\alpha}(\mathbf{p}) P α ( p ) satisfying (40) .
S ← 0 S\leftarrow0 S ← 0 ;
Let ( Π H , Π H , U H ) (\Pi_H,\Pi_H,U_H) ( Π H , Π H , U H ) be Hermitian dilation of the projected unitary encoding defined in Eq. (8) and U u n i f U_{\mathrm{unif}} U unif be the state preparation unitary defined in Eq. (40);
Let D 0 = I D_0=I D 0 = I and for j ∈ [ m ] j\in[m] j ∈ [ m ] , let D j D_j D j be the non-destructive singular value discriminator D D D in Theorem 3 with threshold γ = φ j / 2 \gamma=\varphi_j/2 γ = φ j /2 , gap ratio ρ = 2 \rho=2 ρ = 2 , and precision ϵ j , 1 = Δ / ( 96 m n max { B j , B j + 1 } ) \epsilon_{j,1}=\Delta/(96mn\max\{B_j,B_{j+1}\}) ϵ j , 1 = Δ/ ( 96 mn max { B j , B j + 1 }) , ϵ j , 2 = Δ / ( 96 m n max { B j , B j + 1 } ) \epsilon_{j,2}=\Delta/(96mn\max\{B_j,B_{j+1}\}) ϵ j , 2 = Δ/ ( 96 mn max { B j , B j + 1 }) ;
For j ∈ [ m ] j\in[m] j ∈ [ m ] , let W j W_j W j be the QSVT unitary U Q j ( S V ) U_{Q_j}^{(\mathrm{SV})} U Q j ( SV ) in Theorem 1 for the polynomial Q j Q_j Q j and the projected unitary encoding ( Π H , Π H , U H ) (\Pi_H,\Pi_H,U_H) ( Π H , Π H , U H ) ;
for j ← 1 j\leftarrow1 j ← 1 to m m m do
Let V j V_j V j be the sequence: apply D j − 1 D_{j-1} D j − 1 on ( a , b , c , w ) (a,b,c,w) ( a , b , c , w ) , then D j D_j D j on ( a , b , d , w ) (a,b,d,w) ( a , b , d , w ) , and finally W j W_j W j on ( a , w ) (a,w) ( a , w ) ;
Let ∣ Ψ u n i f ⟩ = ∣ + + ⟩ a , b ∣ 00 ⟩ c , d ⊗ ( U u n i f ∣ 0 ⟩ w ) |\Psi_{\mathrm{unif}}\rangle=|++\rangle_{a,b}|00\rangle_{c,d}\otimes(U_{\mathrm{unif}}|0\rangle_w) ∣ Ψ unif ⟩ = ∣ + + ⟩ a , b ∣00 ⟩ c , d ⊗ ( U unif ∣0 ⟩ w ) be the initial state;
Let Π j = { ∣ + ⟩ ⟨ + ∣ a ⊗ I b , c ⊗ ∣ 0 ⟩ ⟨ 0 ∣ d ⊗ ( Π H ) w if j = 1 , ∣ + ⟩ ⟨ + ∣ a ⊗ I b ⊗ ∣ 10 ⟩ ⟨ 10 ∣ c , d ⊗ ( Π H ) w if j ≥ 2 ; \Pi_j=\begin{cases}|+\rangle\langle+|_a\otimes I_{b,c}\otimes|0\rangle\langle0|_d\otimes(\Pi_H)_w & \text{if }j=1,\\ |+\rangle\langle+|_a\otimes I_b\otimes|10\rangle\langle10|_{c,d}\otimes(\Pi_H)_w & \text{if }j\ge2;\end{cases} Π j = { ∣ + ⟩ ⟨ + ∣ a ⊗ I b , c ⊗ ∣0 ⟩ ⟨ 0 ∣ d ⊗ ( Π H ) w ∣ + ⟩ ⟨ + ∣ a ⊗ I b ⊗ ∣10 ⟩ ⟨ 10 ∣ c , d ⊗ ( Π H ) w if j = 1 , if j ≥ 2 ;
Estimate the squared norm v j = ∥ Π j V j ∣ Ψ u n i f ⟩ ∥ 2 v_j=\|\Pi_jV_j|\Psi_{\mathrm{unif}}\rangle\|^2 v j = ∥ Π j V j ∣ Ψ unif ⟩ ∥ 2 to additive error Δ 6 m n B j \frac{\Delta}{6mnB_j} 6 mn B j Δ via Amplitude Estimation with upper bound v ‾ j ≤ v ‾ j \overline{v}_j\le\overline{v}_j v j ≤ v j and maximum failure probability δ / m \delta/m δ / m in Corollary 1, denoting the output by v ~ j \widetilde{v}_j v j ;
S ← S + n B j v ~ j S\leftarrow S+nB_j\widetilde{v}_j S ← S + n B j v j ;
Return S S S ;
and
∥ W j i D j i D j i − 1 ∣ Ψ u n i f ( i ) ⟩ − ( 1 2 n Q j i ( p i 2 ) ∣ + + ⟩ a b ∣ ξ i , + ⟩ c ∣ 0 ⟩ d ∣ ϕ i , + ⟩ + 1 2 n Q j i ( − p i 2 ) ∣ + + ⟩ a b ∣ ξ i , − ⟩ c ∣ 0 ⟩ d ∣ ϕ i , − ⟩ + ∣ − ⟩ a ( i ) ) ∥ ≤ 1 n ( ϵ j i − 1 , 1 + ϵ j i − 1 , 2 + ϵ j i , 1 + ϵ j i , 2 ) , (45) \left\|W_{j_i}D_{j_i}D_{j_i-1}|\Psi_{\mathrm{unif}}^{(i)}\rangle-
\left(\frac{1}{\sqrt{2n}}Q_{j_i}\left(\frac{\sqrt{p_i}}{2}\right)|++\rangle_{ab}|\xi_{i,+}\rangle_c|0\rangle_d|\phi_{i,+}\rangle
+\frac{1}{\sqrt{2n}}Q_{j_i}\left(-\frac{\sqrt{p_i}}{2}\right)|++\rangle_{ab}|\xi_{i,-}\rangle_c|0\rangle_d|\phi_{i,-}\rangle
+|-\rangle_{a}^{(i)}\right)\right\|
\le\frac{1}{n}(\epsilon_{j_i-1,1}+\epsilon_{j_i-1,2}+\epsilon_{j_i,1}+\epsilon_{j_i,2}), \tag*{(45)} W j i D j i D j i − 1 ∣ Ψ unif ( i ) ⟩ − ( 2 n 1 Q j i ( 2 p i ) ∣ + + ⟩ ab ∣ ξ i , + ⟩ c ∣0 ⟩ d ∣ ϕ i , + ⟩ + 2 n 1 Q j i ( − 2 p i ) ∣ + + ⟩ ab ∣ ξ i , − ⟩ c ∣0 ⟩ d ∣ ϕ i , − ⟩ + ∣ − ⟩ a ( i ) ) ≤ n 1 ( ϵ j i − 1 , 1 + ϵ j i − 1 , 2 + ϵ j i , 1 + ϵ j i , 2 ) , (45)
where ∣ − ⟩ a ( i ) |-\rangle_a^{(i)} ∣ − ⟩ a ( i ) is some non-normalized component such that ⟨ + ∣ a ⊗ ( Π H ) w ∣ − ⟩ a ( i ) = 0 \langle+|_a\otimes(\Pi_H)_w|-\rangle_a^{(i)}=0 ⟨ + ∣ a ⊗ ( Π H ) w ∣ − ⟩ a ( i ) = 0 . So we get
∣ ∥ Π j i V j i ∣ Ψ u n i f ( i ) ⟩ ∥ 2 − 1 n Q j i ( p i 2 ) 2 ∣ ⟨ 1 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1 ∣ ξ i , − ⟩ ∣ 2 2 ∣ ≤ 2 n ( ϵ j i − 1 , 1 + ϵ j i − 1 , 2 + ϵ j i , 1 + ϵ j i , 2 ) . (46) \left|\left\|\Pi_{j_i}V_{j_i}|\Psi_{\mathrm{unif}}^{(i)}\rangle\right\|^2
-\frac{1}{n}Q_{j_i}\left(\frac{\sqrt{p_i}}{2}\right)^2\frac{|\langle1|\xi_{i,+}\rangle|^2+|\langle1|\xi_{i,-}\rangle|^2}{2}\right|
\le\frac{2}{n}(\epsilon_{j_i-1,1}+\epsilon_{j_i-1,2}+\epsilon_{j_i,1}+\epsilon_{j_i,2}). \tag*{(46)} Π j i V j i ∣ Ψ unif ( i ) ⟩ 2 − n 1 Q j i ( 2 p i ) 2 2 ∣ ⟨ 1∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1∣ ξ i , − ⟩ ∣ 2 ≤ n 2 ( ϵ j i − 1 , 1 + ϵ j i − 1 , 2 + ϵ j i , 1 + ϵ j i , 2 ) . (46)
For j ∉ { j i − 1 , j i } j\notin\{j_i-1,j_i\} j ∈ / { j i − 1 , j i } , after acting V j V_j V j on ∣ Ψ u n i f ( i ) ⟩ |\Psi_{\mathrm{unif}}^{(i)}\rangle ∣ Ψ unif ( i ) ⟩ in loop j j j , either the register c becomes ∣ 0 ⟩ |0\rangle ∣0 ⟩ or the register d d d becomes ∣ 1 ⟩ |1\rangle ∣1 ⟩ approximately, therefore
∥ Π j V j ∣ Ψ u n i f ( i ) ⟩ ∥ 2 ≤ 2 n ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) . (47) \|\Pi_jV_j|\Psi_{\mathrm{unif}}^{(i)}\rangle\|^2\le\frac{2}{n}(\epsilon_{j-1,1}+\epsilon_{j-1,2}+\epsilon_{j,1}+\epsilon_{j,2}). \tag*{(47)} ∥ Π j V j ∣ Ψ unif ( i ) ⟩ ∥ 2 ≤ n 2 ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) . (47)
Here, each local polynomial Q j Q_j Q j is chosen such that B j Q j ( p / 2 ) 2 B_jQ_j(\sqrt{p}/2)^2 B j Q j ( p /2 ) 2 approximates p α p^\alpha p α up to error Δ / ( 12 n ) \Delta/(12n) Δ/ ( 12 n ) for any p ∈ ( φ j + 1 , φ j − 1 ] \sqrt{p}\in(\varphi_{j+1},\varphi_{j-1}] p ∈ ( φ j + 1 , φ j − 1 ] : letting x = p / 2 x=\sqrt{p}/2 x = p /2 we have
∣ B j Q j ( x ) 2 − ( 2 x ) 2 α ∣ = B j ∣ Q j ( x ) 2 − ( 2 x ) 2 α 2 2 α + 2 φ j − 1 2 α − 1 ∣ ≤ B j ∣ Q j ( x ) − ( 2 x ) α 2 α + 1 φ j − 1 α ∣ ∣ Q j ( x ) + ( 2 x ) α 2 α + 1 φ j − 1 α ∣ ≤ 3 B j ∣ Q j ( x ) − x α 2 α + 1 ( φ j − 1 / 2 ) α ∣ ≤ Δ 12 n , (48) \left|B_jQ_j(x)^2-(2x)^{2\alpha}\right|
=B_j\left|Q_j(x)^2-\frac{(2x)^{2\alpha}}{2^{2\alpha+2}\varphi_{j-1}^{2\alpha-1}}\right|
\le B_j\left|Q_j(x)-\frac{(2x)^\alpha}{2^{\alpha+1}\varphi_{j-1}^{\alpha}}\right|
\left|Q_j(x)+\frac{(2x)^\alpha}{2^{\alpha+1}\varphi_{j-1}^{\alpha}}\right|
\le3B_j\left|Q_j(x)-\frac{x^\alpha}{2^{\alpha+1}(\varphi_{j-1}/2)^\alpha}\right|
\le\frac{\Delta}{12n}, \tag*{(48)} B j Q j ( x ) 2 − ( 2 x ) 2 α = B j Q j ( x ) 2 − 2 2 α + 2 φ j − 1 2 α − 1 ( 2 x ) 2 α ≤ B j Q j ( x ) − 2 α + 1 φ j − 1 α ( 2 x ) α Q j ( x ) + 2 α + 1 φ j − 1 α ( 2 x ) α ≤ 3 B j Q j ( x ) − 2 α + 1 ( φ j − 1 /2 ) α x α ≤ 12 n Δ , (48)
with the last two inequalities coming from properties of Q j = S α , φ j + 1 / 2 , φ j − 1 / 2 , Δ / ( 36 n B j ) Q_j=S_{\alpha,\varphi_{j+1}/2,\varphi_{j-1}/2,\Delta/(36nB_j)} Q j = S α , φ j + 1 /2 , φ j − 1 /2 , Δ/ ( 36 n B j ) in Lemma 2. With these settings, we can now show that the output ∑ j ∈ [ m ] n B j v ~ j \sum_{j\in[m]} nB_j\widetilde{v}_j ∑ j ∈ [ m ] n B j v j of Algorithm 3 approximates ∑ i = 1 n p i α \sum_{i=1}^n p_i^\alpha ∑ i = 1 n p i α well, up to additional errors of:
the cut-off error from Eq. (42) ;
the amplitude estimation errors in each loop j j j ;
the leakage errors of Eq. (44) – Eq. (47) from the non-destructive discriminators.
To do this, we first prove that:
Lemma 6. For the initial state ∣ Ψ u n i f ⟩ |\Psi_{\rm unif}\rangle ∣ Ψ unif ⟩ and each V j V_j V j , Π j \Pi_j Π j , B j B_j B j for j ∈ [ m ] j\in[m] j ∈ [ m ] defined in Algorithm 3, we have
∣ ∑ j ∈ [ m ] n B j ∥ Π j V j ∣ Ψ u n i f ⟩ ∥ 2 − ∑ i : p i ∈ φ j − 1 , φ j ] p i α ∣ < 3 Δ / 4. (49) \left|\sum_{j\in[m]} nB_j\left\|\Pi_jV_j|\Psi_{\rm unif}\rangle\right\|^2-\sum_{i:\sqrt{p_i}\in\varphi_{j-1},\varphi_j] }p_i^\alpha\right|<3\Delta/4. \tag*{(49)} j ∈ [ m ] ∑ n B j ∥ Π j V j ∣ Ψ unif ⟩ ∥ 2 − i : p i ∈ φ j − 1 , φ j ] ∑ p i α < 3Δ/4. (49)
The proof of Lemma 6 is deferred to the Appendix. Similarly as Lemma 4 in the last section, Lemma 6 also sums up the leakage errors of the non-destructive discriminators and the errors coming from polynomial approximations. For the total error, we have:
∣ P ~ α ( p ) − ∑ i = 1 n p i α ∣ ≤ ∑ i : p i ≤ φ m p i α + ∣ P ~ α ( p ) − ∑ i : p i > φ m p i α ∣ = ∑ i : p i ≤ φ m p i α + ∣ ∑ j ∈ [ m ] n B j v ~ j − ∑ i : p i > φ m p i α ∣ ≤ ∑ i : p i ≤ φ m p i α + ∑ j ∈ [ m ] n B j ∣ v ~ j − ∥ Π j V j ∣ Ψ u n i f ⟩ ∥ 2 ∣ + ∣ ∑ j ∈ [ m ] n B j ∥ Π j V j ∣ Ψ u n i f ⟩ ∥ 2 − ∑ i : p i > φ m p i α ∣ < Δ / 12 + ∑ j ∈ [ m ] n B j Δ 6 m n B j + 3 Δ / 4 = Δ , (50) \begin{aligned}
\left|\widetilde{P}_\alpha(\mathbf{p})-\sum_{i=1}^n p_i^\alpha\right| \\
&\le\sum_{i:\sqrt{p_i}\le\varphi_m}p_i^\alpha+\left|\widetilde{P}_\alpha(\mathbf{p})-\sum_{i:\sqrt{p_i}>\varphi_m}p_i^\alpha\right| \\
&=\sum_{i:\sqrt{p_i}\le\varphi_m}p_i^\alpha+\left|\sum_{j\in[m]}nB_j\widetilde{v}_j-\sum_{i:\sqrt{p_i}>\varphi_m}p_i^\alpha\right| \\
&\le\sum_{i:\sqrt{p_i}\le\varphi_m}p_i^\alpha+\sum_{j\in[m]}nB_j\left|\widetilde{v}_j-\left\|\Pi_jV_j|\Psi_{\rm unif}\rangle\right\|^2\right| \\
&+\left|\sum_{j\in[m]}nB_j\left\|\Pi_jV_j|\Psi_{\rm unif}\rangle\right\|^2-\sum_{i:\sqrt{p_i}>\varphi_m}p_i^\alpha\right| \\
&<\Delta/12+\sum_{j\in[m]}nB_j\frac{\Delta}{6mnB_j}+3\Delta/4=\Delta, \tag*{(50)}
\end{aligned} P α ( p ) − i = 1 ∑ n p i α ≤ i : p i ≤ φ m ∑ p i α + P α ( p ) − i : p i > φ m ∑ p i α = i : p i ≤ φ m ∑ p i α + j ∈ [ m ] ∑ n B j v j − i : p i > φ m ∑ p i α ≤ i : p i ≤ φ m ∑ p i α + j ∈ [ m ] ∑ n B j v j − ∥ Π j V j ∣ Ψ unif ⟩ ∥ 2 + j ∈ [ m ] ∑ n B j ∥ Π j V j ∣ Ψ unif ⟩ ∥ 2 − i : p i > φ m ∑ p i α < Δ/12 + j ∈ [ m ] ∑ n B j 6 mn B j Δ + 3Δ/4 = Δ , (50)
so the output of Algorithm 3 satisfies Eq. (40) . The total success probability of Algorithm 3 is at least 1 − δ 1-\delta 1 − δ , due to the union bound.
It remains to analyze the query complexity of Algorithm 3. Denote N j = ∣ { i : p i ∈ ( φ j + 1 , φ j − 1 ] } ∣ N_j=\left|\left\{i:\sqrt{p_i}\in(\varphi_{j+1},\varphi_{j-1}]\right\}\right| N j = { i : p i ∈ ( φ j + 1 , φ j − 1 ] } , then since
N j φ j + 1 2 α < ∑ i : p i ∈ ( φ j + 1 , φ j − 1 ] p i α ≤ R , (51) N_j\varphi_{j+1}^{2\alpha}<\sum_{i:\sqrt{p_i}\in(\varphi_{j+1},\varphi_{j-1}]}p_i^\alpha\le R, \tag*{(51)} N j φ j + 1 2 α < i : p i ∈ ( φ j + 1 , φ j − 1 ] ∑ p i α ≤ R , (51)
we have N j ≤ min { n , R / φ j + 1 2 α } ≜ N ‾ j N_j\le\min\{n,R/\varphi_{j+1}^{2\alpha}\}\triangleq\overline{N}_j N j ≤ min { n , R / φ j + 1 2 α } ≜ N j . By Eq. (44) – Eq. (47) , we have
v j = ∥ Π j V j ∣ Ψ u n i f ⟩ ∥ 2 ≤ ∑ p i ∈ ( φ j + 1 , φ j − 1 ] 1 n + 2 ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) ≤ min { 1 , 5 N j 4 n } ≜ v ‾ j . (52) \begin{aligned}
v_j=\left\|\Pi_jV_j|\Psi_{\rm unif}\rangle\right\|^2 \\
&\le\sum_{\sqrt{p_i}\in(\varphi_{j+1},\varphi_{j-1}]} \frac{1}{n}+2(\epsilon_{j-1,1}+\epsilon_{j-1,2}+\epsilon_{j,1}+\epsilon_{j,2}) \\
&\le\min\left\{1,\frac{5N_j}{4n}\right\}\triangleq\overline{v}_j. \tag*{(52)}
\end{aligned} v j = ∥ Π j V j ∣ Ψ unif ⟩ ∥ 2 ≤ p i ∈ ( φ j + 1 , φ j − 1 ] ∑ n 1 + 2 ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) ≤ min { 1 , 4 n 5 N j } ≜ v j . (52)
Therefore, up to logarithmic factors, the amplitude amplification in loop j j j has query complexity
Q j = O ~ [ 1 φ j ( B j n N ‾ j Δ + n B j Δ ) ] , (53) Q_j=\widetilde{O}\left[\frac{1}{\varphi_j}\left(\frac{B_j\sqrt{n\overline{N}_j}}{\Delta}+\sqrt{\frac{nB_j}{\Delta}}\right)\right], \tag*{(53)} Q j = O φ j 1 Δ B j n N j + Δ n B j , (53)
with the factor O ~ ( 1 φ j ) \widetilde{O}\left(\frac{1}{\varphi_j}\right) O ( φ j 1 ) coming from implementation of the non-destructive singular value discriminators and the QSVT unitary. The total complexity of Algorithm 3 is then
O ~ [ ∑ j = 1 m 1 φ j ( B j n N ‾ j Δ + n B j Δ ) ] = O ~ [ ∑ j = 1 m ( min { φ j 2 α − 1 n , φ j α − 1 n R } Δ + φ j α − 1 n Δ ) ] , (54) \begin{aligned}
\widetilde{O}\left[\sum_{j=1}^m\frac{1}{\varphi_j}\left(\frac{B_j\sqrt{n\overline{N}_j}}{\Delta}+\sqrt{\frac{nB_j}{\Delta}}\right)\right] \\
&=\widetilde{O}\left[\sum_{j=1}^m\left(\frac{\min\{\varphi_j^{2\alpha-1}n,\varphi_j^{\alpha-1}\sqrt{nR}\}}{\Delta}+\varphi_j^{\alpha-1}\sqrt{\frac{n}{\Delta}}\right)\right], \tag*{(54)}
\end{aligned} O j = 1 ∑ m φ j 1 Δ B j n N j + Δ n B j = O [ j = 1 ∑ m ( Δ min { φ j 2 α − 1 n , φ j α − 1 n R } + φ j α − 1 Δ n ) ] , (54)
by substituting N ‾ j = min { n , R / φ j + 1 2 α } \overline{N}_j=\min\{n,R/\varphi_{j+1}^{2\alpha}\} N j = min { n , R / φ j + 1 2 α } and B j = 2 2 α + 2 φ j − 1 − 1 B_j=2^{2\alpha+2}\varphi_{j-1}^{-1} B j = 2 2 α + 2 φ j − 1 − 1 .
For 1 / 2 < α < 1 1/2<\alpha<1 1/2 < α < 1 , φ j 2 α − 1 n \varphi_j^{2\alpha-1}n φ j 2 α − 1 n increases with φ j \varphi_j φ j while φ j α − 1 n R \varphi_j^{\alpha-1}\sqrt{nR} φ j α − 1 n R decreases with φ j \varphi_j φ j , crossing at value φ j = ( R / n ) 1 / ( 2 α ) \varphi_j=(R/n)^{1/(2\alpha)} φ j = ( R / n ) 1/ ( 2 α ) , so min { φ j 2 α − 1 n , φ j α − 1 n R } ≤ R 1 − 1 / ( 2 α ) n 1 / ( 2 α ) \min\{\varphi_j^{2\alpha-1}n,\varphi_j^{\alpha-1}\sqrt{nR}\}\le R^{1-1/(2\alpha)}n^{1/(2\alpha)} min { φ j 2 α − 1 n , φ j α − 1 n R } ≤ R 1 − 1/ ( 2 α ) n 1/ ( 2 α ) and the first term of Eq. (54) sums up to O ~ ( R 1 − 1 / ( 2 α ) n 1 / ( 2 α ) Δ ) \widetilde{O}\left(\frac{R^{1-1/(2\alpha)}n^{1/(2\alpha)}}{\Delta}\right) O ( Δ R 1 − 1/ ( 2 α ) n 1/ ( 2 α ) ) . For 0 < α ≤ 1 / 2 0<\alpha\le1/2 0 < α ≤ 1/2 , the first term of Eq. (54) is upper-bounded by O ~ ( n φ m 2 α − 1 Δ ) = O ~ [ ( n Δ ) 1 / ( 2 α ) ] \widetilde{O}\left(\frac{n\varphi_m^{2\alpha-1}}{\Delta}\right)=\widetilde{O}\left[\left(\frac{n}{\Delta}\right)^{1/(2\alpha)}\right] O ( Δ n φ m 2 α − 1 ) = O [ ( Δ n ) 1/ ( 2 α ) ] .
For the second term of Eq. (54) , it is a geometric progression for any 0 < α < 1 0<\alpha<1 0 < α < 1 , so it sums up to O ~ ( n Δ φ m α − 1 ) = O ~ [ ( n Δ ) 1 / ( 2 α ) ] \widetilde{O}\left(\sqrt{\frac{n}{\Delta}}\varphi_m^{\alpha-1}\right)=\widetilde{O}\left[\left(\frac{n}{\Delta}\right)^{1/(2\alpha)}\right] O ( Δ n φ m α − 1 ) = O [ ( Δ n ) 1/ ( 2 α ) ] .
Substituting Δ = η R \Delta=\eta R Δ = η R , the total query complexity is therefore
O ~ ( n 1 / ( 2 α ) R 1 / ( 2 α ) η max { 1 , 1 2 α } ) \widetilde{O}\left(\frac{n^{1/(2\alpha)}}{R^{1/(2\alpha)}\eta^{\max\{1,\frac{1}{2\alpha}\}}}\right) O ( R 1/ ( 2 α ) η m a x { 1 , 2 α 1 } n 1/ ( 2 α ) )
as stated. □ \square □
Estimate P α ( p ) P_\alpha(\mathbf{p}) P α ( p ) via binary search
Similarly as the case of α > 1 \alpha>1 α > 1 , we can remove the requirement of a known upper bound of P α ( p ) P_\alpha(\mathbf{p}) P α ( p ) via binary search, using Algorithm 3 itself. Since
1 ≤ P α ( p ) ≤ n 1 − α , (55) 1\le P_\alpha(\mathbf{p})\le n^{1-\alpha}, \tag*{(55)} 1 ≤ P α ( p ) ≤ n 1 − α , (55)
Algorithm 4: Quantum algorithm for estimating H α ( p ) H_{\alpha}(\mathbf{p}) H α ( p ) for 0 < α < 1 0 < \alpha< 1 0 < α < 1
Input : Additive error ϵ ∈ ( 0 , 1 ) \epsilon\in(0, 1) ϵ ∈ ( 0 , 1 ) ; Maximum failure probability δ ∈ ( 0 , 1 ) \delta\in(0, 1) δ ∈ ( 0 , 1 ) ; Purified access oracle U p U_{\mathbf{p}} U p for p = ( p i ) i = 1 n \mathbf{p} = (p_i)_{i=1}^{n} p = ( p i ) i = 1 n ;
Parameters: L = ⌊ ( 1 − α ) log 2 n ⌋ L = \lfloor(1-\alpha)\log_2 n \rfloor L = ⌊( 1 − α ) log 2 n ⌋ and δ 0 = δ / ( L + 2 ) \delta_0 = \delta/(L+2) δ 0 = δ / ( L + 2 ) ;
Output : Estimate H ~ α ( p ) \widetilde{H}_{\alpha}(\mathbf{p}) H α ( p ) of H α ( p ) H_{\alpha}(\mathbf{p}) H α ( p ) to additive error ϵ \epsilon ϵ .
R ← n 1 − α R \gets n^{1-\alpha} R ← n 1 − α ; k ← 0 k \gets0 k ← 0 ; stop ← 0 \operatorname{stop} \gets0 stop ← 0 ;
while stop = 0 \operatorname{stop}=0 stop = 0 do
Use Algorithm 3 with upper bound R R R , multiplicative accuracy 1 / 8 1/8 1/8 , and failure probability δ 0 \delta_0 δ 0 to obtain P ~ α ( p ) \widetilde{P}_{\alpha}(\mathbf{p}) P α ( p ) ;
if P ~ α ( p ) > 3 R / 8 \widetilde{P}_{\alpha}(\mathbf{p}) > 3R/8 P α ( p ) > 3 R /8 then
stop ← 1 \operatorname{stop} \gets1 stop ← 1 ;
else
if k = L k=L k = L then
Return Failed;
R ← R / 2 R \gets R/2 R ← R /2 ; k ← k + 1 k \gets k+1 k ← k + 1 ;
Use Algorithm 3 with the resulting R R R , multiplicative accuracy η = min { 1 / 8 , ( 1 − α ) ϵ / 8 } \eta= \min\{1/8,(1-\alpha)\epsilon/8\} η = min { 1/8 , ( 1 − α ) ϵ /8 } , and failure probability δ 0 \delta_0 δ 0 to obtain P ~ α ( p ) \widetilde{P}_{\alpha}(\mathbf{p}) P α ( p ) ;
Return H ~ α ( p ) = 1 1 − α log P ~ α ( p ) \widetilde{H}_{\alpha}(\mathbf{p}) = \frac{1}{1-\alpha}\log\widetilde{P}_{\alpha}(\mathbf{p}) H α ( p ) = 1 − α 1 log P α ( p ) ;
we start with R = n 1 − α R=n^{1-\alpha} R = n 1 − α and recurrently halve R R R until it reach constant relative accuracy of P α ( p ) P_{\alpha}(\mathbf{p}) P α ( p ) .
Proof of Theorem 5. The pseudocode of our algorithm is presented in Algorithm 4. There are L + 1 = ⌈ ( 1 − α ) log 2 n ⌉ L+1=\lceil(1-\alpha)\log_2 n\rceil L + 1 = ⌈( 1 − α ) log 2 n ⌉ search steps, with the algorithm returning Failed if it doesn’t stop at the ( L + 1 ) (L+1) ( L + 1 ) -th step. A final high-accuracy step is used to present estimate H ~ α ( p ) \widetilde{H}_{\alpha}(\mathbf{p}) H α ( p ) within the required addictive error ϵ \epsilon ϵ . Since there are at most L + 2 L+2 L + 2 calls to Algorithm 3, the total failure probability is at most ( L + 2 ) δ 0 = δ (L+2)\delta_0=\delta ( L + 2 ) δ 0 = δ .
In each of the search steps, whenever stop = 0 \operatorname{stop}=0 stop = 0 , we have P α ( p ) < 3 R / 8 + R / 8 = R / 2 P_{\alpha}(\mathbf{p})<3R/8+R/8=R/2 P α ( p ) < 3 R /8 + R /8 = R /2 . So the update R ← R / 2 R\gets R/2 R ← R /2 preserves the input requirement of Algorithm 3. When stop = 1 \operatorname{stop}=1 stop = 1 , we have P α ( p ) > 3 R / 8 − R / 8 = R / 4 P_{\alpha}(\mathbf{p})>3R/8-R/8=R/4 P α ( p ) > 3 R /8 − R /8 = R /4 and so
P α ( p ) ≤ R < 4 P α ( p ) . (56) P_{\alpha}(\mathbf{p}) \le R < 4P_{\alpha}(\mathbf{p}). \tag*{(56)} P α ( p ) ≤ R < 4 P α ( p ) . (56)
For the final call to Algorithm 3 at the high-accuracy step, we set η = min { 1 / 8 , ( α − 1 ) ϵ / 8 } \eta=\min\{1/8,(\alpha-1)\epsilon/8\} η = min { 1/8 , ( α − 1 ) ϵ /8 } . Then Eq. (56) gives relative error of P ~ α ( p ) \widetilde{P}_{\alpha}(\mathbf{p}) P α ( p ) as
r : = η R P α ( p ) < 4 η ≤ 1 2 . (57) r := \frac{\eta R}{P_{\alpha}(\mathbf{p})} < 4\eta\le\frac{1}{2}. \tag*{(57)} r := P α ( p ) η R < 4 η ≤ 2 1 . (57)
Since ∣ log ( 1 + x ) ∣ < 2 ∣ x ∣ |\log(1+x)|<2|x| ∣ log ( 1 + x ) ∣ < 2∣ x ∣ for ∣ x ∣ < 1 / 2 |x|<1/2 ∣ x ∣ < 1/2 , the output estimate of Algorithm 4 satisfies
∣ H ~ α ( p ) − H α ( p ) ∣ = 1 α − 1 ∣ log P ~ α ( p ) P α ( p ) ∣ < 2 r α − 1 < 8 η α − 1 ≤ ϵ . (58) \left|\widetilde{H}_{\alpha}(\mathbf{p})-H_{\alpha}(\mathbf{p})\right|
= \frac{1}{\alpha-1}\left|\log\frac{\widetilde{P}_{\alpha}(\mathbf{p})}{P_{\alpha}(\mathbf{p})}\right|
< \frac{2r}{\alpha-1}
< \frac{8\eta}{\alpha-1}
\le\epsilon. \tag*{(58)} H α ( p ) − H α ( p ) = α − 1 1 log P α ( p ) P α ( p ) < α − 1 2 r < α − 1 8 η ≤ ϵ . (58)
For constant multiplicative accuracy 1 / 8 1/8 1/8 , the query complexity for each of the search steps is O ~ ( n 1 / ( 2 α ) R − 1 / ( 2 α ) ) \widetilde{O}\left(n^{1/(2\alpha)}R^{-1/(2\alpha)}\right) O ( n 1/ ( 2 α ) R − 1/ ( 2 α ) ) , which grows geometrically as R R R is halved. So their sum is bounded by the the final scale, which is
O ~ [ ( n P α ( p ) ) 1 / ( 2 α ) ] . (59) \widetilde{O}\left[\left(\frac{n}{P_{\alpha}(\mathbf{p})}\right)^{1/(2\alpha)}\right]. \tag*{(59)} O [ ( P α ( p ) n ) 1/ ( 2 α ) ] . (59)
by Eq. (56) . The high-accuracy step has query complexity
O ~ ( n 1 / ( 2 α ) P α ( p ) 1 / ( 2 α ) ϵ max { 1 , 1 2 α } ) (60) \widetilde{O}\left(\frac{n^{1/(2\alpha)}}{P_{\alpha}(\mathbf{p})^{1/(2\alpha)}\epsilon^{\max\{1,\frac{1}{2\alpha}\}}}\right) \tag*{(60)} O ( P α ( p ) 1/ ( 2 α ) ϵ m a x { 1 , 2 α 1 } n 1/ ( 2 α ) ) (60)
and since P α ( p ) ≥ 1 P_{\alpha}(\mathbf{p})\ge1 P α ( p ) ≥ 1 , the worst-case query complexity of Algorithm 4 is bounded by Eq. (38) as stated. □
lower bound
For quantum query complexity of estimating Rényi entropy under the purified access, [23 Theorem 2.7] gave a lower bound Ω ( n 1 2 α − o ( 1 ) + n 1 2 α − 1 2 / ϵ 1 2 α ) \Omega\left(n^{\frac{1}{2\alpha}-o(1)}+n^{\frac{1}{2\alpha}-\frac{1}{2}}/\epsilon^{\frac{1}{2\alpha}}\right) Ω ( n 2 α 1 − o ( 1 ) + n 2 α 1 − 2 1 / ϵ 2 α 1 ) for the case of 0 < α < 1 0<\alpha<1 0 < α < 1 . Here, we show that a perturbation of a nonzero tail mass gives a stronger lower bound than the construction comparing a point mass with a distribution having a small tail.
Theorem 6. *For any fixed 0 < α < 1 0<\alpha<1 0 < α < 1 , there exists a constant ϵ α > 0 \epsilon_{\alpha}>0 ϵ α > 0 such that, for all sufficiently large n n n and any ϵ ∈ ( 0 , ϵ α ) \epsilon\in(0,\epsilon_{\alpha}) ϵ ∈ ( 0 , ϵ α ) , every algorithm that estimates H α ( p ) H_{\alpha}(\mathbf{p}) H α ( p ) to within additive error ϵ \epsilon ϵ with success probability at least 2 / 3 2/3 2/3 for every probability distribution p \mathbf{p} p on [ n ] [n] [ n ] requires
Ω ( n 1 2 α − o ( 1 ) + n 1 2 α − 1 2 ϵ max { 1 , 1 2 α } ) (61) \Omega\left(n^{\frac{1}{2\alpha}-o(1)}+\frac{n^{\frac{1}{2\alpha}-\frac{1}{2}}}{\epsilon^{\max\left\{1,\frac{1}{2\alpha}\right\}}}\right) \tag*{(61)} Ω ( n 2 α 1 − o ( 1 ) + ϵ m a x { 1 , 2 α 1 } n 2 α 1 − 2 1 ) (61)
queries in the worst case to U p U_{\mathbf{p}} U p and U p † U_{\mathbf{p}}^\dagger U p † in Definition 1, even when their controlled versions are available.
Proof. It suffices to prove the additional lower bound Ω ( n 1 2 α − 1 2 / ϵ ) \Omega(n^{\frac{1}{2\alpha}-\frac{1}{2}}/\epsilon) Ω ( n 2 α 1 − 2 1 / ϵ ) . Consider the family of distributions
p τ = ( 1 − τ , τ n − 1 , … , τ n − 1 ) , (62) \mathbf{p}_{\tau}=\left(1-\tau,\frac{\tau}{n-1},\ldots,\frac{\tau}{n-1}\right), \tag*{(62)} p τ = ( 1 − τ , n − 1 τ , … , n − 1 τ ) , (62)
whose power sums satisfy
P α ( p τ ) = ( 1 − τ ) α + ( n − 1 ) 1 − α τ α . (63) P_{\alpha}(\mathbf{p}_{\tau})=(1-\tau)^{\alpha}+(n-1)^{1-\alpha}\tau^{\alpha}. \tag*{(63)} P α ( p τ ) = ( 1 − τ ) α + ( n − 1 ) 1 − α τ α . (63)
Set τ 0 = c α ( n − 1 ) − ( 1 − α ) / α \tau_{0}=c_{\alpha}(n-1)^{-(1-\alpha)/\alpha} τ 0 = c α ( n − 1 ) − ( 1 − α ) / α , where c α ∈ ( 0 , 1 / 8 ) c_{\alpha}\in(0,1/8) c α ∈ ( 0 , 1/8 ) is a sufficiently small constant. For τ ∈ [ τ 0 , 2 τ 0 ] \tau\in[\tau_{0},2\tau_{0}] τ ∈ [ τ 0 , 2 τ 0 ] , we have
c α α ≤ ( n − 1 ) 1 − α τ α ≤ ( 2 c α ) α , c_{\alpha}^{\alpha}\leq(n-1)^{1-\alpha}\tau^{\alpha}\leq(2c_{\alpha})^{\alpha}, c α α ≤ ( n − 1 ) 1 − α τ α ≤ ( 2 c α ) α ,
whereas τ ( 1 − τ ) α − 1 ≤ 2 c α ( 1 − 2 c α ) α − 1 \tau(1-\tau)^{\alpha-1}\leq2c_{\alpha}(1-2c_{\alpha})^{\alpha-1} τ ( 1 − τ ) α − 1 ≤ 2 c α ( 1 − 2 c α ) α − 1 . Choose c α c_{\alpha} c α so that the latter is at most c α α / 2 c_{\alpha}^{\alpha}/2 c α α /2 . Differentiating H α ( p τ ) H_{\alpha}(\mathbf{p}_{\tau}) H α ( p τ ) therefore gives
τ d d τ H α ( p τ ) = α 1 − α ( n − 1 ) 1 − α τ α − τ ( 1 − τ ) α − 1 P α ( p τ ) ≥ b α > 0 , (64) \tau\frac{\mathrm{d}}{\mathrm{d}\tau}H_{\alpha}(\mathbf{p}_{\tau})=\frac{\alpha}{1-\alpha}\frac{(n-1)^{1-\alpha}\tau^{\alpha}-\tau(1-\tau)^{\alpha-1}}{P_{\alpha}(\mathbf{p}_{\tau})}\geq b_{\alpha}>0, \tag*{(64)} τ d τ d H α ( p τ ) = 1 − α α P α ( p τ ) ( n − 1 ) 1 − α τ α − τ ( 1 − τ ) α − 1 ≥ b α > 0 , (64)
where b α b_{\alpha} b α is independent of n n n . Let K α = 6 / b α K_{\alpha}=6/b_{\alpha} K α = 6/ b α and τ 1 = ( 1 + K α ϵ ) τ 0 \tau_{1}=(1+K_{\alpha}\epsilon)\tau_{0} τ 1 = ( 1 + K α ϵ ) τ 0 . Taking ϵ α \epsilon_{\alpha} ϵ α sufficiently small ensures K α ϵ ≤ 1 K_{\alpha}\epsilon\leq1 K α ϵ ≤ 1 and hence τ 1 ≤ 2 τ 0 \tau_{1}\leq2\tau_{0} τ 1 ≤ 2 τ 0 . Integrating Eq. (64) , we obtain
H α ( p τ 1 ) − H α ( p τ 0 ) ≥ b α log ( 1 + K α ϵ ) H_{\alpha}(\mathbf{p}_{\tau_{1}})-H_{\alpha}(\mathbf{p}_{\tau_{0}})\geq b_{\alpha}\log(1+K_{\alpha}\epsilon) H α ( p τ 1 ) − H α ( p τ 0 ) ≥ b α log ( 1 + K α ϵ )
≥ 3 ϵ . (65) \geq3\epsilon. \tag*{(65)} ≥ 3 ϵ . (65)
Thus an entropy estimate with additive error ϵ \epsilon ϵ distinguishes these two distributions with success probability at least 2 / 3 2/3 2/3 .
To bound the number of queries, we specify the full unitary oracles. Define the orthonormal states
∣ h ⟩ = ∣ 1 ⟩ G ∣ 1 ⟩ B , ∣ t ⟩ = 1 n − 1 ∑ i = 2 n ∣ i ⟩ G ∣ i ⟩ B . |h\rangle=|1\rangle_{G}|1\rangle_{B},\qquad|t\rangle=\frac{1}{\sqrt{n-1}}\sum_{i=2}^{n}|i\rangle_{G}|i\rangle_{B}. ∣ h ⟩ = ∣1 ⟩ G ∣1 ⟩ B , ∣ t ⟩ = n − 1 1 i = 2 ∑ n ∣ i ⟩ G ∣ i ⟩ B .
Let V V V be a fixed unitary mapping ∣ 00 ⟩ G B |00\rangle_{GB} ∣00 ⟩ GB to ∣ h ⟩ |h\rangle ∣ h ⟩ , and let R θ R_{\theta} R θ be the real rotation through angle θ \theta θ on span { ∣ h ⟩ , ∣ t ⟩ } \operatorname{span}\{|h\rangle,|t\rangle\} span { ∣ h ⟩ , ∣ t ⟩} , acting as the identity on its orthogonal complement. With θ τ = arcsin τ \theta_{\tau}=\arcsin\sqrt{\tau} θ τ = arcsin τ , the oracle U p τ = R θ τ V U_{\mathbf{p}_{\tau}}=R_{\theta_{\tau}}V U p τ = R θ τ V satisfies
U p τ ∣ 00 ⟩ G B = 1 − τ ∣ h ⟩ + τ ∣ t ⟩ , U_{\mathbf{p}_{\tau}}|00\rangle_{GB}=\sqrt{1-\tau}|h\rangle+\sqrt{\tau}|t\rangle, U p τ ∣00 ⟩ GB = 1 − τ ∣ h ⟩ + τ ∣ t ⟩ ,
and is a valid oracle in Definition 1. Since τ 0 ≤ τ 1 ≤ 2 τ 0 ≤ 1 / 4 \tau_{0}\leq\tau_{1}\leq2\tau_{0}\leq1/4 τ 0 ≤ τ 1 ≤ 2 τ 0 ≤ 1/4 , the mean value theorem gives
∥ U p τ 1 − U p τ 0 ∥ = 2 sin ∣ θ τ 1 − θ τ 0 ∣ 2 ≤ ∣ θ τ 1 − θ τ 0 ∣ = O ( ϵ τ 0 ) . (66) \begin{aligned}
\left\|U_{\mathbf{p}_{\tau_{1}}}-U_{\mathbf{p}_{\tau_{0}}}\right\|=2\sin\frac{|\theta_{\tau_{1}}-\theta_{\tau_{0}}|}{2} \\
&\leq|\theta_{\tau_{1}}-\theta_{\tau_{0}}| \\
&=O(\epsilon\sqrt{\tau_{0}}). \tag*{(66)}
\end{aligned} U p τ 1 − U p τ 0 = 2 sin 2 ∣ θ τ 1 − θ τ 0 ∣ ≤ ∣ θ τ 1 − θ τ 0 ∣ = O ( ϵ τ 0 ) . (66)
The same norm bound holds for the inverse and controlled oracles. By the hybrid argument, the trace distance between the final states of any T T T -query algorithm on these two inputs is at most O ( T ϵ τ 0 ) O(T\epsilon\sqrt{\tau_{0}}) O ( T ϵ τ 0 ) . Distinguishing them with success probability at least 2 / 3 2/3 2/3 requires this distance to be bounded below by a positive constant, so
T = Ω ( 1 ϵ τ 0 ) = Ω ( n 1 2 α − 1 2 ϵ ) . (67) T=\Omega\left(\frac{1}{\epsilon\sqrt{\tau_{0}}}\right)=\Omega\left(\frac{n^{\frac{1}{2\alpha}-\frac{1}{2}}}{\epsilon}\right). \tag*{(67)} T = Ω ( ϵ τ 0 1 ) = Ω ( ϵ n 2 α 1 − 2 1 ) . (67)
Combining this with [23 Theorem 2.7] proves the claim.
Theorem 6, together with Theorem 5, establishes the optimal precision dependence of our Rényi entropy estimator for 0 < α < 1 0<\alpha<1 0 < α < 1 , up to logarithmic factors.
Acknowledgements
The authors used LLMs for AI-assisted research and language polishing in preparing this paper. In particular, ChatGPT 5.6 contributed to Theorem 6 for raising the refined lower bound. The authors are responsible for the correctness of all results in this paper.
Appendix
Proof of Lemma 4
Proof. We split the l.h.s. of Eq. (27) into:
∣ ∑ j ∈ [ m ] B j ∥ Π j V j ∣ Ψ i n ⟩ ∥ 2 − ∑ i : p i > φ m p i α ∣ ≤ ∑ i : p i ≤ φ m ∣ ∑ j ∈ [ m ] B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i α ∣ + ∑ i : p i ≤ φ m ∑ j ∈ [ m ] B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 ≤ ∑ i : φ 1 ≥ p i > φ m ∣ ∑ j ∈ { j i − 1 , j i } B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i α ∣ + ∑ i : φ 1 ≥ p i > φ m ∑ j ∉ { j i − 1 , j i } B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 + ∑ i : p i ∈ ( φ 1 , φ 0 ] ∣ B 1 ∥ Π 1 V 1 ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i α ∣ + ∑ i : p i ∈ ( φ 1 , φ 0 ] ∑ 2 ≤ j ≤ m B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 + ∑ i : p i ∈ ( φ m + 1 , φ m ] ∑ j ∈ [ m ] B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 + ∑ i : p i ≤ φ m + 1 ∑ j ∈ [ m ] B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 . (68) \begin{aligned}
\left|\sum_{j\in[m]}B_j\|\Pi_jV_j|\Psi_{\mathrm{in}}\rangle\|^2-\sum_{i:\sqrt{p_i}>\varphi_m}p_i^\alpha\right| \\
&\leq\sum_{i:\sqrt{p_i}\leq\varphi_m}\left|\sum_{j\in[m]}B_j\|\Pi_jV_j|\Psi_{\mathrm{in}}^{(i)}\rangle\|^2-p_i^\alpha\right|
+\sum_{i:\sqrt{p_i}\leq\varphi_m}\sum_{j\in[m]}B_j\|\Pi_jV_j|\Psi_{\mathrm{in}}^{(i)}\rangle\|^2 \\
&\leq\sum_{i:\varphi_1\geq\sqrt{p_i}>\varphi_m}\left|\sum_{j\in\{j_{i-1},j_i\}}B_j\|\Pi_jV_j|\Psi_{\mathrm{in}}^{(i)}\rangle\|^2-p_i^\alpha\right|
+\sum_{i:\varphi_1\geq\sqrt{p_i}>\varphi_m}\sum_{j\notin\{j_{i-1},j_i\}}B_j\|\Pi_jV_j|\Psi_{\mathrm{in}}^{(i)}\rangle\|^2 \\
&+\sum_{i:\sqrt{p_i}\in(\varphi_1,\varphi_0]}\left|B_1\|\Pi_1V_1|\Psi_{\mathrm{in}}^{(i)}\rangle\|^2-p_i^\alpha\right| \\
&+\sum_{i:\sqrt{p_i}\in(\varphi_1,\varphi_0]}\sum_{2\leq j\leq m}B_j\|\Pi_jV_j|\Psi_{\mathrm{in}}^{(i)}\rangle\|^2 \\
&+\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}\sum_{j\in[m]}B_j\|\Pi_jV_j|\Psi_{\mathrm{in}}^{(i)}\rangle\|^2 \\
&+\sum_{i:\sqrt{p_i}\leq\varphi_{m+1}}\sum_{j\in[m]}B_j\|\Pi_jV_j|\Psi_{\mathrm{in}}^{(i)}\rangle\|^2. \tag*{(68)}
\end{aligned} j ∈ [ m ] ∑ B j ∥ Π j V j ∣ Ψ in ⟩ ∥ 2 − i : p i > φ m ∑ p i α ≤ i : p i ≤ φ m ∑ j ∈ [ m ] ∑ B j ∥ Π j V j ∣ Ψ in ( i ) ⟩ ∥ 2 − p i α + i : p i ≤ φ m ∑ j ∈ [ m ] ∑ B j ∥ Π j V j ∣ Ψ in ( i ) ⟩ ∥ 2 ≤ i : φ 1 ≥ p i > φ m ∑ j ∈ { j i − 1 , j i } ∑ B j ∥ Π j V j ∣ Ψ in ( i ) ⟩ ∥ 2 − p i α + i : φ 1 ≥ p i > φ m ∑ j ∈ / { j i − 1 , j i } ∑ B j ∥ Π j V j ∣ Ψ in ( i ) ⟩ ∥ 2 + i : p i ∈ ( φ 1 , φ 0 ] ∑ B 1 ∥ Π 1 V 1 ∣ Ψ in ( i ) ⟩ ∥ 2 − p i α + i : p i ∈ ( φ 1 , φ 0 ] ∑ 2 ≤ j ≤ m ∑ B j ∥ Π j V j ∣ Ψ in ( i ) ⟩ ∥ 2 + i : p i ∈ ( φ m + 1 , φ m ] ∑ j ∈ [ m ] ∑ B j ∥ Π j V j ∣ Ψ in ( i ) ⟩ ∥ 2 + i : p i ≤ φ m + 1 ∑ j ∈ [ m ] ∑ B j ∥ Π j V j ∣ Ψ in ( i ) ⟩ ∥ 2 . (68)
For the first term of the last inequality of Eq. (68) , we get from Eq. (23) , Eq. (24) and Eq. (26) that
∣ ∑ j ∈ { j i − 1 , j i } B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i α ∣ = B j i − 1 ∥ Π j i − 1 V j i − 1 ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i P j i − 1 ( p i 2 ) 2 ∣ ⟨ 0 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0 ∣ ξ i , − ⟩ ∣ 2 2 + p i ∣ B j i − 1 P j i − 1 ( p i 2 ) 2 − p i α − 1 ∣ ∣ ⟨ 0 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0 ∣ ξ i , − ⟩ ∣ 2 2 + B j i ∥ Π j i V j i ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i P j i ( p i 2 ) 2 ∣ ⟨ 1 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1 ∣ ξ i , − ⟩ ∣ 2 2 + p i ∣ B j i P j i ( p i 2 ) 2 − p i α − 1 ∣ ∣ ⟨ 1 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1 ∣ ξ i , − ⟩ ∣ 2 2 ≤ p i Δ / 12 m + p i Δ / 12 m + p i Δ / 12 = p i Δ 12 ( 1 + 2 m ) , (69) \left|\sum_{j\in\{j_{i-1},j_i\}}B_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2-p_i^\alpha\right|
= B_{j_i-1}\left\|\Pi_{j_i-1}V_{j_i-1}\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2
-p_iP_{j_i-1}\left(\frac{\sqrt{p_i}}{2}\right)^2\frac{\left|\langle0|\xi_{i,+}\rangle\right|^2+\left|\langle0|\xi_{i,-}\rangle\right|^2}{2}
+p_i\left|B_{j_i-1}P_{j_i-1}\left(\frac{\sqrt{p_i}}{2}\right)^2-p_i^{\alpha-1}\right|\frac{\left|\langle0|\xi_{i,+}\rangle\right|^2+\left|\langle0|\xi_{i,-}\rangle\right|^2}{2}
+B_{j_i}\left\|\Pi_{j_i}V_{j_i}\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2
-p_iP_{j_i}\left(\frac{\sqrt{p_i}}{2}\right)^2\frac{\left|\langle1|\xi_{i,+}\rangle\right|^2+\left|\langle1|\xi_{i,-}\rangle\right|^2}{2}
+p_i\left|B_{j_i}P_{j_i}\left(\frac{\sqrt{p_i}}{2}\right)^2-p_i^{\alpha-1}\right|\frac{\left|\langle1|\xi_{i,+}\rangle\right|^2+\left|\langle1|\xi_{i,-}\rangle\right|^2}{2}
\le p_i\Delta/12m+p_i\Delta/12m+p_i\Delta/12
=\frac{p_i\Delta}{12}\left(1+\frac{2}{m}\right), \tag*{(69)} j ∈ { j i − 1 , j i } ∑ B j Π j V j Ψ in ( i ) ⟩ 2 − p i α = B j i − 1 Π j i − 1 V j i − 1 Ψ in ( i ) ⟩ 2 − p i P j i − 1 ( 2 p i ) 2 2 ∣ ⟨ 0∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0∣ ξ i , − ⟩ ∣ 2 + p i B j i − 1 P j i − 1 ( 2 p i ) 2 − p i α − 1 2 ∣ ⟨ 0∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0∣ ξ i , − ⟩ ∣ 2 + B j i Π j i V j i Ψ in ( i ) ⟩ 2 − p i P j i ( 2 p i ) 2 2 ∣ ⟨ 1∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1∣ ξ i , − ⟩ ∣ 2 + p i B j i P j i ( 2 p i ) 2 − p i α − 1 2 ∣ ⟨ 1∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1∣ ξ i , − ⟩ ∣ 2 ≤ p i Δ/12 m + p i Δ/12 m + p i Δ/12 = 12 p i Δ ( 1 + m 2 ) , (69)
and so
∑ i : φ 1 ≥ p i > φ m ∣ ∑ j ∈ { j i − 1 , j i } B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i α ∣ ≤ Δ 12 ( 1 + 2 m ) . (70) \sum_{i:\varphi_1\ge\sqrt{p_i}>\varphi_m}\left|\sum_{j\in\{j_{i-1},j_i\}}B_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2-p_i^\alpha\right|
\le\frac{\Delta}{12}\left(1+\frac{2}{m}\right). \tag*{(70)} i : φ 1 ≥ p i > φ m ∑ j ∈ { j i − 1 , j i } ∑ B j Π j V j Ψ in ( i ) ⟩ 2 − p i α ≤ 12 Δ ( 1 + m 2 ) . (70)
For the second term of the last inequality of Eq. (68) , we get from Eq. (25) that
∑ i : φ 1 ≥ p i > φ m ∑ j ∉ { j i − 1 , j i } B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 ≤ ∑ i : φ 1 ≥ p i > φ m ∑ j ∉ { j i − 1 , j i } 2 B j p i ( ϵ j − 1 , 1 + ⋯ + ϵ j , 2 ) ≤ ( m − 2 ) Δ 12 m . (71) \sum_{i:\varphi_1\ge\sqrt{p_i}>\varphi_m}\sum_{j\notin\{j_{i-1},j_i\}}B_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2
\le\sum_{i:\varphi_1\ge\sqrt{p_i}>\varphi_m}\sum_{j\notin\{j_{i-1},j_i\}}2B_jp_i(\epsilon_{j-1,1}+\cdots+\epsilon_{j,2})
\le\frac{(m-2)\Delta}{12m}. \tag*{(71)} i : φ 1 ≥ p i > φ m ∑ j ∈ / { j i − 1 , j i } ∑ B j Π j V j Ψ in ( i ) ⟩ 2 ≤ i : φ 1 ≥ p i > φ m ∑ j ∈ / { j i − 1 , j i } ∑ 2 B j p i ( ϵ j − 1 , 1 + ⋯ + ϵ j , 2 ) ≤ 12 m ( m − 2 ) Δ . (71)
For the third and the fourth terms, the analyses are much the same as the first two, so that we have
∑ i : p i ∈ ( φ 1 , φ 0 ] ∣ B 1 ∥ Π 1 V 1 ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i α ∣ ≤ Δ 12 ( 1 + 1 m ) , (72) \sum_{i:\sqrt{p_i}\in(\varphi_1,\varphi_0]}\left|B_1\left\|\Pi_1V_1\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2-p_i^\alpha\right|
\le\frac{\Delta}{12}\left(1+\frac{1}{m}\right), \tag*{(72)} i : p i ∈ ( φ 1 , φ 0 ] ∑ B 1 Π 1 V 1 Ψ in ( i ) ⟩ 2 − p i α ≤ 12 Δ ( 1 + m 1 ) , (72)
and
∑ i : p i ∈ ( φ 1 , φ 0 ] ∑ 2 ≤ j ≤ m B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 ≤ ( m − 1 ) Δ 12 m . (73) \sum_{i:\sqrt{p_i}\in(\varphi_1,\varphi_0]}\sum_{2\le j\le m}B_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2
\le\frac{(m-1)\Delta}{12m}. \tag*{(73)} i : p i ∈ ( φ 1 , φ 0 ] ∑ 2 ≤ j ≤ m ∑ B j Π j V j Ψ in ( i ) ⟩ 2 ≤ 12 m ( m − 1 ) Δ . (73)
For the fifth term, we leverage both Eq. (21) and Eq. (23) :
∑ i : p i ∈ ( φ m + 1 , φ m ] ∑ j ∈ [ m ] B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 ≤ ∑ i : p i ∈ ( φ m + 1 , φ m ] B m ∥ Π m V m ∣ Ψ i n ( i ) ⟩ ∥ 2 + ( m − 1 ) Δ 12 m ≤ ∑ i : p i ∈ ( φ m + 1 , φ m ] B m ∥ Π m V m ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i P m ( p i 2 ) 2 ∣ ⟨ 0 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0 ∣ ξ i , − ⟩ ∣ 2 2 + ( m − 1 ) Δ 12 m + ∑ i : p i ∈ ( φ m + 1 , φ m ] p i ∣ B m P m ( p i 2 ) 2 − p i α − 1 ∣ ∣ ⟨ 0 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0 ∣ ξ i , − ⟩ ∣ 2 2 + ∑ i : p i ∈ ( φ m + 1 , φ m ] p i α ≤ Δ 12 m + ( m − 1 ) Δ 12 m + Δ 12 + Δ 12 = Δ 4 . (74) \sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}\sum_{j\in[m]}B_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2
\le\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}B_m\left\|\Pi_mV_m\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2+\frac{(m-1)\Delta}{12m}
\le\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}B_m\left\|\Pi_mV_m\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2-p_iP_m\left(\frac{\sqrt{p_i}}{2}\right)^2
\frac{\left|\langle0|\xi_{i,+}\rangle\right|^2+\left|\langle0|\xi_{i,-}\rangle\right|^2}{2}
+\frac{(m-1)\Delta}{12m}
+\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}p_i\left|B_mP_m\left(\frac{\sqrt{p_i}}{2}\right)^2-p_i^{\alpha-1}\right|
\frac{\left|\langle0|\xi_{i,+}\rangle\right|^2+\left|\langle0|\xi_{i,-}\rangle\right|^2}{2}
+\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}p_i^\alpha
\le\frac{\Delta}{12m}+\frac{(m-1)\Delta}{12m}+\frac{\Delta}{12}+\frac{\Delta}{12}
=\frac{\Delta}{4}. \tag*{(74)} i : p i ∈ ( φ m + 1 , φ m ] ∑ j ∈ [ m ] ∑ B j Π j V j Ψ in ( i ) ⟩ 2 ≤ i : p i ∈ ( φ m + 1 , φ m ] ∑ B m Π m V m Ψ in ( i ) ⟩ 2 + 12 m ( m − 1 ) Δ ≤ i : p i ∈ ( φ m + 1 , φ m ] ∑ B m Π m V m Ψ in ( i ) ⟩ 2 − p i P m ( 2 p i ) 2 2 ∣ ⟨ 0∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0∣ ξ i , − ⟩ ∣ 2 + 12 m ( m − 1 ) Δ + i : p i ∈ ( φ m + 1 , φ m ] ∑ p i B m P m ( 2 p i ) 2 − p i α − 1 2 ∣ ⟨ 0∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0∣ ξ i , − ⟩ ∣ 2 + i : p i ∈ ( φ m + 1 , φ m ] ∑ p i α ≤ 12 m Δ + 12 m ( m − 1 ) Δ + 12 Δ + 12 Δ = 4 Δ . (74)
For the sixth term, we get from Eq. (25) that
∑ i : p i < φ m + 1 ∑ j ∈ [ m ] B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 ≤ ∑ i : p i < φ m + 1 ∑ j ∈ [ m ] 2 B j p i ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) ≤ Δ 12 . (75) \sum_{i:\sqrt{p_i}<\varphi_{m+1}}\sum_{j\in[m]}B_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2
\le\sum_{i:\sqrt{p_i}<\varphi_{m+1}}\sum_{j\in[m]}2B_jp_i(\epsilon_{j-1,1}+\epsilon_{j-1,2}+\epsilon_{j,1}+\epsilon_{j,2})
\le\frac{\Delta}{12}. \tag*{(75)} i : p i < φ m + 1 ∑ j ∈ [ m ] ∑ B j Π j V j Ψ in ( i ) ⟩ 2 ≤ i : p i < φ m + 1 ∑ j ∈ [ m ] ∑ 2 B j p i ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) ≤ 12 Δ . (75)
Summing up Eq. (70) –Eq. (75) , we get the inequality Eq. (27) . □
Proof of Lemma 6
Proof. We split the l.h.s. of Eq. (49) into:
∣ ∑ j ∈ [ m ] n B j ∥ Π j V j ∣ Ψ u n i f ⟩ ∥ 2 − ∑ i : p i > φ m p i α ∣ ≤ ∑ i : p i > φ m ∣ ∑ j ∈ [ m ] n B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i α ∣ + ∑ i : p i ≤ φ m ∑ j ∈ [ m ] n B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 ≤ ∑ i : φ 1 ≥ p i > φ m ∣ ∑ j ∈ { j i − 1 , j i } n B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 − p i α ∣ + ∑ i : φ 1 ≥ p i > φ m ∑ j ∉ { j i − 1 , j i } n B j ∥ Π j V j ∣ Ψ i n ( i ) ⟩ ∥ 2 \left|\sum_{j\in[m]}nB_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{unif}}\right\rangle\right\|^2-\sum_{i:\sqrt{p_i}>\varphi_m}p_i^\alpha\right|
\le\sum_{i:\sqrt{p_i}>\varphi_m}\left|\sum_{j\in[m]}nB_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2-p_i^\alpha\right|
+\sum_{i:\sqrt{p_i}\le\varphi_m}\sum_{j\in[m]}nB_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2
\le\sum_{i:\varphi_1\ge\sqrt{p_i}>\varphi_m}\left|\sum_{j\in\{j_{i-1},j_i\}}nB_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2-p_i^\alpha\right|
+\sum_{i:\varphi_1\ge\sqrt{p_i}>\varphi_m}\sum_{j\notin\{j_{i-1},j_i\}}nB_j\left\|\Pi_jV_j\left|\Psi_{\mathrm{in}}^{(i)}\right\rangle\right\|^2 j ∈ [ m ] ∑ n B j ∥ Π j V j ∣ Ψ unif ⟩ ∥ 2 − i : p i > φ m ∑ p i α ≤ i : p i > φ m ∑ j ∈ [ m ] ∑ n B j Π j V j Ψ in ( i ) ⟩ 2 − p i α + i : p i ≤ φ m ∑ j ∈ [ m ] ∑ n B j Π j V j Ψ in ( i ) ⟩ 2 ≤ i : φ 1 ≥ p i > φ m ∑ j ∈ { j i − 1 , j i } ∑ n B j Π j V j Ψ in ( i ) ⟩ 2 − p i α + i : φ 1 ≥ p i > φ m ∑ j ∈ / { j i − 1 , j i } ∑ n B j Π j V j Ψ in ( i ) ⟩ 2
+ ∑ i : p i ∈ ( φ 1 , φ 0 ] ∣ n B 1 ∥ Π 1 V 1 Ψ u n i f ( i ) ∥ 2 − p i α ∣ + ∑ i : p i ∈ ( φ 1 , φ 0 ] ∑ 2 ≤ j ≤ m n B j ∥ Π j V j Ψ u n i f ( i ) ∥ 2 + ∑ i : p i ∈ ( φ m + 1 , φ m ] ∑ j ∈ [ m ] n B j ∥ Π j V j Ψ u n i f ( i ) ∥ 2 + ∑ i : p i ≤ φ m + 1 ∑ j ∈ [ m ] n B j ∥ Π j V j Ψ u n i f ( i ) ∥ 2 . (76) \begin{aligned}
&+\sum_{i:\sqrt{p_i}\in(\varphi_1,\varphi_0]}\left|nB_1\left\|\Pi_1V_1\Psi_{\mathrm{unif}}^{(i)}\right\|^2-p_i^\alpha\right|\\
&+\sum_{i:\sqrt{p_i}\in(\varphi_1,\varphi_0]}\sum_{2\le j\le m}nB_j\left\|\Pi_jV_j\Psi_{\mathrm{unif}}^{(i)}\right\|^2\\
&+\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}\sum_{j\in[m]}nB_j\left\|\Pi_jV_j\Psi_{\mathrm{unif}}^{(i)}\right\|^2\\
&+\sum_{i:\sqrt{p_i}\le\varphi_{m+1}}\sum_{j\in[m]}nB_j\left\|\Pi_jV_j\Psi_{\mathrm{unif}}^{(i)}\right\|^2. \tag*{(76)}
\end{aligned} + i : p i ∈ ( φ 1 , φ 0 ] ∑ n B 1 Π 1 V 1 Ψ unif ( i ) 2 − p i α + i : p i ∈ ( φ 1 , φ 0 ] ∑ 2 ≤ j ≤ m ∑ n B j Π j V j Ψ unif ( i ) 2 + i : p i ∈ ( φ m + 1 , φ m ] ∑ j ∈ [ m ] ∑ n B j Π j V j Ψ unif ( i ) 2 + i : p i ≤ φ m + 1 ∑ j ∈ [ m ] ∑ n B j Π j V j Ψ unif ( i ) 2 . (76)
For the first term of the last inequality of Eq. (76) , we get from Eq. (44) , Eq. (46) and Eq. (48) that
∣ ∑ j ∈ { j i − 1 , j i } n B j ∥ Π j V j Ψ u n i f ( i ) ∥ 2 − p i α ∣ = n B j i − 1 ∥ Π j i − 1 V j i − 1 Ψ u n i f ( i ) ∥ 2 − 1 n Q j i − 1 ( p i 2 ) 2 ∣ ⟨ 0 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0 ∣ ξ i , − ⟩ ∣ 2 2 + ∣ B j i − 1 Q j i − 1 ( p i 2 ) 2 − p i α ∣ ⋅ ∣ ⟨ 0 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0 ∣ ξ i , − ⟩ ∣ 2 2 + n B j i ∥ Π j i V j i Ψ u n i f ( i ) ∥ 2 − 1 n Q j i ( p i 2 ) 2 ∣ ⟨ 1 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1 ∣ ξ i , − ⟩ ∣ 2 2 + ∣ B j i Q j i ( p i 2 ) 2 − p i α ∣ ∣ ⟨ 1 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1 ∣ ξ i , − ⟩ ∣ 2 2 ≤ Δ 12 m n + Δ 12 m n + Δ 12 n = Δ 12 n ( 1 + 2 m ) . (77) \begin{aligned}
\left|\sum_{j\in\{j_{i-1},j_i\}}nB_j\left\|\Pi_jV_j\Psi_{\mathrm{unif}}^{(i)}\right\|^2-p_i^\alpha\right|
&=nB_{j_{i-1}}\left\|\Pi_{j_{i-1}}V_{j_{i-1}}\Psi_{\mathrm{unif}}^{(i)}\right\|^2\\
&\quad-\frac{1}{n}Q_{j_{i-1}}\left(\frac{\sqrt{p_i}}{2}\right)^2
\frac{|\langle0|\xi_{i,+}\rangle|^2+|\langle0|\xi_{i,-}\rangle|^2}{2}\\
&\quad+\left|B_{j_{i-1}}Q_{j_{i-1}}\left(\frac{\sqrt{p_i}}{2}\right)^2-p_i^\alpha\right|\\
&\quad\cdot\frac{|\langle0|\xi_{i,+}\rangle|^2+|\langle0|\xi_{i,-}\rangle|^2}{2}\\
&\quad+nB_{j_i}\left\|\Pi_{j_i}V_{j_i}\Psi_{\mathrm{unif}}^{(i)}\right\|^2\\
&\quad-\frac{1}{n}Q_{j_i}\left(\frac{\sqrt{p_i}}{2}\right)^2
\frac{|\langle1|\xi_{i,+}\rangle|^2+|\langle1|\xi_{i,-}\rangle|^2}{2}\\
&\quad+\left|B_{j_i}Q_{j_i}\left(\frac{\sqrt{p_i}}{2}\right)^2-p_i^\alpha\right|
\frac{|\langle1|\xi_{i,+}\rangle|^2+|\langle1|\xi_{i,-}\rangle|^2}{2}\\
&\le\frac{\Delta}{12mn}+\frac{\Delta}{12mn}+\frac{\Delta}{12n}\\
&=\frac{\Delta}{12n}\left(1+\frac{2}{m}\right). \tag*{(77)}
\end{aligned} j ∈ { j i − 1 , j i } ∑ n B j Π j V j Ψ unif ( i ) 2 − p i α = n B j i − 1 Π j i − 1 V j i − 1 Ψ unif ( i ) 2 − n 1 Q j i − 1 ( 2 p i ) 2 2 ∣ ⟨ 0∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0∣ ξ i , − ⟩ ∣ 2 + B j i − 1 Q j i − 1 ( 2 p i ) 2 − p i α ⋅ 2 ∣ ⟨ 0∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0∣ ξ i , − ⟩ ∣ 2 + n B j i Π j i V j i Ψ unif ( i ) 2 − n 1 Q j i ( 2 p i ) 2 2 ∣ ⟨ 1∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1∣ ξ i , − ⟩ ∣ 2 + B j i Q j i ( 2 p i ) 2 − p i α 2 ∣ ⟨ 1∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 1∣ ξ i , − ⟩ ∣ 2 ≤ 12 mn Δ + 12 mn Δ + 12 n Δ = 12 n Δ ( 1 + m 2 ) . (77)
and so
∑ i : φ 1 ≥ p i > φ m ∣ ∑ j ∈ { j i − 1 , j i } n B j ∥ Π j V j Ψ u n i f ( i ) ∥ 2 − p i α ∣ ≤ Δ 12 ( 1 + 2 m ) . (78) \sum_{i:\varphi_1\ge\sqrt{p_i}>\varphi_m}\left|\sum_{j\in\{j_{i-1},j_i\}}nB_j\left\|\Pi_jV_j\Psi_{\mathrm{unif}}^{(i)}\right\|^2-p_i^\alpha\right|
\le\frac{\Delta}{12}\left(1+\frac{2}{m}\right). \tag*{(78)} i : φ 1 ≥ p i > φ m ∑ j ∈ { j i − 1 , j i } ∑ n B j Π j V j Ψ unif ( i ) 2 − p i α ≤ 12 Δ ( 1 + m 2 ) . (78)
For the second term of the last inequality of Eq. (76) , we get from Eq. (47) that
∑ i : φ 1 ≥ p i > φ m ∑ j ∈ { j i − 1 , j i } n B j ∥ Π j V j Ψ u n i f ( i ) ∥ 2 ≤ ∑ i : φ 1 ≥ p i > φ m ∑ j ∈ { j i − 1 , j i } 2 B j ( ϵ j − 1 , 1 + ⋯ + ϵ j , 2 ) ≤ n ( m − 2 ) Δ 12 m n = ( m − 2 ) Δ 12 m . (79) \sum_{i:\varphi_1\ge\sqrt{p_i}>\varphi_m}\sum_{j\in\{j_{i-1},j_i\}}nB_j\left\|\Pi_jV_j\Psi_{\mathrm{unif}}^{(i)}\right\|^2
\le\sum_{i:\varphi_1\ge\sqrt{p_i}>\varphi_m}\sum_{j\in\{j_{i-1},j_i\}}2B_j(\epsilon_{j-1,1}+\cdots+\epsilon_{j,2})
\le n(m-2)\frac{\Delta}{12mn}=\frac{(m-2)\Delta}{12m}. \tag*{(79)} i : φ 1 ≥ p i > φ m ∑ j ∈ { j i − 1 , j i } ∑ n B j Π j V j Ψ unif ( i ) 2 ≤ i : φ 1 ≥ p i > φ m ∑ j ∈ { j i − 1 , j i } ∑ 2 B j ( ϵ j − 1 , 1 + ⋯ + ϵ j , 2 ) ≤ n ( m − 2 ) 12 mn Δ = 12 m ( m − 2 ) Δ . (79)
For the third and the fourth terms, the analyses are much the same as the first two, so that we have
∑ i : p i ∈ ( φ 1 , φ 0 ] ∣ n B 1 ∥ Π 1 V 1 Ψ u n i f ( i ) ∥ 2 − p i α ∣ ≤ Δ 12 ( 1 + 1 m ) , (80) \sum_{i:\sqrt{p_i}\in(\varphi_1,\varphi_0]}\left|nB_1\left\|\Pi_1V_1\Psi_{\mathrm{unif}}^{(i)}\right\|^2-p_i^\alpha\right|
\le\frac{\Delta}{12}\left(1+\frac{1}{m}\right), \tag*{(80)} i : p i ∈ ( φ 1 , φ 0 ] ∑ n B 1 Π 1 V 1 Ψ unif ( i ) 2 − p i α ≤ 12 Δ ( 1 + m 1 ) , (80)
and
∑ i : p i ∈ ( φ 1 , φ 0 ] ∑ 2 ≤ j ≤ m n B j ∥ Π j V j Ψ u n i f ( i ) ∥ 2 ≤ ( m − 1 ) Δ 12 m . (81) \sum_{i:\sqrt{p_i}\in(\varphi_1,\varphi_0]}\sum_{2\le j\le m}nB_j\left\|\Pi_jV_j\Psi_{\mathrm{unif}}^{(i)}\right\|^2
\le\frac{(m-1)\Delta}{12m}. \tag*{(81)} i : p i ∈ ( φ 1 , φ 0 ] ∑ 2 ≤ j ≤ m ∑ n B j Π j V j Ψ unif ( i ) 2 ≤ 12 m ( m − 1 ) Δ . (81)
For the fifth term, we leverage both Eq. (42) and Eq. (44) :
∑ i : p i ∈ ( φ m + 1 , φ m ] ∑ j ∈ [ m ] n B j ∥ Π j V j Ψ u n i f ( i ) ∥ 2 ≤ ∑ i : p i ∈ ( φ m + 1 , φ m ] n B m ∥ Π m V m Ψ u n i f ( i ) ∥ 2 + ( m − 1 ) Δ 12 m ≤ ∑ i : p i ∈ ( φ m + 1 , φ m ] n B m ∥ Π m V m Ψ u n i f ( i ) ∥ 2 − 1 n Q m ( p i 2 ) 2 ⋅ ∣ ⟨ 0 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0 ∣ ξ i , − ⟩ ∣ 2 2 + ∑ i : p i ∈ ( φ m + 1 , φ m ] ∣ B m Q m ( p i 2 ) 2 − p i α ∣ ⋅ ∣ ⟨ 0 ∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0 ∣ ξ i , − ⟩ ∣ 2 2 + ∑ i : p i ∈ ( φ m + 1 , φ m ] p i α ≤ Δ 12 m + ( m − 1 ) Δ 12 m + Δ 12 + Δ 12 = Δ 4 . (82) \begin{aligned}
\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}\sum_{j\in[m]}nB_j\left\|\Pi_jV_j\Psi_{\mathrm{unif}}^{(i)}\right\|^2
&\le\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}nB_m\left\|\Pi_mV_m\Psi_{\mathrm{unif}}^{(i)}\right\|^2+\frac{(m-1)\Delta}{12m}\\
&\le\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}nB_m\left\|\Pi_mV_m\Psi_{\mathrm{unif}}^{(i)}\right\|^2-\frac{1}{n}Q_m\left(\frac{\sqrt{p_i}}{2}\right)^2\\
&\quad\cdot\frac{|\langle0|\xi_{i,+}\rangle|^2+|\langle0|\xi_{i,-}\rangle|^2}{2}\\
&\quad+\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}\left|B_mQ_m\left(\frac{\sqrt{p_i}}{2}\right)^2-p_i^\alpha\right|\\
&\quad\cdot\frac{|\langle0|\xi_{i,+}\rangle|^2+|\langle0|\xi_{i,-}\rangle|^2}{2}
+\sum_{i:\sqrt{p_i}\in(\varphi_{m+1},\varphi_m]}p_i^\alpha\\
&\le\frac{\Delta}{12m}+\frac{(m-1)\Delta}{12m}+\frac{\Delta}{12}+\frac{\Delta}{12}\\
&=\frac{\Delta}{4}. \tag*{(82)}
\end{aligned} i : p i ∈ ( φ m + 1 , φ m ] ∑ j ∈ [ m ] ∑ n B j Π j V j Ψ unif ( i ) 2 ≤ i : p i ∈ ( φ m + 1 , φ m ] ∑ n B m Π m V m Ψ unif ( i ) 2 + 12 m ( m − 1 ) Δ ≤ i : p i ∈ ( φ m + 1 , φ m ] ∑ n B m Π m V m Ψ unif ( i ) 2 − n 1 Q m ( 2 p i ) 2 ⋅ 2 ∣ ⟨ 0∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0∣ ξ i , − ⟩ ∣ 2 + i : p i ∈ ( φ m + 1 , φ m ] ∑ B m Q m ( 2 p i ) 2 − p i α ⋅ 2 ∣ ⟨ 0∣ ξ i , + ⟩ ∣ 2 + ∣ ⟨ 0∣ ξ i , − ⟩ ∣ 2 + i : p i ∈ ( φ m + 1 , φ m ] ∑ p i α ≤ 12 m Δ + 12 m ( m − 1 ) Δ + 12 Δ + 12 Δ = 4 Δ . (82)
For the sixth term, we get from Eq. (47) that
∑ i : p i ≤ φ m + 1 ∑ j ∈ [ m ] n B j ∥ Π j V j Ψ u n i f ( i ) ∥ 2 ≤ ∑ i : p i ≤ φ m + 1 ∑ j ∈ [ m ] 2 B j ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) ≤ n m Δ 12 m n = Δ 12 . (83) \sum_{i:\sqrt{p_i}\le\varphi_{m+1}}\sum_{j\in[m]}nB_j\left\|\Pi_jV_j\Psi_{\mathrm{unif}}^{(i)}\right\|^2
\le\sum_{i:\sqrt{p_i}\le\varphi_{m+1}}\sum_{j\in[m]}2B_j(\epsilon_{j-1,1}+\epsilon_{j-1,2}+\epsilon_{j,1}+\epsilon_{j,2})
\le nm\frac{\Delta}{12mn}=\frac{\Delta}{12}. \tag*{(83)} i : p i ≤ φ m + 1 ∑ j ∈ [ m ] ∑ n B j Π j V j Ψ unif ( i ) 2 ≤ i : p i ≤ φ m + 1 ∑ j ∈ [ m ] ∑ 2 B j ( ϵ j − 1 , 1 + ϵ j − 1 , 2 + ϵ j , 1 + ϵ j , 2 ) ≤ nm 12 mn Δ = 12 Δ . (83)
Summing up Eq. (78) – Eq. (83) , we get the inequality Eq. (49) .