Formal Modeling and Verification of Grover's Algorithm

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Sun, H., Shi, Z., Chen, S., Wang, G., Li, X., Guan, Y., Zhang, Q., Shao, Z.
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914234812596224
author Sun, H.
Shi, Z.
Chen, S.
Wang, G.
Li, X.
Guan, Y.
Zhang, Q.
Shao, Z.
author_facet Sun, H.
Shi, Z.
Chen, S.
Wang, G.
Li, X.
Guan, Y.
Zhang, Q.
Shao, Z.
contents Grover's algorithm relies on the superposition and interference of quantum mechanics, which is more efficient than classical computing in specific tasks such as searching an unsorted database. Due to the high complexity of quantum mechanics, the correctness of quantum algorithms is difficult to guarantee through traditional simulation methods. By contrast, the fundamental concepts and mathematical structure of Grover's algorithm can be formalized into logical expressions and verified by higher-order logical reasoning. In this paper, we formally model and verify Grover's algorithm in the HOL Light theorem prover. We focus on proving key properties such as the unitarity of its oracle and diffusion operators, the monotonicity of the success probability with respect to the number of iterations, and an exact expression for the optimal iteration count. By analyzing a concrete application to integer factorization, we demonstrate the practicality and prospects of our work.
format Preprint
id arxiv_https___arxiv_org_abs_2601_02435
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Formal Modeling and Verification of Grover's Algorithm
Sun, H.
Shi, Z.
Chen, S.
Wang, G.
Li, X.
Guan, Y.
Zhang, Q.
Shao, Z.
Quantum Physics
Formal Languages and Automata Theory
F.4.3
Grover's algorithm relies on the superposition and interference of quantum mechanics, which is more efficient than classical computing in specific tasks such as searching an unsorted database. Due to the high complexity of quantum mechanics, the correctness of quantum algorithms is difficult to guarantee through traditional simulation methods. By contrast, the fundamental concepts and mathematical structure of Grover's algorithm can be formalized into logical expressions and verified by higher-order logical reasoning. In this paper, we formally model and verify Grover's algorithm in the HOL Light theorem prover. We focus on proving key properties such as the unitarity of its oracle and diffusion operators, the monotonicity of the success probability with respect to the number of iterations, and an exact expression for the optimal iteration count. By analyzing a concrete application to integer factorization, we demonstrate the practicality and prospects of our work.
title Formal Modeling and Verification of Grover's Algorithm
topic Quantum Physics
Formal Languages and Automata Theory
F.4.3
url https://arxiv.org/abs/2601.02435