Exact gradient for general cost functions in variational quantum algorithms
Quantum Physics
2026-04-02 v2
Abstract
We present a unitary-based gradient formulation for variational quantum algorithms (VQAs) that applies to general differentiable cost function defined by a parameterized quantum circuit composed of Pauli-generated rotations. The gradient is obtained directly from the underlying unitary evolution, without assuming a specific expectation-value form of the cost function. The resulting expressions can be accessed on quantum hardware using the Hadamard and Hilbert-Schmidt tests. We demonstrate the method in variational quantum compilation, where it yields stable and accurate gradient estimates. This unitary-based framework therefore provides a broadly applicable and hardware-compatible tool for gradient evaluation in VQAs.
Cite
@article{arxiv.2509.17822,
title = {Exact gradient for general cost functions in variational quantum algorithms},
author = {Jesus Urbaneja and Le Bin Ho},
journal= {arXiv preprint arXiv:2509.17822},
year = {2026}
}
Comments
11 pages, 6 figures