Ray tracing algorithm is a category of rendering algorithms that calculate the color of pixels by simulating the physical movements of a huge amount of rays and calculating their energies, which can be implemented in parallel. Meanwhile, the superposition and entanglement property make quantum computing a natural fit for parallel tasks.Here comes an interesting question, is the inherently parallel quantum computing able to speed up the inherently parallel ray tracing algorithm? The ray tracing problem can be regarded as a high-dimensional numerical integration problem. Suppose $N$ queries are used, classical Monte Carlo approaches has an error convergence of $O(1/\sqrt{N})$, while the quantum supersampling algorithm can achieve an error convergence of approximately $O(1/N)$. However, the outputs of the origin form of quantum supersampling obeys a probability distribution that has a long tail, which shows up as many detached abnormal noisy dots on images. In this paper, we improve quantum supersampling by replacing the QFT-based phase estimation in quantum supersampling with a robust quantum counting scheme, the QFT-based adaptive Bayesian phase estimation. We quantitatively study and compare the performances of different quantum counting schemes. Finally, we do simulation experiments to show that the quantum ray tracing with improved quantum supersampling does perform better than classical path tracing algorithm as well as the original form of quantum supersampling.
翻译:Ray 追踪算法是计算像素颜色的一种转换算法, 它通过模拟大量射线的实际移动和计算其能量来计算像素的颜色, 可以同时执行 。 同时, 叠加和缠绕属性使量子计算自然适合平行任务 。 这里提出了一个有趣的问题, 是内在平行量子计算能够加速内在平行的射线追踪算法吗? 射线追踪问题可以被视为一个高维数字整合问题 。 如果使用 $$ 的查询, 古典蒙特卡洛 方法可以将 $O (1/\ sqrt{N} 的误差趋同于$( 1/ N), 而量子超级采样算算算算算算算算算法可以实现误差趋近约$( 1/ N) 。 然而, 量子超级采样的产出结果形式是符合一个长尾部的概率分布的概率分布, 这显示在图像上有许多异常的异常的调调调点点点。 在本文中, 我们改进了量级的量超量级抽样测测算法, 与我们做了更精确的量级测算。