利用状态稀疏性进行更有效的量子模拟
Leveraging state sparsity for more efficient quantum simulations
摘要:
在经典硬件上模拟量子程序的高性能技术依赖于指数级大的向量来表示量子态。在模拟量子算法时,由于算法或底层问题的特殊结构,所出现的量子态往往是稀疏的。因此,我们引入了一种新的模拟方法,利用这种稀疏性,以减少内存使用和模拟运行时间。此外,我们的原型实现包括优化,如门(重新)调度,摊销数据结构访问和减少内存使用。为了对我们的实现进行基准测试,我们运行了用于因子分解、计算整数和椭圆曲线离散方程以及化学的量子算法。我们的模拟器成功地运行了一个使用102个量子位的20位数的因子分解实例,以及使用110个量子位的10位曲线上的椭圆曲线离散对数。虽然以前的工作需要一台超级计算机来模拟这种分解实例,但我们的方法在不到4分钟的时间内成功使用单核和不到100 MB的内存。据我们所知,我们是第一个完全模拟量子算法来计算椭圆曲线离散时间的人。
英文摘要:
High-performance techniques to simulate quantum programs on classical hardware rely on exponentially large vectors to represent quantum states. When simulating quantum algorithms, the quantum states that occur are often sparse due to special structure in the algorithm or even in the underlying problem. We thus introduce a new simulation method that exploits this sparsity to reduce memory usage and simulation runtime. Moreover, our prototype implementation includes optimizations such as gate (re)scheduling, which amortizes data structure accesses and reduces memory usage. To benchmark our implementation, we run quantum algorithms for factoring, computing integer and elliptic curve discrete logarithms, and for chemistry. Our simulator successfully runs a factoring instance of a 20-bit number using 102 qubits, and elliptic curve discrete logarithm over a 10-bit curve with 110 qubits. While previous work needed a supercomputer to simulate such instances of factoring, our approach succeeds in less than 4 minutes using a single core and less than 100 MB of memory. To the best of our knowledge, we are the first to fully simulate a quantum algorithm to compute elliptic curve discrete logarithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。