betaFeedback

WorksPhysics and Astronomy

QEDIA: Quantum Program Verification in Lean

Abstract

Practical quantum programs interleave quantum and classical computation: classical data shape the quantum operations that are performed, and measurement outcomes shape the classical computation that follows. Formal verification of such programs in a proof assistant requires mechanizing a program logic that handles this interplay consistently at every level, from the mathematics of quantum mechanics, through program syntax and semantics, to specifications and proof rules. Such mechanizations, along with the program proofs built on them, typically require substantial manual effort. We present QEDIA, a framework for verifying quantum programs with classical variables in Lean 4. At its foundation is an open library that formalizes the quantum Hoare logic QHL+ across all these levels and proves the logic sound for both partial and total correctness. We construct the library and the program proofs, under human supervision, using an LLM-based prover agent, whose general-purpose core we extend for quantum program verification. We illustrate QEDIA with verified programs including the quantum Fourier transform, phase estimation, repeat-until-success circuits, and Hamiltonian simulation.

Authors’ Contact Information: Yuanjie (Collin) Ren, Massachusetts Institute of Technology, Cambridge, MA, USA and Atomic Inference Inc, Cambridge, MA, USA, [email protected]; Zhicheng Zhang, School of Information and Communication Technology, Griffith University, Brisbane, Australia, [email protected]; Junyi Liu, Joint Center for Quantum Information and Computer Science, University of Maryland, College Park, MD, USA; Jinzheng Li, Department of Physics, Northeastern University, Boston, MA, USA; Yidi Qi, Harvard University, Cambridge, MA, USA; Mingsheng Ying, Centre for Quantum Software and Information, University of Technology Sydney, Sydney, Australia, [email protected].

Introduction

Classical software engineering relies on testing and debugging: running code, inspecting intermediate states, and fixing bugs. For quantum programs, this practice is constrained by features of quantum mechanics, notably: measurement generally changes the state of a system, and the no-cloning theorem [15, 44] forbids copying an unknown state for offline analysis. Methods for assessing quantum operations, such as quantum process tomography [10, 30] and randomized benchmarking [23], are either expensive or report only average behavior. Formal verification, which proves by mathematical reasoning that a program satisfies its specification, does not require running the program. It is widely used for safety- and security-critical classical software and provides a principled route to correctness guarantees for quantum programs.

The same physics that constrains testing and debugging also reshapes the semantics a verifier must formalize. The programs considered here combine classical and quantum variables and operations. The classical–quantum interplay in such programs runs in both directions: classical variables determine the control flow, the gates applied, the qubits they act on, and their parameters; conversely, a measurement writes its outcome into the classical state, where it can influence the rest of the computation. Reasoning about such programs is the subject of a substantial body of work on quantum program verification [8, 17, 20, 25, 26, 46, 51].

Hoare logic is a cornerstone of classical program verification. Quantum Hoare logic [46] was developed for purely quantum programs and later formalized in Isabelle/HOL [26] and Coq [51]; a subsequent extension [17] added classical variables. QHL† [47] extends this line of work with the features needed in practice: quantum arrays, parameterized gates, richer predicate syntax, and additional proof rules for reasoning about hybrid classical–quantum control. Specifications take the form of quantum Hoare triples {φ,A} P {ψ,B}\{\varphi,A\}\ P\ \{\psi,B\}, where the precondition (φ,A)(\varphi,A) and the postcondition (ψ,B)(\psi,B) each pair a classical formula with a quantum predicate that may depend on classical variables.

To use QHL+^{+} for machine-checked program verification, we formalize it in the Lean 4 proof assistant de Moura and Ullrich [13]. The formalization spans the mathematics of quantum mechanics, program syntax and semantics, and the proof rules, which we prove sound. Mechanized verification of quantum programs, from the underlying libraries to the program proofs, typically requires substantial manual effort, as reflected in mature frameworks such as CoqQ Zhou et al. [51] and Qbricks Chareton et al. [8] and in the certified end-to-end verification of Shor’s algorithm Peng et al. [33]. Mechanizing QHL+^{+} is more demanding still, since the classical–quantum interplay must be handled consistently at each level of the formalization, as the examples in § 3 illustrate.

This proof-writing effort motivates our use of theorem-proving agents that combine large language models (LLMs) with feedback from proof assistants [7, 24, 27, 36, 42] (Baba et al. 2026). The general approach is to generate candidate formal proofs and revise them using the proof assistant’s diagnostics. In our work, LLM agents working under human supervision formalize the quantum program logic, build its supporting library, and construct the example proofs, all checked by Lean’s kernel. To our knowledge, this is the first mechanized quantum program logic built by LLM agents.

This Paper and Its Contributions

This paper presents QEDIA, a framework for verifying quantum programs with classical variables in Lean 4, based on QHL+^{+} and built on Mathlib The mathlib Community [39].2 Its contributions are:

  • A formalized quantum Hoare logic with proved soundness. QEDIA formalizes QHL+^{+} for quantum while-programs with classical variables, quantum arrays, and parameterized gates. Its proof system is proved sound in Lean for both partial and total correctness. The formalization handles the classical–quantum interplay consistently at every level, from the mathematics of quantum mechanics to the proof system (§ 5).

  • An agent-based proof-writing framework. A general-purpose core agent coordinates LLM agents to construct and review formal proofs, combining Lean checks with review of the intended mathematics. Its quantum extension supports applying QHL+^{+} rules and adds quantum-specific checks (§ 6). We expect this workflow to be useful for future AI-assisted formal verification of quantum programs.

  • A series of verified program examples. We illustrate QEDIA with eleven verified programs: preparation of the Bell state and a 1D cluster state; parallel Hadamard; the quantum Fourier transform and its inverse; quantum phase estimation; a repeat-until-success circuit; Hamiltonian simulation of the transverse-field Ising model by a Trotter product formula; and the Bravyi–Kitaev encoding, block encoding, and quantum signal processing for the Fermi–Hubbard model (§ 7 and Appendix § 12). To the best of our knowledge, some of these examples cannot be directly handled by existing quantum program verifiers, since they involve the classical–quantum interplay at both the program and specification levels.

The remainder of the paper is organized as follows. § 3 uses three motivating examples to identify the levels at which the classical–quantum interplay must be handled. § 4 provides background on QHL+^{+}: its programs, assertions, and proof rules. § 5 presents the Lean formalization of QHL+^{+} and shows how it handles this interplay at each level. § 6 describes the prover agent that constructs the library and the program proofs. Section 6 is devoted to the verified program examples, with detailed derivations for the examples of Section 2. Section 7 discusses related work, and Section 8 concludes. Appendix A gives further details of the formalization, and Appendix B presents the remaining verified examples.

Motivating Examples

We now make the classical–quantum interplay described in Section 1 concrete. Through the three programs in Figure 1, we illustrate the capabilities that a verifier needs in order to handle this interplay at different levels.

Figure 1. The three motivating programs. Classical variables include loop counters, measurement outcomes, and inputs; qq is a quantum array, and a quantum operation acts on the qubits named in brackets.

Example 2.1 (Repeat-Until-Success). Our first example is a repeat-until-success (RUS) circuit. Such circuits use mid-circuit measurements and classical feedback, in contrast to ordinary unitary synthesis, to reduce the number of expensive TT gates in implementing certain non-Clifford unitary gates [5, 32].

The program in Figure 1(a) presents an RUS implementation of the single-qubit unitary gate VRUS=I+i2X3V_{\mathrm{RUS}} = \frac{I+i\sqrt{2}X}{\sqrt{3}}, using a two-qubit gate WRUSW_{\mathrm{RUS}} that is easier to construct from a few TT gates [32 Fig. 8]. Here, dd is a data qubit, aa is an ancilla qubit, and NN is a classical input bounding the number of attempts. The variables NN, kk are natural numbers, and the measurement outcome mm has type {0,1}\{0,1\}. The main component of the program is a while loop: in each iteration we reset the ancilla qubit aa to ∣0⟩\lvert0\rangle, apply gate WRUSW_{\mathrm{RUS}}, measure aa by the computational basis measurement {∣0⟩⟨0∣,∣1⟩⟨1∣}\{\lvert0\rangle\langle0\rvert,\lvert1\rangle\langle1\rvert\}, and assign the measurement outcome to the classical variable mm. Given the specific WRUSW_{\mathrm{RUS}}, each iteration applies VRUSV_{\mathrm{RUS}} to data qubit dd with probability 3/43/4 (indicated by m=0m=0) and leaves dd unchanged with probability 1/41/4 (indicated by m=1m=1). The loop stops when m=0m=0 or the number of attempts reaches NN.

The correctness of the RUS program in Figure 1(a) consists of two parts: the program terminates after applying VRUSV_{\mathrm{RUS}} to dd or exhausting the NN attempts, and it applies VRUSV_{\mathrm{RUS}} with probability bounded below in terms of NN. Using the QHL+^{+} framework, these two correctness conditions can be conveniently formalized as the following two Hoare triples:

⊨tot{N≥1, I⊗∣ψ0⟩⟨ψ0∣} RUS {m=0∨k≥N, J(m)}(1)\models_{\mathrm{tot}}\{N \ge1,\ I \otimes\lvert\psi_0\rangle\langle\psi_0\rvert\}\ \mathrm{RUS}\ \{m=0 \lor k \ge N,\ \mathcal{J}(m)\} \tag*{(1)}

and

⊨tot{N≥1, (1−4−N)(I⊗∣ψ0⟩⟨ψ0∣)} RUS {m=0, ∣w⟩⟨w∣}.(2)\models_{\mathrm{tot}}\{N \ge1,\ (1-4^{-N})(I \otimes\lvert\psi_0\rangle\langle\psi_0\rvert)\}\ \mathrm{RUS}\ \{m=0,\ \lvert w\rangle\langle w\rvert\}. \tag*{(2)}

Here, ∣ψ0⟩|\psi_0\rangle is an arbitrary initial state of dd,

J(m)={∣w⟩⟨w∣,m=0,I⊗∣ψ0⟩⟨ψ0∣,m=1,and∣w⟩=∣0⟩⊗VRUS∣ψ0⟩.(3)\mathcal{J}(m)=\begin{cases} |w\rangle\langle w|, & m=0,\\ I\otimes|\psi_0\rangle\langle\psi_0|, & m=1, \end{cases} \qquad\text{and}\qquad |w\rangle=|0\rangle\otimes V_{RUS}|\psi_0\rangle. \tag*{(3)}

We omit a classical precondition or postcondition when it is true.

Intuitively, the first Hoare triple (1) guarantees that, with dd initially in ∣ψ0⟩|\psi_0\rangle, the program will terminate and it either applies VRUSV_{RUS} successfully or exhausts the NN attempts and leaves dd in ∣ψ0⟩|\psi_0\rangle. The second Hoare triple (2) guarantees that the overall success probability in implementing the desired VRUSV_{RUS} is at least 1−4−N1-4^{-N}.

Through the above example, we can see the classical–quantum interplay at both the program and specification levels. For the program, the classical variable mm controls the while loop, yet its value in each iteration is set by measuring aa. For the specification, in Hoare triples (1) and (2), the same classical variable mm selects the successful branch and parameterizes the quantum predicate J(m)\mathcal{J}(m).

Example 2.2 (Quantum Fourier Transform). Our second example is the quantum Fourier transform (QFT). The QFT is a key subroutine of Shor’s factoring algorithm [38] and, through its inverse, the readout stage of quantum phase estimation [11, 22].

The program in Figure 1(b) presents a standard QFT implementation [12] on a quantum array qq of nn qubits. Here, q[j]q[j] is the jj-th qubit of array qq, and we define the controlled phase gate cR(γ)∣a,b⟩=eiγab∣a,b⟩cR(\gamma)|a,b\rangle=e^{i\gamma ab}|a,b\rangle for a,b∈{0,1}a,b\in\{0,1\}.

The main component of the program is a nested while loop: for each ii, we first apply the Hadamard gate HH to qubit q[i]q[i]. Then, for each jj, we apply cR(2π/2j+2)cR(2\pi/2^{j+2}) to qubits q[i]q[i], q[i+1+j]q[i+1+j], where both the qubit indices and the phase 2π/2j+22\pi/2^{j+2} are parameterized by classical variables ii and jj. After these produce the Fourier phases, a final loop of SWAP gates reverses the qubit order.

The correctness of the QFT program in Figure 1(b) states that, for each fixed n≥1n\ge1, the program terminates and maps computational basis states to the corresponding Fourier basis states. This can be formalized as the following Hoare triple:

⊨tot {∣x⟩⟨x∣} QFTn {∣χ(n,x)⟩⟨χ(n,x)∣}.(4)\models_{\mathrm{tot}}\ \{|x\rangle\langle x|\}\ \mathrm{QFT}_n\ \{|\chi(n,x)\rangle\langle\chi(n,x)|\}. \tag*{(4)}

Here, the classical input xx is an array of bits representing the integer xˉ=∑j=0n−1x[j]2n−1−j\bar{x}=\sum_{j=0}^{n-1}x[j]2^{n-1-j} in binary, ∣x⟩=⨂i=0n−1∣x[i]⟩|x\rangle=\bigotimes_{i=0}^{n-1}|x[i]\rangle, and

∣χ(n,x)⟩=12n∑y∈{0,1}ne2πixˉyˉ/2n∣y⟩|\chi(n,x)\rangle=\frac{1}{\sqrt{2^n}}\sum_{y\in\{0,1\}^n}e^{2\pi i\bar{x}\bar{y}/2^n}|y\rangle

is the Fourier basis state.

Intuitively, the Hoare triple (4) guarantees that, with qq initially in an arbitrary computational basis state ∣x⟩|x\rangle, the program will terminate and leave qq in the corresponding Fourier basis state ∣χ(n,x)⟩|\chi(n,x)\rangle. We further verify the QFT on arbitrary inputs in § 7.2.

The above example also illustrates the classical–quantum interplay at the program and specification levels. For the program, the classical variables i,ji,j determine both the qubit indices and the phase of the controlled phase gate. For the specification, the quantum predicates ∣x⟩⟨x∣|x\rangle\langle x| and ∣χ(n,x)⟩⟨χ(n,x)∣|\chi(n,x)\rangle\langle\chi(n,x)| both depend on the array xx.

Example 2.3 (The Trotter Product-Formula Circuit). Our third example is a Trotter product-formula circuit for Hamiltonian simulation. Such circuits approximate the quantum evolution generated by a sum of Hamiltonians [28, 40].

The program in Figure 1(c) presents a first-order Trotter implementation of the evolution Uθ=e−iθHU_{\theta}=e^{-i\theta H} governed by the transverse-field Ising Hamiltonian

H=HX+HZZ,HX=∑j=0n−1a[j]Xj,HZZ=∑j=0n−2b[j]ZjZj+1.H=H_X+H_{ZZ},\qquad H_X=\sum_{j=0}^{n-1}a[j]X_j,\qquad H_{ZZ}=\sum_{j=0}^{n-2}b[j]Z_jZ_{j+1}.

References

  1. [1]Krzysztof R. Apt, Frank S. de Boer, and Ernst-Rüdiger Olderog. 2009. Verification of Sequential and Concurrent Programs (3rd ed.). Springer. doi:10.1007/978-1-84882-745-5DOI
  2. [3]Charles H. Bennett, Gilles Brassard, Claude Crépeau, Richard Jozsa, Asher Peres, and William K. Wootters. 1993. Teleporting an unknown quantum state via dual classical and Einstein-Podolsky-Rosen channels. Physical Review Letters 70, 13 (1993), 1895–1899. doi:10.1103/PhysRevLett.70.1895DOI
  3. [4]Charles H. Bennett and Stephen J. Wiesner. 1992. Communication via one- and two-particle operators on Einstein-Podolsky-Rosen states. Physical Review Letters 69, 20 (1992), 2881–2884. doi:10.1103/PhysRevLett.69.2881DOI
  4. [5]Alex Bocharov, Martin Roetteler, and Krysta M. Svore. 2015. Efficient Synthesis of Universal Repeat-Until-Success Quantum Circuits. Physical Review Letters 114, 8 (2015), 080502. doi:10.1103/PhysRevLett.114.080502DOI
  5. [6]Richard Boulton, Andrew Gordon, Mike Gordon, John Harrison, John Herbert, and John Van Tassel. 1992. Experience with Embedding Hardware Description Languages in HOL. In Theorem Provers in Circuit Design: Theory, Practice and Experience (IFIP Transactions A: Computer Science and Technology, Vol. A-10), Victoria Stavridou, Thomas F. Melham, and R. T. Boute (Eds.). North-Holland, Amsterdam, 129–156.
  6. [7]Benjamin Breen, Marco Del Tredici, Jacob McCarran, Javier Aspuru Mijares, Weichen Winston Yin, Krif Sulimany, Jacob M. Taylor, Frank H. L. Koppens, and Dirk Englund. 2026. Ax-Prover: A Deep Reasoning Agentic Framework for Theorem Proving in Mathematics and Quantum Physics. arXiv:2510.12787 [cs.AI] https://arxiv.org/abs/2510.12787
  7. [8]Christophe Chareton, Sébastien Bardin, François Bobot, Valentin Perrelle, and Benoît Valiron. 2021. An Automated Deductive Verification Framework for Circuit-building Quantum Programs. In Programming Languages and Systems (ESOP) (Lecture Notes in Computer Science, Vol. 12648). Springer, 148–177. doi:10.1007/978-3-030-72019-3_6DOI
  8. [9]Andrew M. Childs, Yuan Su, Minchul C. Tran, Nathan Wiebe, and Shuchen Zhu. 2021. Theory of Trotter Error with Commutator Scaling. Physical Review X 11, 1 (2021), 011020. doi:10.1103/PhysRevX.11.011020DOI
  9. [10]Isaac L. Chuang and M. A. Nielsen. 1997. Prescription for experimental determination of the dynamics of a quantum black box. Journal of Modern Optics 44, 11–12 (1997), 2455–2467. doi:10.1080/09500349708231894DOI
  10. [11]Richard Cleve, Artur Ekert, Chiara Macchiavello, and Michele Mosca. 1998. Quantum Algorithms Revisited. Proceedings of the Royal Society A 454, 1969 (1998), 339–354. doi:10.1098/rspa.1998.0164DOI
  11. [12]D. Coppersmith. 1994. An Approximate Fourier Transform Useful in Quantum Factoring. Research Report RC19642. IBM Research Division. arXiv:quant-ph/0201067 https://arxiv.org/abs/quant-ph/0201067
  12. [13]Leonardo de Moura and Sebastian Ullrich. 2021. The Lean 4 Theorem Prover and Programming Language. In Automated Deduction – CADE 28 (Lecture Notes in Computer Science, Vol. 12699). Springer, 625–635. doi:10.1007/978-3-030-79876-5_37
  13. [14]Yuxin Deng, Huiling Wu, and Ming Xu. 2024. Local Reasoning about Probabilistic Behaviour for Classical–Quantum Programs. In Verification, Model Checking, and Abstract Interpretation (VMCAI) (Lecture Notes in Computer Science, Vol. 14500). Springer, 163–184. doi:10.1007/978-3-031-50521-8_8DOI
  14. [15]Dennis Dieks. 1982. Communication by EPR devices. Physics Letters A 92, 6 (1982), 271–272. doi:10.1016/0375-9601(82)90084-6DOI
  15. [16]Yuan Feng, Sanjiang Li, and Mingsheng Ying. 2022. Verification of Distributed Quantum Programs. ACM Transactions on Computational Logic 23, 3 (2022), 1–40. doi:10.1145/35517145DOI
  16. [17]Yuan Feng and Mingsheng Ying. 2021. Quantum Hoare Logic with Classical Variables. ACM Transactions on Quantum Computing 2, 4 (2021), 1–43. doi:10.1145/3456877DOI
  17. [18]András Gilyén, Yuan Su, Guang Hao Low, and Nathan Wiebe. 2019. Quantum Singular Value Transformation and Beyond: Exponential Improvements for Quantum Matrix Arithmetics. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing (STOC). 193–204. doi:10.1145/3313276.3316366
  18. [19]Lov K. Grover. 1996. A Fast Quantum Mechanical Algorithm for Database Search. In Proceedings of the 28th Annual ACM Symposium on Theory of Computing (STOC). 212–219. doi:10.1145/237814.237866DOI
  19. [20]Keshia Hietala, Robert Rand, Shih-Han Hung, Xiaodi Wu, and Michael Hicks. 2021. A Verified Optimizer for Quantum Circuits. Proceedings of the ACM on Programming Languages 5, POPL (2021), 1–29. doi:10.1145/3434318DOI
  20. [21]J. Hubbard. 1963. Electron correlations in narrow energy bands. Proceedings of the Royal Society of London. Series A 276, 1365 (1963), 238–257. doi:10.1098/rspa.1963.0204DOI
  21. [22]A. Yu. Kitaev. 1995. Quantum measurements and the Abelian Stabilizer Problem. arXiv:quant-ph/9511026 [quant-ph] https://arxiv.org/abs/quant-ph/9511026
  22. [23]E. Knill, D. Leibfried, R. Reichle, J. Britton, R. B. Blakestad, J. D. Jost, C. Langer, R. Ozeri, S. Seidelin, and D. J. Wineland. 2008. Randomized Benchmarking of Quantum Gates. Physical Review A 77, 1 (2008), 012307. doi:10.1103/PhysRevA.77.012307DOI
  23. [24]Jinzheng Li, Zeru Zhu, and Yuanjie Ren. 2026. MerLean-Prover: A Recursive Looping Harness for Lean 4 Theorem Proving. arXiv:2605.26959 [cs.LO] https://arxiv.org/abs/2605.26959
  24. [25]Liyi Li, Mingwei Zhu, Rance Cleveland, Alexander Nicolellis, Yi Lee, Le Chang, and Xiaodi Wu. 2024. Qafny: A Quantum-Program Verifier. In 38th European Conference on Object-Oriented Programming (ECOOP) (Leibniz International Proceedings in Informatics (LIPIcs), Vol. 313). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 24:1–24:31. doi:10.4230/LIPIcs.ECOOP.2024.24
  25. [26]Junyi Liu, Bohua Zhan, Shuling Wang, Shenggang Ying, Tao Liu, Yangjia Li, Mingsheng Ying, and Naijun Zhan. 2019. Formal Verification of Quantum Algorithms Using Quantum Hoare Logic. In Computer Aided Verification (Lecture Notes in Computer Science, Vol. 11562), Isil Dillig and Serdar Tasiran (Eds.). Springer International Publishing, Cham, 187–207. doi:10.1007/978-3-030-25543-5_12DOI
  26. [27]Junqi Liu, Zihao Zhou, Zekai Zhu, Marco Dos Santos, Weikun He, Jiawei Liu, Yunzhou Xie, Junqiao Zhao, Qifeng Wang, Lihong Zhi, Jia Li, and Wenda Li. 2026. Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematics. In Proceedings of the 43rd International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 306). PMLR, 80284–80297. https://proceedings.mlr.press/v306/liu26pg.htmlarxiv.org/abs/2601.14027
  27. [28]Seth Lloyd. 1996. Universal Quantum Simulators. Science 273, 5278 (1996), 1073–1078. doi:10.1126/science.273.5278.1073DOI
  28. [29]Guang Hao Low and Isaac L. Chuang. 2019. Hamiltonian Simulation by Qubitization. Quantum 3 (2019), 163. doi:10.2231/q-2019-07-12-163
  29. [30]M. Mohseni, A. T. Rezakhani, and D. A. Lidar. 2008. Quantum-Process Tomography: Resource Analysis of Different Strategies. Physical Review A 77, 3 (2008), 032322. doi:10.1103/PhysRevA.77.032322DOI
  30. [31]Susan Owicki and David Gries. 1976. An axiomatic proof technique for parallel programs I. Acta Informatica 6, 4 (1976), 319–340. doi:10.1007/BF00268134DOI
  31. [32]Adam Paetznick and Krysta M. Svore. 2014. Repeat-Until-Success: Non-deterministic Decomposition of Single-Qubit Unitaries. Quantum Information and Computation 14, 15–16 (2014), 1277–1301.arxiv.org/abs/1311.1074
  32. [33]Yuxiang Peng, Keshia Hietala, Runzhou Tao, Liyi Li, Robert Rand, Michael Hicks, and Xiaodi Wu. 2023. A Formally Certified End-to-End Implementation of Shor’s Factorization Algorithm. Proceedings of the National Academy of Sciences 120, 21 (2023), e2218775120. doi:10.1073/pnas.2218775120DOI
  33. [34]Robert Rand, Jennifer Paykin, and Steve Zdancewic. 2018. QWIRE Practice: Formal Verification of Quantum Circuits in Coq. Electronic Proceedings in Theoretical Computer Science 266 (2018), 119–132. doi:10.4204/EPTCS.266.8DOI
  34. [35]Robert Raussendorf and Hans J. Briegel. 2001. A One-Way Quantum Computer. Phys. Rev. Lett. 86 (May 2001), 5188–5191. Issue 22. doi:10.1103/PhysRevLett.86.5188DOI
  35. [36]Yuanyue Ren, Jinzheng Li, and Yidi Qi. 2026. MerLean: An Agentic Framework for Autoformalization in Quantum Computation. arXiv:2602.16554 [cs.LO] https://arxiv.org/abs/2602.16554
  36. [37]Jacob T. Seeley, Martin J. Richard, and Peter J. Love. 2012. The Bravyi–Kitaev Transformation for Quantum Computation of Electronic Structure. The Journal of Chemical Physics 137, 22 (2012), 224109. doi:10.1063/1.4768229DOI
  37. [38]Peter W. Shor. 1997. Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer. SIAM J. Comput. 26, 5 (1997), 1484–1509. doi:10.1137/S0097539795293172DOI
  38. [39]The mathlib Community. 2020. The Lean Mathematical Library. In Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP). 367–381. doi:10.1145/3372885.3373824DOI
  39. [40]Hale F. Trotter. 1959. On the Product of Semi-Groups of Operators. Proc. Amer. Math. Soc. 10, 4 (1959), 545–551. doi:10.1090/S0002-9939-1959-0108732-6DOI
  40. [41]Dominique Unruh. 2019. Quantum Relational Hoare Logic. Proceedings of the ACM on Programming Languages 3, POPL (2019), 1–31. doi:10.1145/3293046DOI
  41. [42]Sumanth Varambally, Thomas Voice, Yanchao Sun, Zhifeng Chen, Rose Yu, and Ke Ye. 2026. Hilbert: Recursively Building Formal Proofs with Informal Reasoning. In International Conference on Learning Representations (ICLR).arxiv.org/abs/2509.22819
  42. [43]Dave Wecker, Matthew B. Hastings, Nathan Wiebe, Bryan K. Clark, Chetan Nayak, and Matthias Troyer. 2015. Solving Strongly Correlated Electron Models on a Quantum Computer. Physical Review A 92, 6 (2015), 062318. doi:10.1103/PhysRevA.92.062318
  43. [44]William K. Wootters and Wojciech H. Zurek. 1982. A single quantum cannot be cloned. Nature 299, 5886 (1982), 802–803. doi:10.1038/299802a0DOI
  44. [45]Huiling Wu, Yixuan Deng, and Ming Xu. 2025. Local Reasoning about Probabilistic Behaviour for Classical-Quantum Programs. arXiv:2308.04741 [cs.PL]. https://arxiv.org/abs/2308.04741v3
  45. [46]Mingsheng Ying. 2011. Floyd–Hoare Logic for Quantum Programs. ACM Transactions on Programming Languages and Systems 33, 6 (2011), 1–49. doi:10.1145/2049706.2049708DOI
  46. [47]Mingsheng Ying. 2026. A Practical Quantum Hoare Logic with Classical Variables, I. Information and Computation 309 (2026), 105417. doi:10.1016/j.ic.2026.105417DOI
  47. [48]Mingsheng Ying and Zhang. 2026. Verification of Recursively Defined Quantum Circuits. Proceedings of the ACM on Programming Languages 10, PLDI (2026), 656–680. doi:10.1145/3808273DOI
  48. [49]Mingsheng Ying, Li Zhou, and Yangjia Li. 2019. Reasoning about Parallel Quantum Programs. arXiv:1810.11334 [cs.LO] https://arxiv.org/abs/1810.11334
  49. [50]Zhicheng Zhang and Mingsheng Ying. 2025. Quantum Register Machine: Efficient Implementation of Quantum Recursive Programs. Proceedings of the ACM on Programming Languages 9, PLDI (2025), 822–847. doi:10.1145/3729283DOI
  50. [51]Li Zhou, Gilles Barthe, Pierre-Yves Strub, Junyi Liu, and Mingsheng Ying. 2023. CoqQ: Foundational Verification of Quantum Programs. Proceedings of the ACM on Programming Languages 7, POPL (2023), 833–865. doi:10.1145/3571222DOI
  51. [52]Li Zhou, Nengk un Yu, and Mingsheng Ying. 2019. An Applied Quantum Hoare Logic. In Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI). 1149–1162. doi:10.1145/3314221.3314584DOI

Paper details

vlnc:W_gwmpm573
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

GPT-5.5 (bare), GPT Sol (versions 5.6, 6, and 6.1), GPT-6 Astra (bare), Claude Opus (multiple versions), Claude Fable (multiple versions), AI assistance

View statement
Looking for related papers…
Contents