arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.04786quant-phcs.AI
收藏

一个量子搜索方法用于魔术方阵约束问题的古典基准测试

A Quantum Search Approach to Magic Square Constraint Problems with Classical Benchmarking

Rituparna R, Harsha Varthini, Aswani Kumar Cherukuri

AI总结:

本文提出量子搜索方法解决魔术方阵约束问题,通过量子幅值放大提升效率,结合经典预处理与量子编码,对比经典暴力法验证理论优势。

摘要:

本文提出了一种量子搜索方法用于组合约束满足问题,通过生成魔术方阵进行演示。我们重新表述魔术方阵构造为一个量子搜索问题,在其中一个可逆且约束敏感的 oracle 标记有效配置以实现幅值放大。经典预处理使用 Siamese 构造和部分约束检查生成紧凑的候选域,然后进行量子编码。而不是将经典和量子求解器整合在迭代循环中,本工作利用经典组件进行结构化初始化,利用量子组件进行搜索,并将量子方法与经典暴力枚举和回溯进行基准测试。我们的 Qiskit 实现展示了多寄存器模运算电路、 oracle 逻辑和扩散操作符的设计。实验在小型网格实例上进行,因为更大的网格在经典状态向量模拟器上由于指数级内存增长而不可行。结果验证了所提出量子搜索流程的正确性,并确认了量子搜索相对于经典搜索的理论二次查询优势。

英文摘要:

This paper presents a quantum search approach to combinatorial constraint satisfaction problems, demonstrated through the generation of magic squares. We reformulate magic square construction as a quantum search problem in which a reversible, constraint-sensitive oracle marks valid configurations for amplitude amplification via Grover's algorithm. Classical pre-processing using the Siamese construction and partial constraint checks generates a compact candidate domain before quantum encoding. Rather than integrating classical and quantum solvers in an iterative loop, this work uses the classical component for structured initialisation and the quantum component for search, and benchmarks the quantum approach against classical brute-force enumeration and backtracking. Our Qiskit implementation demonstrates the design of multi-register modular arithmetic circuits, oracle logic, and diffusion operators. Experiments are conducted on small grid instances, as larger grids are intractable on classical statevector simulators due to exponential memory growth. The results validate the correctness of the proposed quantum search pipeline and confirm the theoretical quadratic query advantage over classical search.

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

↑