Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Quantum Neural Network Based on Swap Test and Phase Estimation

LIU Guangshuo LI Panchi

Published Sep 1, 2025• 0 citations
Publisher

Abstract

To address the integration of quantum computing and neural computing, this paper investigates a quantum neural network (QNN) model and its algorithm based on swap test and phase estimation. Firstly, a quantum circuit for swap tests with multi-qubit control is proposed, and a quantum neuron model is developed by combining this with phase estimation. The model uses quantum bits for inputs, weights, and outputs, where the phase of the weight qubits serves as the model parameters. Based on this quantum neuron, a QNN model is constructed, with measurements performed at the network output to obtain real-valued outputs. Various quantum circuits associated with the network model are designed in detail, and the input-output relationships for each network layer are derived according to quantum computing theory. Additionally, a method for adjusting network parameters based on the gradient descent algorithm is thoroughly developed. Finally, simulations are conducted on a classical computer using planar point set recognition and handwritten digit binary classification. Although these simulations do not verify the parallelism of quantum computing, they do validate the model??s execution effectiveness. The results show that the proposed model has a clear advantage in classification performance compared with a classical backpropagation (BP) neural network with the same parameter scale. This demonstrates that constructing QNN models based on multi-qubit swap tests and phase estimation is both effective and feasible, offering a new perspective for future research on quantum neural networks.

DOI
10.3778/j.issn.1673-9418.2410058

Related papers

Building quantum neural networks based on a swap test

Jian Zhao, Yuanhang Zhang, Changpeng Shao +3 more

An artificial neural network, consisting of many neurons in different layers, is an important method to simulate the human brain. Usually, one neuron has two operations: one is linear, the other is nonlinear. The linear operation is the inner product and the nonlinear operation is represented by an activation function. In this work, we introduce a kind of quantum neuron whose inputs and outputs are quantum states. The inner product and activation operator of the quantum neurons can be realized by quantum circuits. Based on the quantum neuron, we propose a model of a quantum neural network in which the weights between neurons are all quantum states. We also construct a quantum circuit to realize this quantum neural network model. A learning algorithm is proposed meanwhile. We show the validity of the learning algorithm theoretically and demonstrate the potential of the quantum neural network numerically.

arXiv:1904.12697•Physical Review A•Jul 23, 2019•59 citations

Learning Algorithm and Application of Quantum Neural Networks with Quantum Weights

Dianbao Mu, Zunyou Guan, Hong Zhang

A novel neural networks model with quantum weights is present.Firstly, based on the information processing modes of biology neuron and quantum computing theory, a quantum neuron model is presented, which is composed of weighting, aggregating, activating, and inspiriting.Secondly the quantum neural networks model based on quantum neuron is constructed in which the input and the output are real vectors; the linked weight and the activation value are qubits.On the basic of the gradient descent algorithm, a learning algorithm of this model is proposed.It is shown that this algorithm is super-linearly convergent under certain conditions and can increase the probability of getting the global optimal solution.Finally, the availability of the model is illustrated in both convergence speed and convergence rate by two application examples of pattern recognition and function approximation.

International Journal of Computer Theory and Engineering•Jan 1, 2013•27 citations

The Design and Implementation of Quantum-Inspired Neural Networks

Yang Shu-yu

The approximation ability of neural networks plays an important role to the result when one uses neural networks to resolve problems.Unfortunately there is no ideal way to construct proper networks with strong approximation ability.A novel construction approach based on the multi-qubits controller-not gates is proposed for neural networks model in this paper.The proposed model consists of three layers where the hidden nodes are the quantum neurons and the output nodes are the common neurons.The quantum neuron consists of the quantum rotation gates and the multi-qubits controllednot gates.The overall memory of input sequences is captured from information feedback of target qubit from output to input in the multi-qubits controlled-not gate.The output of quantum neuron is obtained from the controlled relationship of the multi-qubits controlled-not gate.The L-M learning algorithms are designed in detail based on the basic principles of quantum computation.The features of input sequences can be effectively obtained in two ways of breadth and depth.The experimental results of solitaire forecast show that,when the number of input nodes is close to the length of sequences,the training set recognition rate of the proposed model increases about 8% than the common neural networks,which reveals the effectiveness of the quantum computation for enhancing the approximation capability of the common neural networks.

Journal of Signal Processing•Jan 1, 2014•0 citations

Hybrid Quantum Neural Networks Model Algorithm and Simulation

Hong Yu Xiao, Maojun Cao

A quantum neural networks model based on quantum neurons and traditional neurons is presented in this paper. The input of quantum neuron is real vector, its weight is quantum bits, its transforming function is an inner product operator and its output is a real number. The network includes three layers. Input layer is composed of traditional neurons that receive input information. Hidden layer is composed of quantum neurons that extract pattern feature of input information and transfer them to output layer. Output layer is composed of traditional neurons that export calculation result. The weightings of output layer are rectified by back propagation algorithm. The weightings of hidden layer are rectified by a group of quantum gates. A detailed learning algorithm is designed. Finally the availability of the model and algorithm is illustrated by two application examples of pattern recognition and functional approximation.

International Conference on Natural Computation (ICNC)•Jan 1, 2009•11 citations

Algorithm and Application of the Quantum-Inspired Neural Network Model

Yang Shu-yu

To enhance the approximation and generalization ability of classical artificial neural networks,a quantum-inspired neural network model,whose input of each dimension is a discrete sequence,is proposed.This model concludes three layers,in which the hidden layer consists of quantum-inspired neurons,and the output layer consists of common neurons.The quantum-inspired neuron consists of the quantum rotation gates and the multi-qubits controlled-rotation gates.By using the information feedback of target qubit from output to input in multi-qubits controlled-rotation gate,the overall memory of input sequences is realized.The output of quantum-inspired neuron is obtained from the entanglements of multi-qubits in controlled-rotation gates.The learning algorithm is designed in detail according to the basic principles of quantum computation.The characteristics of input sequence can be effectively obtained by way ofbreadthanddepth.The simulation results show that,when the input nodes and the length of the sequence satisfy a certain relations,the proposed model is obviously superior to the common artificial neural networks.

Dianzi xuebao•Jan 1, 2014•0 citations

Sequence-Input Based Quantum Neural Networks Model and Its Algorithm

Pan Li

To enhance the approximation capability of neural networks, a quantum neural networks model is proposed whose input of each dimension is in discrete sequence. This model includes three layers, in which the hidden layer consists of quantum neurons, and the output layer consists of common neurons. The quantum neuron consists of the quantum rotation gates and the multi-qubits controlled-not gates. By using the information feedback of target qubit from output to input in multi-qubits controlled-not gate, the overall memory of input sequences is realized. The output of quantum neuron is obtained from the entanglements of multi-qubits in controlled-not gates. The learning algorithm is designed in detail according to the basis principles of quantum computation. The characteristics of input sequence can be effectively obtained from the width and the depth. The simulation results show that, when the input nodes and the length of the sequence satisfy a certain relations, the proposed model is superior to the common artificial neural networks.

•Jan 1, 2013•0 citations
To address the integration of quantum computing and neural computing, this paper investigates a quantum neural network (QNN) model and its algorithm based on swap test and phase estimation. Firstly, a quantum circuit for swap tests with multi-qubit control is proposed, and a quantum neuron model is developed by combining this with phase estimation. The model uses quantum bits for inputs, weights, and outputs, where the phase of the weight qubits serves as the model parameters. Based on this quantum neuron, a QNN model is constructed, with measurements performed at the network output to obtain real-valued outputs. Various quantum circuits associated with the network model are designed in detail, and the input-output relationships for each network layer are derived according to quantum computing theory. Additionally, a method for adjusting network parameters based on the gradient descent algorithm is thoroughly developed. Finally, simulations are conducted on a classical computer using planar point set recognition and handwritten digit binary classification. Although these simulations do not verify the parallelism of quantum computing, they do validate the model??s execution effectiveness. The results show that the proposed model has a clear advantage in classification performance compared with a classical backpropagation (BP) neural network with the same parameter scale. This demonstrates that constructing QNN models based on multi-qubit swap tests and phase estimation is both effective and feasible, offering a new perspective for future research on quantum neural networks.
An artificial neural network, consisting of many neurons in different layers, is an important method to simulate the human brain. Usually, one neuron has two operations: one is linear, the other is nonlinear. The linear operation is the inner product and the nonlinear operation is represented by an activation function. In this work, we introduce a kind of quantum neuron whose inputs and outputs are quantum states. The inner product and activation operator of the quantum neurons can be realized by quantum circuits. Based on the quantum neuron, we propose a model of a quantum neural network in which the weights between neurons are all quantum states. We also construct a quantum circuit to realize this quantum neural network model. A learning algorithm is proposed meanwhile. We show the validity of the learning algorithm theoretically and demonstrate the potential of the quantum neural network numerically.
A novel neural networks model with quantum weights is present.Firstly, based on the information processing modes of biology neuron and quantum computing theory, a quantum neuron model is presented, which is composed of weighting, aggregating, activating, and inspiriting.Secondly the quantum neural networks model based on quantum neuron is constructed in which the input and the output are real vectors; the linked weight and the activation value are qubits.On the basic of the gradient descent algorithm, a learning algorithm of this model is proposed.It is shown that this algorithm is super-linearly convergent under certain conditions and can increase the probability of getting the global optimal solution.Finally, the availability of the model is illustrated in both convergence speed and convergence rate by two application examples of pattern recognition and function approximation.
The approximation ability of neural networks plays an important role to the result when one uses neural networks to resolve problems.Unfortunately there is no ideal way to construct proper networks with strong approximation ability.A novel construction approach based on the multi-qubits controller-not gates is proposed for neural networks model in this paper.The proposed model consists of three layers where the hidden nodes are the quantum neurons and the output nodes are the common neurons.The quantum neuron consists of the quantum rotation gates and the multi-qubits controllednot gates.The overall memory of input sequences is captured from information feedback of target qubit from output to input in the multi-qubits controlled-not gate.The output of quantum neuron is obtained from the controlled relationship of the multi-qubits controlled-not gate.The L-M learning algorithms are designed in detail based on the basic principles of quantum computation.The features of input sequences can be effectively obtained in two ways of breadth and depth.The experimental results of solitaire forecast show that,when the number of input nodes is close to the length of sequences,the training set recognition rate of the proposed model increases about 8% than the common neural networks,which reveals the effectiveness of the quantum computation for enhancing the approximation capability of the common neural networks.
A quantum neural networks model based on quantum neurons and traditional neurons is presented in this paper. The input of quantum neuron is real vector, its weight is quantum bits, its transforming function is an inner product operator and its output is a real number. The network includes three layers. Input layer is composed of traditional neurons that receive input information. Hidden layer is composed of quantum neurons that extract pattern feature of input information and transfer them to output layer. Output layer is composed of traditional neurons that export calculation result. The weightings of output layer are rectified by back propagation algorithm. The weightings of hidden layer are rectified by a group of quantum gates. A detailed learning algorithm is designed. Finally the availability of the model and algorithm is illustrated by two application examples of pattern recognition and functional approximation.
To enhance the approximation and generalization ability of classical artificial neural networks,a quantum-inspired neural network model,whose input of each dimension is a discrete sequence,is proposed.This model concludes three layers,in which the hidden layer consists of quantum-inspired neurons,and the output layer consists of common neurons.The quantum-inspired neuron consists of the quantum rotation gates and the multi-qubits controlled-rotation gates.By using the information feedback of target qubit from output to input in multi-qubits controlled-rotation gate,the overall memory of input sequences is realized.The output of quantum-inspired neuron is obtained from the entanglements of multi-qubits in controlled-rotation gates.The learning algorithm is designed in detail according to the basic principles of quantum computation.The characteristics of input sequence can be effectively obtained by way ofbreadthanddepth.The simulation results show that,when the input nodes and the length of the sequence satisfy a certain relations,the proposed model is obviously superior to the common artificial neural networks.
To enhance the approximation capability of neural networks, a quantum neural networks model is proposed whose input of each dimension is in discrete sequence. This model includes three layers, in which the hidden layer consists of quantum neurons, and the output layer consists of common neurons. The quantum neuron consists of the quantum rotation gates and the multi-qubits controlled-not gates. By using the information feedback of target qubit from output to input in multi-qubits controlled-not gate, the overall memory of input sequences is realized. The output of quantum neuron is obtained from the entanglements of multi-qubits in controlled-not gates. The learning algorithm is designed in detail according to the basis principles of quantum computation. The characteristics of input sequence can be effectively obtained from the width and the depth. The simulation results show that, when the input nodes and the length of the sequence satisfy a certain relations, the proposed model is superior to the common artificial neural networks.