The decomposition of a square matrix into a sum of Pauli strings is a classical pre-processing step required to realize many quantum algorithms. Such a decomposition requires significant computational resources for large matrices. We present an exact and explicit formula for the Pauli string coefficients which inspires an efficient algorithm to compute them. More specifically, we show that up to a permutation of the matrix elements, the decomposition coefficients are related to the original matrix by a multiplication of a generalised Hadamard matrix. This allows one to use the Fast Walsh-Hadamard transform and calculate all Pauli decomposition coefficients in $\mathcal{O}(N^2\log N)$ time and using $\mathcal{O}(1)$ additional memory, for an $N\times N$ matrix. A numerical implementation of our equation outperforms currently available solutions.
A hybrid classical-quantum algorithm for digital image processing
提出了一种计算多维Walsh-Hadamard变换的经典-量子混合方法及其在量子图像处理中的应用。在这种方法中,使用量子Hadamard门(以及状态准备,移位,缩放和测量操作)获得多维Walsh-Hadamard变换。所提出的多维Walsh-Hadamard变换的评估方法具有相当低的计算复杂度(涉及$O(N^d)$操作)相比,经典的快速Walsh-Hadamard变换(涉及$O(N^d~\log_2 N^d)$操作),其中$d$和$N$表示沿每个维度的维数和自由度。与许多其他量子图像表示和量子图像处理框架不同,我们提出的方法有效地利用了量子位,其中只有$\log_2 N $量子位足以顺序处理$ N \times N $像素的图像。所提出的方法($ d=2 $)的选定的应用程序证明通过计算的例子有关的基本图像滤波和周期性条带噪声去除,结果是令人满意的。
School of Arts and Sciences, Ahmedabad University(阿默达巴德大学文理学院);School of Aerospace and Mechanical Engineering, University of Oklahoma(俄克拉荷马大学航空航天与机械工程学院)