arXiv:2610.39491cs.PLOct 2026

Manuscript Offprint

arXiv:2610.39491

Automated Verification of Hamiltonian Simulation by Quantum Signal Processing

Min Lai, Yu-Fang Chen, Shih-Han Hung

MIN LAI, National Taiwan University, Taiwan

YU-FANG CHEN, Academia Sinica, Taiwan

SHIH-HAN HUNG, National Taiwan University, Taiwan

We present, to the best of our knowledge, the first fully automated verification framework for QSP-based Hamiltonian simulation. Our framework exploits the structure of the simulation algorithm: Hamiltonians are given as weighted sums of Pauli strings, embedded into larger unitaries through block encodings, and transformed into time-evolution operators by quantum signal processing (QSP). Using a symbolic Pauli-sum semantics for ancilla-indexed circuit blocks, our verifier proves that the distinguished all-zero ancilla block is proportional to the target Hamiltonian and infers the subnormalization factor automatically. It then verifies the QSP layer by extracting the implemented polynomial transformation and certifying its approximation error. This structure-aware abstraction is essential for scalability. Composing our verified block encoding and QSP wrapper yields an estimated macro-expanded size of about 1.52 million gates. The verifier certifies the block encoding once and checks the QSP layer through its abstract interface, without expanding the oracle calls. Our implementation verifies block encodings of structured Pauli-sum Hamiltonians with up to 256 system qubits and verifies QSP Hamiltonian-simulation instances by extracting their implemented polynomials and checking the resulting approximation bounds. These results show that fully automated verification can handle common Hamiltonian-simulation circuits at substantial scale when it exploits their algorithmic structure.

1 Introduction

Hamiltonian simulation is one of the central algorithmic tasks in quantum computing and a leading application area where quantum computers may provide computational advantage. It underlies applications in quantum chemistry, condensed-matter physics, and quantum algorithms more broadly. The task is defined as follows: given a Hamiltonian H and time t, the goal is to approximate the time-evolution operator e−iHte^{-iHt} to within error ϵ\epsilon [Lloyd 1996].

Since Feynman [1982] proposed the idea of simulating quantum systems using a quantum computer and Lloyd [1996] gave the first explicit algorithm, many quantum algorithms have been given to tackle the problem. In particular, three families of quantum algorithms dominate. Product formulas approximate e−iHte^{-iHt} by interleaving the evolutions under the individual terms of H=∑jHjH = \sum_j H_j, and their correctness rests on nested commutator bounds [Childs et al. 2021]. Linear combination of unitaries (LCU) approximates e−iHte^{-iHt} as a weighted sum of easy unitaries via an ancilla-controlled selection circuit [Childs and Wiebe 2012]. Quantum signal processing (QSP) achieves nearly optimal complexity by encoding a polynomial approximation of e−ixte^{-ixt} into the eigenphases of a block-encoding walk operator [Low and Chuang 2017, 2019].

The last two families share a common primitive: a block encoding of matrix H, a unitary that embeds the subnormalized operator H/αH/\alpha as a submatrix (in standard form, its top-left block) for some subnormalization factor α\alpha. This allows non-unitary H to be accessed coherently on an enlarged quantum state. A defining feature of these algorithms is that no implementation ever equals the target e−iHte^{-iHt}: the algorithms are deliberate truncations governed by a tunable accuracy parameter, and a finite universal gate set can in any case only approximate the required rotations, as analyzed by Dawson and Nielsen [2006]. The obligation of the verification task is therefore not just exact equivalence checking, but an approximate generalization of it, i.e., deciding whether two quantum processes agree to within error ϵ\epsilon in a suitable metric.

Authors' Contact Information: Min Lai, National Taiwan University, Taiwan, mimi.lai.cat@gmail.com; Yu-Fang Chen, Academia Sinica, Taiwan, yfc@iis.sinica.edu.tw; Shih-Han Hung, National Taiwan University, Taiwan, shihhanh@ntu.edu.tw.

Min Lai, Yu-Fang Chen, and Shih-Han Hung

This is substantially harder than, and poorly served by the tools built for, its exact counterpart. The difficulty is not merely numerical. The operators are 2n2^{n}-dimensional and given only implicitly by a circuit, so approximate checking must certify a quantitative norm bound on an object it cannot represent explicitly. Furthermore, the existing techniques that make exact equivalence tractable—decision diagrams [Burgholzer and Wille 2020], stabilizer formalism [Thanos et al. 2023], path-sums [Amy 2018], weighted model-counting [Huang et al. 2026], tree automata [Chen et al. 2023a,b, 2025], and ZX-calculus rewriting [Coecke and Duncan 2011]—primarily target circuit-to-circuit comparisons or state-based properties, rather than directly certifying a spectral-norm bound against an operator-level specification without a reference circuit.

Automated verification of Hamiltonian simulation. Our main contribution is a novel solution to automatically verifying Hamiltonian simulation based on quantum signal processing. Here, Hamiltonian simulation verification means proving that a quantum circuit generated from a Hamiltonian H correctly approximates the intended time-evolution operator e−iHte^{-iHt}.

This gap is especially visible in block-encoding-based Hamiltonian simulation. In these algorithms, correctness is not a statement that the whole circuit unitary equals another circuit. The Hamiltonian is typically given symbolically as a weighted sum of Pauli strings, and the verifier must first show that an ancilla-selected block of a larger unitary is proportional to this Hamiltonian, while also recovering the subnormalization factor.

A second semantic obligation arises from the simulation layer built around the certified block encoding. In QSP-based Hamiltonian simulation, the circuit repeatedly invokes the block encoding and its adjoint, interleaved with phase transformations, so that the overall circuit block-encodes a polynomial transformation of the encoded Hamiltonian. The final check is therefore an approximation guarantee: after accounting for the block-encoding subnormalization, the implemented polynomial must approximate e−iHte^{-iHt} within the prescribed error bound. Thus, verification naturally decomposes into certifying the block encoding and certifying the QSP transformation.

Fully automated verification of this kind remains largely out of reach for existing general-purpose quantum verification techniques. The difficulty is not merely circuit size, but the semantic gap between the generated circuit and the high-level specification it is meant to satisfy. A verifier must connect low-level gates to the high-level specification e−iHte^{-iHt}. This requires certifying the block encoding of the symbolic Pauli-sum Hamiltonian, reasoning about ancilla-selected blocks rather than entire unitaries, and verifying that the surrounding QSP layer implements the intended polynomial approximation of time evolution.

We present, to the best of our knowledge, the first fully automated verification framework for block-encoding-based Hamiltonian simulation circuits. Our verifier combines two complementary symbolic techniques. For block encodings, it constructs a branch-indexed symbolic model of the circuit by symbolic execution, where each branch operator is represented as a weighted sum of Pauli strings. This allows the verifier to inspect the induced all-zero ancilla block, prove that it is proportional to the target Hamiltonian, and infer the subnormalization factor automatically.

The resulting block-encoding certificate is then used as an abstract interface for verifying the simulation layer. In this paper, we focus on QSP-based Hamiltonian simulation. For the QSP component, the verifier replaces each invocation of the certified block encoding by a four-block symbolic abstraction, symbolically executes the QSP circuit, and uses sound rewrite rules derived from unitarity to extract the implemented polynomial transformation. The extracted polynomial is then checked against the desired time-evolution function after accounting for the block-encoding subnormalization. Together, these two symbolic components validate the two main obligations in QSP-based Hamiltonian simulation: certifying the input block encoding and certifying the surrounding QSP transformation. Although QSP is our main target, the same decomposition also suggests a path toward verifying other block-encoding-based simulation methods, including LCU-based algorithms derived from truncated Taylor-series approximations.

Our evaluation shows that this structure-aware approach scales to substantial Hamiltonian-simulation instances. The verifier checks block encodings of structured Pauli-sum Hamiltonians with up to 256 system qubits and hundreds of Pauli terms, without constructing the exponentially large system matrix. It also verifies QSP-based Hamiltonian-simulation circuits by extracting the implemented polynomial and certifying its approximation error. Composing the verified block encodings and QSP wrappers yields large Hamiltonian-simulation circuits whose correctness can be established without expanding the oracle calls. Our evaluation illustrates this composition and reports the resulting error bound and macro-expanded circuit size. These results demonstrate fully automated verification of common block-encoding-based Hamiltonian-simulation circuits at substantial scale.

References (28)