Quantum algorithms manipulate the amplitudes of quantum states to find solutions to computational problems. In this work, we present a framework for applying a general class of non-linear functions to the amplitudes of quantum states, with up-to an exponential improvement over the previous work. Our framework accepts a state preparation unitary (or block-encoding), specified as a quantum circuit, defining an $N$-dimensional quantum state. We then construct a diagonal block-encoding of the amplitudes of the quantum state, building on and simplifying previous work. Techniques from the QSVT literature are then used to process this block-encoding. The source of our exponential speedup comes from the quantum analog of importance sampling. We then derive new error-bounds relevant for end-to-end applications, giving the error in terms of $\ell_2$-norm error. We demonstrate the power of this framework with four key applications. First, our algorithm can apply the important function $\tanh(x)$ to the amplitudes of an arbitrary quantum state with at most an $\ell_2$-norm error of $ε$, with worst-case query complexity of $O(\log(N/ε))$, in comparison to the $O(\sqrt{N}\log(N/ε))$ of prior work. Second, we present an algorithm solving a new formulation of maximum finding in the unitary input model. Third, we prove efficient end-to-end complexities in applying a number of common non-linear functions to arbitrary quantum states. Finally, we generalize and unify existing quantum arithmetic-free state-preparation techniques. Our work provides an important and efficient algorithmic building block with potentially numerous applications in areas such as optimization, state preparation, quantum chemistry, and machine learning.
Quantum algorithms for anomaly detection using amplitude estimation
异常检测在欺诈检测、医疗保健、入侵检测、军事监控等领域有着重要的作用,基于密度估计的异常检测算法(ADDE算法)是应用广泛的算法之一。Liang等人提出了ADDE算法的量子版本[Phys. Rev. A 99,052310(2019)],据信该算法在训练数据点的数量和维度上比经典算法具有指数级加速。在本文中,我们发现,梁等。的算法实际上并不执行。在此基础上,提出了一种基于幅度估计的量子ADDE算法。实验结果表明,与经典算法相比,该算法在训练数据点个数$M$上具有指数级的加速比.此外,我们的算法的思想可以应用到优化的异常检测算法的核主成分分析(称为ADKPCA算法)。与Liu等人[Phys. Rev. A 97,042315(2018)]提出的量子ADKPCA不同,与经典的ADKPCA相比,它在数据点的维度$d$上提供指数加速,我们的算法在$M$上实现了指数加速。
Exact solutions of Schrodinger equation for PT-/non-PT-symmetric and non-Hermitian Exponential Type Potentials with the position-dependent effective mass