Exact gradient for general cost functions in variational quantum algorithmsRemoveJesus Urbaneja and Le Bin HoPhys. Rev. A 113, 042435 (2026)