Using a single circuit to compute the gradients with respect to all parameters of a quantum neural network
Author:
Open Access
- 1 January 2026
- journal article
- Published by China Engineering Science Press Co. Ltd. in Frontiers of Physics
- Vol. 21 (8) , 083201
Abstract
Finding gradients is a crucial step in training machine learning models. For quantum neural networks, computing gradients using the parametershift rule requires calculating the cost function twice for each adjustable parameter in the network. When the total number of parameters is large, the quantum circuit must be repeatedly adjusted and executed, leading to significant computational overhead. Here, we propose an approach to compute all gradients using only a single circuit, significantly reducing both the circuit depth and the number of classical registers required. Although the theoretical complexity of gradient calculation and the total number of measurements are not reduced by this approach, a considerable reduction in the number of unique circuit compilations and job submissions is achieved. We experimentally validate our approach on both quantum simulators and IBM's real quantum hardware, demonstrating that our method significantly reduces circuit compilation time compared to the conventional approach, resulting in a substantial speedup in total runtime.Keywords
This publication has 34 references indexed in Scilit:
- Quantum‐Neural Network Model for Platform Independent Ddos Attack Classification in Cyber SecurityAdvanced Quantum Technologies, 2024
- Variational quantum algorithms for scanning the complex spectrum of non-Hermitian systemsFrontiers of Physics, 2024
- Pure quantum gradient descent algorithm and full quantum variational eigensolverFrontiers of Physics, 2023
- Quantum Machine Learning for b-jet charge identificationJournal of High Energy Physics, 2022
- Noise-induced barren plateaus in variational quantum algorithmsNature Communications, 2021
- Event Classification with Quantum Machine Learning in High-Energy PhysicsComputing and Software for Big Science, 2021
- Barren plateaus in quantum neural network training landscapesNature Communications, 2018
- Hardware-efficient variational quantum eigensolver for small molecules and quantum magnetsNature, 2017
- A variational eigenvalue solver on a photonic quantum processorNature Communications, 2014
- Learning representations by back-propagating errorsNature, 1986