Large language models (LLMs) are increasingly trained with classical optimization techniques like AdamW to improve convergence and generalization. However, the mechanisms by which quantum-inspired methods enhance classical training remain underexplored. We introduce Superpositional Gradient Descent (SGD), a novel optimizer linking gradient updates with quantum superposition by injecting quantum circuit perturbations. We present a mathematical framework and implement hybrid quantum-classical circuits in PyTorch and Qiskit. On synthetic sequence classification and large-scale LLM fine-tuning, SGD converges faster and yields lower final loss than AdamW. Despite promising results, scalability and hardware constraints limit adoption. Overall, this work provides new insights into the intersection of quantum computing and deep learning, suggesting practical pathways for leveraging quantum principles to control and enhance model behavior.
Large language models (LLMs) are increasingly trained with classical optimization techniques like AdamW to improve convergence and generalization. However, the mechanisms by which quantum-inspired methods enhance classical training remain underexplored. We introduce Superpositional Gradient Descent (SGD), a novel optimizer linking gradient updates with quantum superposition by injecting quantum circuit perturbations. We present a mathematical framework and implement hybrid quantum-classical circuits in PyTorch and Qiskit. On synthetic sequence classification and large-scale LLM fine-tuning, SGD converges faster and yields lower final loss than AdamW. Despite promising results, scalability and hardware constraints limit adoption. Overall, this work provides new insights into the intersection of quantum computing and deep learning, suggesting practical pathways for leveraging quantum principles to control and enhance model behavior.
Significant computational challenges exist in the training of large language models (LLMs), specifically for the efficient convergence. This paper discusses a hybrid quantum-classical framework designed to address these challenges. With the integration of quantum computing principles, like the superposition, entanglement, and tunneling, into the classical deep learning methods, an approach is studied to accelerate convergence, enhance optimization efficiency, and improve model generalization. A quantum feature mapping is used to project classical data into high-dimensional Hilbert spaces, enhancing data representation and revealing more complex feature patterns in the data. The quantum-assisted optimization algorithms, like Quantum Approximate Optimization Algorithm (QAOA) and Variational Quantum Eigensolver (VQE), can efficiently find optimal solutions within complex, non-convex loss landscapes and mitigate the issues of local minima encountered by classical methods. Furthermore, the quantum-accelerated matrix operations, with the use of Harrow-Hassidim-Lloyd (HHL) algorithm or Quantum Fourier Transform (QFT) etc., can provide computational speed-ups for the LLM training. Quantum measurement introduces inherent randomness, similar to the dropout in deep neural networks, where certain neurons are randomly deactivated during training. In the noisy intermediate-scale quantum (NISQ) era, our quantum-classical framework and conceptual analyses demonstrate the feasibility and potential advantages. This work lays the foundation for future research in this area.
Optimisation of training still faces challenges due to an ill-conditioned loss surface and noisy gradient signals; at the same time, limited computational resources also restrict training options. Quantum Gradient Descent as a Hybrid Optimisation Strategy for Neural Network Training. The proposed noise-resilient quantum gradient descent framework maps selected gradient components to parameterised quantum circuits, estimates directional derivatives via parameter-shift measurements, and returns stable updates to the classical optimizer. It is not directly substituted for backpropagation; instead, it is a type of controllable gradient module that can be added to sensitive layers or low-dimensional projection heads. Add adaptive shot scheduling, damped momentum and layer-wise trust constraints to reduce estimator variance and prevent unstable quantum updates. Representative classification tasks are selected as the subjects of experiments for convergence speed, validation accuracy, gradient fidelity, measurement cost and noise robustness. Based on the above analysis, the new optimizer outperforms standard SGD in terms of final accuracy by 1.6% - 3.2% when using the same number of epochs; at the same time, it reduces the median gradient variance by 28.4% and maintains stable convergence even with an increase in simulated depolarizing noise from 0.001 to 0.015. Based on the above, it can be seen that Quantum Gradient Descent is not an all-purpose optimizer but rather a target-specific training accelerator for gradient-sensitive modules that can trade off sampling cost for more informative descent directions in measurement-aware update design.
Deep sequence models are increasingly combined with quantum computing and quantum-inspired optimization, yet the resulting literature uses inconsistent terminology and reports uneven evidence. This concise review distinguishes quantum-enhanced models, which execute parameterized quantum circuits, from quantum-inspired methods implemented on classical hardware. It organizes recent work by the point at which quantum principles enter the learning pipeline: recurrent gates, attention and feature maps, kernel representations, and training optimizers. Quantum long short-term memory networks and related hybrid architectures demonstrate expressive low-parameter models on small forecasting and classification tasks, while emerging superposition- and tunnelling-inspired optimizers target difficult neural-network loss landscapes. However, most reported gains are based on simulators, limited datasets, and comparisons that do not control computational budgets. The review therefore proposes a compact evaluation framework emphasizing strong classical baselines, wall-clock and energy costs, repeated trials, noise-aware experiments, and transparent definitions of quantum advantage. These practices are necessary to determine whether quantum mechanisms provide practical value for recurrent networks, Transformers, and future large-scale sequence models.
The artificial intelligence (AI) is about optimization, which is the essence of the model training, hyper parameter optimization and the high-dimensional space decision- making. Classical methods of optimization have made much progress using gradient descent and evolutionary algorithms but are sufficient in the face of scalabilibility issues in large and non-convex and combinatoric problem spaces. The recent advancement in quantum computing provides an alternative, which is promising, whereby quantum mechanical principles of superposition, entanglement, and interference are taken advantage of to speed up search and optimization. It is suggested that a hybrid quantum-classical optimization structure should be developed, including QAOA/VQE subroutines as a part of machine learning operations. The limited hardware implementation is supported by the results of simulations, which show that approximation ratios, rate of convergence, and robustness can be measured to improve tasks like Max-Cut, portfolio optimization, and feature selection
A viable approach for applying quantum computing to practical problems is hybrid quantum-classical machine learning (QML) systems. However, gradient discrepancies between quantum and classical components make it difficult to optimize such systems. For hybrid QML models, we suggest a new gradient descent technique called Quantum-Aware Gradient Descent (QAGD), which is intended to increase training stability and convergence. Our method addresses noise sensitivity and gradient scale mismatches by introducing layer-specific learning rate techniques and gradient normalization. The objective of this approach is to improve robustness and performance in noisy intermediate-scale quantum (NISQ) settings.
Optimization techniques in deep learning are predominantly led by first-order gradient methodologies, such as SGD. However, neural network training can greatly benefit from the rapid convergence characteristics of second-order optimization. Newton's GD stands out in this category, by rescaling the gradient using the inverse Hessian. Nevertheless, one of its major bottlenecks is matrix inversion, which is notably time-consuming in O(N3) time with weak scalability. Matrix inversion can be translated into solving a series of linear equations. Given that quantum linear solver algorithms (QLSAs), leveraging the principles of quantum superposition and entanglement, can operate within a polylog(N) time frame, they present a promising approach with exponential acceleration. Specifically, one of the most recent QLSAs demonstrates a complexity scaling of O(d⋅κlog(N⋅κ/ε)), depending on: {size~N, condition number~κ, error tolerance~ε, quantum oracle sparsity~d} of the matrix. However, this also implies that their potential exponential advantage may be hindered by certain properties (i.e. κ and d). We propose Q-Newton, a hybrid quantum-classical scheduler for accelerating neural network training with Newton's GD. Q-Newton utilizes a streamlined scheduling module that coordinates between quantum and classical linear solvers, by estimating & reducing κ and constructing d for the quantum solver. Our evaluation showcases the potential for Q-Newton to significantly reduce the total training time compared to commonly used optimizers like SGD. We hypothesize a future scenario where the gate time of quantum machines is reduced, possibly realized by attoseconds physics. Our evaluation establishes an ambitious and promising target for the evolution of quantum computing.