Quantum Brain
← Back to papers

Exact gradient for general cost functions in variational quantum algorithms

Jesus Urbaneja, Le Bin Ho·September 22, 2025
Quantum Physics

AI Breakdown

Get a structured breakdown of this paper — what it's about, the core idea, and key takeaways for the field.

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.

Related Research

Quantum Intelligence

Ask about quantum research, companies, or market developments.