In this work we have used CNOT gate to represent a quantum state and comparing with the help of NOT gate, here we use two qubit four layer neuron model is investigated. We have suggested a quantum back propagation algorithm to train qubit neural network and trained the network different parameter with the help of Matlab.
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 ability of neural networks, by introducing quantum rotation gates to the traditional BP networks, a novel quantum-inspired neural network model is proposed in this paper. In our model, the hidden layer consists of quantum neurons. Each quantum neuron carries a group of quantum rotation gates which are used to update the quantum weights. Both input and output layer are composed of the traditional neurons. By employing the back propagation algorithm, the training algorithms are designed. Simulation-based experiments using two application examples of pattern recognition and function approximation, respectively, illustrate the availability of the proposed model.
Artificial neural networks (ANN) proved to be efficient in solving many problems for big data analytics using machine learning. The complex and non-linear features of the input data can be learned and generalized by ANN. In the big data era, enormous amounts of data arrive from multiple sources. A stage is expected to be reached where even supercomputers are likely inundated with the big data. Training an ANN in such a situation is a challenging task due to the size and dimension of the big data. Also, a large number of parameters are to be used and optimized in the network to learn the patterns and analyze such data. Quantum computing is emerging as a field that provides a solution to this problem as a quantum computer can represent data differently using qubits. Qubits on quantum computers can be used to detect the hidden patterns in data that are difficult for a classical computer to find. Hence, there exists a huge scope for application in the area of artificial neural networks. In this work, we primarily focused on training an artificial neural network using qubits as artificial neurons. The simulation results show that our quantum computing approach for ANN (QC ANN) is efficient when compared to classical ANN. The model with qubits as artificial neurons can learn the features of data using fewer parameters for a binary classification task. We demonstrate our experiment using a quantum simulator and optimization of the quantum parameters used in QC ANN is carried out on a classical computer.
Now days we require low cost and high performance computational based applications. Quantum inspired computational device or circuit performs effective result compare to classical based devices. In the development of quantum-based devices and network needs number of quantum logic gates. Here we studied mathematical description of different types of single and multiple qubits-based quantum logic gates, the reversibility property of quantum gates also proved mathematically. We analyze the cost and effectiveness of each quantum gates has been implemented using neural network with the help of MATLAB. The cost and effectiveness of quantum gates has been analyzed with the comparison of different types of activation function.
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.