Sampling noisy intermediate-scale quantum devices is a fundamental step that converts coherent quantum-circuit outputs to measurement data for running variational quantum algorithms that utilize gradient and Hessian methods in cost-function optimization tasks. This step, however, introduces estimation errors in the resulting gradient or Hessian computations. To minimize these errors, we discuss tunable numerical estimators, which are the finite-difference (including their generalized versions) and scaled parameter-shift estimators [introduced in Phys. Rev. A 103, 012405 (2021)], and propose operational circuit-averaged methods to optimize them. We show that these optimized numerical estimators offer estimation errors that drop exponentially with the number of circuit qubits for a given sampling-copy number, revealing a direct compatibility with the barren-plateau phenomenon. In particular, there exists a critical sampling-copy number below which an optimized difference estimator gives a smaller average estimation error in contrast to the standard (analytical) parameter-shift estimator, which exactly computes gradient and Hessian components. Moreover, this critical number grows exponentially with the circuit-qubit number. Finally, by forsaking analyticity, we demonstrate that the scaled parameter-shift estimators beat the standard unscaled ones in estimation accuracy under any situation, with comparable performances to those of the difference estimators within significant copy-number ranges, and are the best ones if larger copy numbers are affordable.
Variational Quantum Classifiers Through the Lens of the Hessian
National Institute of Technology, Agartala(阿加尔塔拉国家理工学院);Chitkara University Institute of Engineering & Technology, Chitkara University(奇特卡拉大学工程与技术学院);Mansoura University(曼苏拉大学)
Stochastic noise can be helpful for variational quantum algorithms
Pritzker School of Molecular Engineering, The University of Chicago(普利兹克分子工程学院,芝加哥大学);School of Computing and Information, University of Pittsburgh(计算与信息学院,匹兹堡大学);Chicago Quantum Exchange(芝加哥量子交换);Kadanoff Center for Theoretical Physics, The University of Chicago(卡达诺夫理论物理中心,芝加哥大学);Dahlem Center for Complex Quantum Systems, Freie Universität Berlin(达赫勒复杂量子系统中心,柏林自由大学);Electrical Engineering and Computer Science, Technische Universität Berlin(电气工程与计算机科学,柏林技术大学);Helmholtz-Zentrum Berlin für Materialien und Energie(柏林材料与能源研究所);Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所)