Work

Exact gradient for general cost functions in variational quantum algorithms

Year: 2026
Type: article
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.
Institution: Tohoku University
Language: English
Open Access status: green
OpenAlex ID: W7147204683
FWCI: 3.464
Cites: 22
Cited by: 1
Related to: 10