The ’th frequency moment of a sequence of integers is defined as $F_k = \sum_j n_j^kn_jj$ occurs in the sequence. Here we study the quantum complexity of approximately computing the frequency moments in two settings. In the query complexity setting, we wish to minimise the number of queries to the input used to approximate up to relative error . We give quantum algorithms which outperform the best possible classical algorithms up to quadratically. In the multiple-pass streaming setting, we see the elements of the input one at a time, and seek to minimise the amount of storage space, or passes over the data, used to approximate . We describe quantum algorithms for , and in this model which substantially outperform the best possible classical algorithms in certain parameter regimes.

生成讲解博客的中文版本

生成AI智能校验的中文版本