A team of fourteen researchers from China has proposed a fully quantum large model designed to circumvent limitations of classical transformer-based systems. The work details a non-unitary and nonlinear quantum approach that aims to reduce computational costs while maintaining learning ability, a feat accomplished by implementing non-unitary transformations through singular value decomposition-based quantum circuits. Inference executions on quantum hardware verified a 300 to 1000 times speed-up. The researchers report their training algorithm achieves only 25% of the complexity of existing quantum circuit training methods.
Transformer Architecture Limits Drive Quantum Model Design
The dependency between inference time complexity and a model’s hidden dimension has been reduced to logarithmic, a shift from the polynomial relationship found in conventional Transformer architectures. This reduction signifies an exponential advantage in processing speed for large language models. The research team achieved this by constructing a fully quantum model replicating all essential Transformer components. Existing quantum approaches often partially convert Transformers to quantum circuits, leaving classical components that limit overall speed improvements.
This new model addresses fundamental challenges in quantum machine learning, specifically the constraints of linear, unitary qubit evolutions. Classical Transformers rely on non-unitary matrices and nonlinear functions; the researchers implemented non-unitary transformations through singular value decomposition-based quantum circuits. Nonlinear activation functions, important for model performance, were approximated using pre-trained parameterized quantum circuits. The team also tackled the difficulty of gradient back-propagation on quantum hardware, proposing a quantum circuit training algorithm based on multi-agent reinforcement learning.
Non-Unitary Transformations via SVD-Decomposition Quantum Circuits
Implementing quantum large models presents unique hurdles stemming from the fundamental differences between quantum and classical computation, specifically the limitations imposed by unitary qubit evolutions. The team’s design tackles a core problem in quantum self-attention. Classical attention heads rely on non-unitary matrices, a direct conflict with the unitary nature of quantum gates. To circumvent this, they designed a controlled non-unitary diagonal circuit, enabling the implementation of quantum self-attention mechanisms without sacrificing performance. The structure of these circuits, using SVD, decomposes transformations into unitary components, effectively mimicking the behavior of their classical counterparts.
This is achieved through circuits represented as =, where U and V are unitary and D is a diagonal matrix. The proposed algorithm aims to move quantum computation beyond specialized tasks toward more versatile, general-purpose learning.
Parameterized Quantum Circuits Approximate Nonlinear Activation
The model implements non-unitary transformations through SVD-decomposition-based quantum circuits, a departure from the inherently unitary nature of standard qubit evolution. The circuits, denoted as , perform transformations equivalent to a single layer in a classical neural network, acting on the quantum states of the qubits. Two such circuits, and , form the foundation of the feed-forward network layer, processing outputs from the self-attention mechanism.
Reinforcement Learning Enables Quantum Circuit Training
The model’s training bypasses gradient back-propagation by framing parameter adjustments as a Reinforcement Learning problem, a departure from conventional large language model training methods. This formulation allows for optimization of quantum circuits without needing access to intermediate quantum states, a significant hurdle in scaling quantum machine learning. The team’s analysis reveals a potential for exponential speed-up, as the time complexity of the quantum model is linked to circuit depth rather than the polynomial relationship seen in classical models like GPT.
Tianze Zhu designed the overall architecture of the quantum large model and oversaw the experiments, while Xiaofeng Jiang proposed the research direction, including the method of approximating nonlinear functions with quantum circuits and integrating Reinforcement Learning with quantum circuit training. Jiang also contributed to revisions of the article.
Min Liao focused on coding the quantum circuit structure for the self-attention layer and implementing sequence-to-sequence task experiments. Luying Zhang developed the quantum circuit structure for the feed-forward layer, along with portions of the Tianyan inference executions. The researchers’ work suggests a path toward more efficient and scalable quantum large language models, addressing a key limitation of current quantum machine learning techniques.
Logarithmic Scaling Reduces Inference Time Complexity
Reducing the relationship between inference time and a model’s hidden dimension from polynomial to logarithmic represents an advance in quantum large language model design, offering an exponential speed-up in processing. This model achieves this reduction by fundamentally altering how computational complexity scales with model size, a long-standing challenge in the field. The work details a quantum architecture that fully implements the encoding, self-attention and feed-forward layers of the Transformer, unlike other quantum models that omit key components and thus limit performance.
This complete implementation is critical for maintaining performance comparable to classical large models, particularly the GPT series. Measurements on sequence-to-sequence tasks also confirmed the model’s ability to learn and perform tasks effectively.
Training Complexity Reduced to 25% of SOTA Algorithms
The team deposited supporting data, including chip usage and circuit tuning experiments, in an unpublished Zenodo record, allowing for independent verification of their findings. While the model achieved 25.76% teacher-forced token accuracy on certain tasks, the researchers acknowledge this falls short of full task resolution, potentially due to task difficulty and the current parameter scale.
Quantum Large Models Promote Generalized Quantum Computation
The proposed quantum large model bypasses a fundamental limitation of existing quantum algorithms, which are typically designed for specific problems, by demonstrating an ability to learn general tasks. This circumvention of back-propagation is significant, as it addresses a major hurdle in scaling quantum machine learning models.
The team reports that this approach reduces the complexity of training by 75% compared to quantum circuit training algorithms, a ratio that diminishes as the number of parameters increases. The model’s design directly addresses the inherent incompatibility between the linear, unitary nature of quantum gates and the non-unitary matrices and nonlinear functions prevalent in classical Transformers.
By implementing weighted vector aggregation, a process restricted by the no-cloning theorem in quantum mechanics, through carefully constructed quantum circuits, the team has created a system capable of processing information in a manner analogous to its classical counterparts. The potential for exponential speed-up in computation is realized, and the researchers believe this approach will significantly expand the universality of quantum computation, moving beyond specialized applications towards more versatile problem-solving capabilities.
Challenges of Unitary Gates and Quantum Back-Propagation
Approximating nonlinear activation functions, essential for the expressive power of large language models, also posed a challenge given the linear nature of quantum operations. This approach allows the model to introduce nonlinearity without directly violating the constraints of quantum mechanics. It is a departure from the need for direct quantum equivalents of classical nonlinearities.
The depth of the resulting quantum circuits is a critical factor in practical implementation, and the team focused on minimizing this. Their depth encoding circuit, consists of three quantum gates and a measurement operation, with an additional two controlled diagonal unitary gates adding to the overall complexity.
👉 More information
🗞 Non unitary and nonlinear quantum generative large model design and fast large-scale training without back propagation
✍️ Tianze Zhu et al. (Department of Automation, University of Science and Technology of China, Hefei, Anhui, China); Luying Zhang (Institute of Advanced Technology, University of Science and Technology of China, Hefei, Anhui, China)
🧠 ArXiv: http://arxiv.org/abs/2611.29571v1




See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.
