English

Semantics-Based Verification of an Implemented Shor Oracle for ECDLP in Qrisp

Software Engineering 2026-05-05 v1 Cryptography and Security Quantum Physics

Abstract

Shor-style quantum algorithms for the elliptic-curve discrete logarithm problem (ECDLP) are highly sensitive to the exact semantics of their group-operation oracles. Consequently, minor implementation choices can invalidate the intended mathematical model and lead to misleading conclusions. This paper introduces a semantics-first verification perspective for an end-to-end, compilable ECDLP implementation built on Qrisp. We specify the implemented oracle at the level of program semantics, derive refinement-style verification obligations for its key components, and provide a high-level complexity argument for the resulting oracle family. A small case study highlights that (i) the core point-update primitive agrees with a classical reference on well-formed inputs, yet (ii) controlled execution may violate the expected control law under the evaluated toolchain, despite a passing trivial control sanity check. These results position semantic auditing as a practical prerequisite for trustworthy ECDLP-oriented quantum software.

Keywords

Cite

@article{arxiv.2605.01008,
  title  = {Semantics-Based Verification of an Implemented Shor Oracle for ECDLP in Qrisp},
  author = {Lei Zhang and Zhiyuan Chen},
  journal= {arXiv preprint arXiv:2605.01008},
  year   = {2026}
}

Comments

7 pages, 1 figure, and 1 table; accepted by The 20th International Symposium on Theoretical Aspects of Software Engineering (TASE 2026)