paperbot · PL 论文追踪

全部论文 待读 收藏

P2 QSolver: A Quantum Constraint Solver

QSolver:一种量子约束求解器
ICSE Proceedings of the IEEE/ACM 48th International Conference on Software Engineering2026匹配度 3/10 · 该论文属于程序验证与约束求解方向,使用 SMT 求解量子程序约束,与形式化验证有间接关联;但面向量子程序,未涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户研究画像的核心交叉方向匹配较弱。引用 0 inbox
Shangzhou Xia, Haitao Fu, Jianjun Zhao
crossref: 2026-09-12

AI 速览

一句话:提出首个量子约束求解器 QSolver,将量子程序与多时刻约束符号化并用 SMT 求解满足约束的量子态。

量子程序正确性保障是基本挑战,传统测试与验证存在局限,而约束求解在量子程序场景中尚未被充分探索。本文提出首个量子约束求解器 QSolver,提供处理五类量子约束的结构化框架,并集成自动断言生成模块以验证量子态。QSolver 将量子程序与多时刻约束转换为符号表示,利用 SMT 求解器获得满足约束的量子态;为验证生成的输入态,它自动为每类约束生成对应的断言程序。实验表明,QSolver 能高效处理常用量子门,并在不同规模量子程序上展现良好可扩展性。

问题
量子程序正确性保障困难,传统测试与验证存在局限,约束求解在量子程序场景中尚未被充分探索。
方法
QSolver 将量子程序和多时刻约束符号化,使用 SMT 求解器获得满足约束的量子态,并为五类量子约束提供结构化处理框架,同时自动生成断言程序验证所得量子态。
评估
通过实验在常用量子门和不同规模量子程序上评估 QSolver,结果显示其能高效处理约束并具有良好的可扩展性。
原文摘要(Abstract)

With the growing interest in quantum programs, ensuring their correctness is a fundamental challenge. Although constraint-solving techniques can overcome some limitations of traditional testing and verification, they have not yet been sufficiently explored in the context of quantum programs. To address this gap, we present QSolver, the first quantum constraint solver. QSolver provides a structured framework for handling five types of quantum constraints and incorporates an automated assertion generation module to verify quantum states. QSolver transforms quantum programs and multi-moment constraints into symbolic representations, and utilizes an SMT solver to obtain quantum states that satisfy these constraints. To validate the correctness of the generated input states, QSolver automatically generates assertion programs corresponding to each constraint. Experimental results show that QSolver efficiently processes commonly used quantum gates and demonstrates good scalability across quantum programs of different sizes.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot12040,
  title = {QSolver: A Quantum Constraint Solver},
  author = {Shangzhou Xia and Haitao Fu and Jianjun Zhao},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3786582.3786813}
}