arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.04234quant-ph
收藏

S-FABLE和LS-FABLE:面向非结构化稀疏矩阵的快速近似块编码算法

S-FABLE and LS-FABLE: Fast approximate block-encoding algorithms for unstructured sparse matrices

Parker Kuklinski, Benjamin Rempfer

AI总结:

本文提出S-FABLE和LS-FABLE两种改进算法,通过共轭变换和直接实现缩放项高效编码非结构化稀疏矩阵,显著减少量子门数量并消除经典开销。

摘要:

快速近似块编码算法(FABLE)是一种将任意 $N\times N$ 稠密矩阵块编码到量子电路中的技术,最多使用 $O(N^2)$ 个单比特和双比特门以及 $\mathcal{O}(N^2\log{N})$ 次经典操作。该方法将矩阵 $A$ 非平凡地转换为一组角度,在块编码电路的一系列 y 旋转门中实现。若某角度低于阈值,其对应的旋转门可被消除而不显著影响编码精度。理想情况下,许多旋转门可在对块编码精度损失很小的情况下被消除,从而使量子资源最小化。本文描述了 FABLE 的两种修改以高效编码稀疏矩阵;在第一种称为 Sparse-FABLE (S-FABLE) 的方法中,对于一般的非结构化稀疏矩阵 $A$,我们使用 FABLE 块编码 Hadamard 共轭矩阵 $H^{\otimes n}AH^{\otimes n}$(使用 $\mathcal{O}(N^2\log N)$ 次经典操作计算),并在所得电路两侧各用 $n$ 个额外的 Hadamard 门进行共轭,以恢复对 $A$ 的块近似。我们证明对应于块编码 $H^{\otimes n}AH^{\otimes n}$ 的 FABLE 电路被显著压缩,且整体缩放比例在经验上是有利的(即使用 S-FABLE 块编码具有 $\mathcal{O}(N)$ 个非零项的稀疏矩阵需要大约 $\mathcal{O}(N)$ 个旋转门和 $\mathcal{O}(N\log N)$ 个 CNOT 门)。在第二种称为“惰性”Sparse-FABLE (LS-FABLE) 的方法中,我们通过在 S-FABLE 预言机的旋转门中直接实现稀疏矩阵 $A$ 的缩放项,完全消除了二次经典开销。这导致块编码精度略低于 S-FABLE,但仍展现出对 FABLE 有利的缩放比例,与 S-FABLE 中的情况类似。

英文摘要:

The Fast Approximate BLock-Encoding algorithm (FABLE) is a technique to block-encode arbitrary $N\times N$ dense matrices into quantum circuits using at most $O(N^2)$ one and two-qubit gates and $\mathcal{O}(N^2\log{N})$ classical operations. The method nontrivially transforms a matrix $A$ into a collection of angles to be implemented in a sequence of $y$-rotation gates within the block-encoding circuit. If an angle falls below a threshold value, its corresponding rotation gate may be eliminated without significantly impacting the accuracy of the encoding. Ideally many of these rotation gates may be eliminated at little cost to the accuracy of the block-encoding such that quantum resources are minimized. In this paper we describe two modifications of FABLE to efficiently encode sparse matrices; in the first method termed Sparse-FABLE (S-FABLE), for a generic unstructured sparse matrix $A$ we use FABLE to block encode the Hadamard-conjugated matrix $H^{\otimes n}AH^{\otimes n}$ (computed with $\mathcal{O}(N^2\log N)$ classical operations) and conjugate the resulting circuit with $n$ extra Hadamard gates on each side to reclaim a block-approximation to $A$. We demonstrate that the FABLE circuits corresponding to block-encoding $H^{\otimes n}AH^{\otimes n}$ significantly compress and that overall scaling is empirically favorable (i.e. using S-FABLE to block-encode a sparse matrix with $\mathcal{O}(N)$ nonzero entries requires approximately $\mathcal{O}(N)$ rotation gates and $\mathcal{O}(N\log N)$ CNOT gates). In the second method called `Lazy' Sparse-FABLE (LS-FABLE), we eliminate the quadratic classical overhead altogether by directly implementing scaled entries of the sparse matrix $A$ in the rotation gates of the S-FABLE oracle. This leads to a slightly less accurate block-encoding than S-FABLE, while still demonstrating favorable scaling to FABLE similar to that found in S-FABLE.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑