QSolver: A Quantum Constraint Solver
Shangzhou Xia, Haitao Fu, Jianjun Zhao

TL;DR
QSolver is a pioneering quantum constraint solver that transforms quantum programs into symbolic forms, uses SMT solvers for state generation, and verifies correctness through automated assertions, enhancing quantum program verification.
Contribution
Introduces the first quantum constraint solver, QSolver, with a structured framework for handling quantum constraints and automated verification of quantum states.
Findings
Efficiently processes common quantum gates.
Demonstrates scalability across various quantum program sizes.
Validates quantum states with automated assertion generation.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum Computing Algorithms and Architecture · Logic, Reasoning, and Knowledge · Formal Methods in Verification
