Using global optimization algorithm to optimize the initial weights and thresholds of traditional neural network model can effectively address the problems of premature convergence and lower accuracy. However, the shortcomings such as slower convergence speed and poor local search ability still exist. In order to solve these problems, a neural network model QGA-QGCNN using a Quantum Genetic Algorithm (QGA) to optimize Quantum Gate Circuit Neural Network (QGCNN) is proposed in this paper. In QGA-QGCNN, the initial parameters of QGCNN are optimized for the strong global optimization ability and faster convergence speed by using a QGA. In the proposed model, the normalized results of the predicted sample attributes are transformed into quantum states as the input of the network, and the quantum rotation gate is used to rotate the phase and control the reversal of the target qubits. Finally, the output of the network is obtained by entanglement of multiple qubits in the quantum Controlled-NOT (CNOT) gate. When dealing with more complex problems, the QGCNN model based on quantum computing has specific parallel computing capabilities and can give full play to its ability to blur uncertain problems, thereby improving detection performance. We use the authoritative 10% KDD-CUP99 data set in the field of network intrusion detection to conduct simulation experiments on the proposed QGA-QGCNN model. Experimental results show that the proposed intrusion detection model has lower false alarm rate and significantly accuracy compared to conventional attack detection models. And GQCNN optimized by QGA also improves the convergence performance of the model.
Using global optimization algorithm to optimize the initial weights and thresholds of traditional neural network model can effectively address the problems of premature convergence and lower accuracy. However, the shortcomings such as slower convergence speed and poor local search ability still exist. In order to solve these problems, a neural network model QGA-QGCNN using a Quantum Genetic Algorithm (QGA) to optimize Quantum Gate Circuit Neural Network (QGCNN) is proposed in this paper. In QGA-QGCNN, the initial parameters of QGCNN are optimized for the strong global optimization ability and faster convergence speed by using a QGA. In the proposed model, the normalized results of the predicted sample attributes are transformed into quantum states as the input of the network, and the quantum rotation gate is used to rotate the phase and control the reversal of the target qubits. Finally, the output of the network is obtained by entanglement of multiple qubits in the quantum Controlled-NOT (CNOT) gate. When dealing with more complex problems, the QGCNN model based on quantum computing has specific parallel computing capabilities and can give full play to its ability to blur uncertain problems, thereby improving detection performance. We use the authoritative 10% KDD-CUP99 data set in the field of network intrusion detection to conduct simulation experiments on the proposed QGA-QGCNN model. Experimental results show that the proposed intrusion detection model has lower false alarm rate and significantly accuracy compared to conventional attack detection models. And GQCNN optimized by QGA also improves the convergence performance of the model.
The current status of Quantum Neural Network (QNN) research is analyzed, it deeply studies the model Quantum Gate Circuit Neural Network (QGCNN) and QGCNN Learning Algorithm (QGCA). Replacing the mean square error function by using the Widrow function and the Rumelhart function, it creates two quantum neural network learning algorithms based on performance function, including Learning Algorithm of QGCNN based on the Widrow functions (WQGCA) and Learning Algorithm of QGCNN based on the Rumelhart functions (RQGCA). New algorithms overcome the inherent defects of the training result is not ideal and unrealistic, which is because the use of mean square error function training network will appear excessive punishment phenomenon. Three algorithms are trained by three data sets. Simulation Experiments on three kinds of algorithms was carried out by using these data sets in the case of the best learning rate. Research prove WQGCA and RQGCA have better pattern classification ability relative to QGCA and RQGCA has a higher classification accuracy than WQGCA.
Based on quantum genetic algorithm(QGA),a novel improved quantum genetic algorithm(NIQGA)to solve combinatorial optimization problem is proposed.To make full use of interference and entanglement characteristics of quantum state,dynamic step length in adjustment of angle of quantum gate,quantum crossover operation and quantum mutation operation are introduced,therefore high efficiency for optimization is achieved.Two typical combinatorial optimization problems—0/1 knapsack problem and route selection problem,are adopted to confirm the performance of NIQGA.Experimental results show that compared with GA and QGA,NIQGA is characterized by fast convergence rate and excellent capability on global optimization,especially better performance for combinatorial optimization problem with less correlation of genes.
In order to solve the problem of excessive parameters and slow computing speed of classical neural networks, this paper uses the powerful parallel computing power of quantum computing to improve the computing speed of classical neural network models, and proposes a hybrid continuous variational quantum neural network (HCVQNN) model that can be used for network intrusion detection. The continuous variable layer of the model is realized through Gaussian gate and non-Gaussian gate, in which Gaussian gate performs operations such as quantum state weight addition and offset term setting, and non-Gaussian gate performs nonlinear operations, thereby improving the overall expression ability of the network model. In addition, aiming at the unbalanced problem of UNSW-NB15 in the network intrusion dataset, this paper proposes to design the algorithm from the feature level and the algorithm level, using the ReliefF algorithm for feature selection at the feature level, and oversampling and undersampling processing at the algorithm level by combining the Borderline-SMOTE algorithm and GMM algorithm. The classification experimental results on the UNSW-NB15 network intrusion dataset show that compared with the other two network models, the HCVQNN network model obtains higher classification accuracy and lower loss function value in both binary classification and multi-classification tasks, and the classification accuracy for minority categories is also improved.
We propose a gate-based Quantum Genetic Algorithm (QGA) for real-valued global optimization. In this model, individuals are represented by quantum circuits whose measurement outcomes are decoded into real-valued vectors through binary discretization. Evolutionary operators act directly on circuit structures, allowing mutation and crossover to explore the space of gate-based encodings. Both fixed-depth and variable-depth variants are introduced, enabling either uniform circuit complexity or adaptive structural evolution. Fitness is evaluated through quantum sampling, using the mean decoded output of measurement outcomes as the argument of the objective function. To isolate the impact of quantum resources, we compare gate sets with and without the Hadamard gate, showing that superposition consistently improves convergence and robustness across benchmark functions such as the Rastrigin function. Furthermore, we demonstrate that introducing pairwise inter-individual entanglement in the population accelerates early convergence, revealing that quantum correlations among individuals provide an additional optimization advantage. Together, these results show that both superposition and entanglement enhance the search dynamics of evolutionary quantum algorithms, establishing gate-based QGAs as a promising framework for quantum-enhanced global optimization.
Quantum Gate Circuit Neural Network(QGCNN)is a kind of quantum neural network model, which directly uses quantum theory to design the neural network topology or training algorithms. In the neural network, Momentum update is adding momentum parameter in weight renew and provides a specific inertia while renewing weight vector. It avoids sustained oscillation of weight vector in network training. It introduces the principle of momentum update in the basic learning algorithm of Quantum Gate Circuit Neural Network, proposes Quantum Gate Circuit neural network Momentum update Algorithm(QGCMA). The research shows that QGCMA has 100% convergence rate and enhances convergence speed compared to the basic algorithm with the same learning rate.
Quantum genetic algorithms(QGA) typically construct traditional quantum chromosomes as independent quantum bit systems, which has facilitated the enhancement of search speed and precision in genetic algorithms, demonstrating powerful problem-solving capabilities in optimization issues. Although traditional QGA have enriched population diversity, they still tend to fall into local optima, and the evolutionary update operations require rotation directions to be determined by lookup tables, a process involving multiple conditional judgments that affect algorithm efficiency. To address these issues, an improved method has been proposed to further enhance the performance of QGA. In the initial population selection, a population grouping evolution method based on microhabitat coevolution strategy is used to prevent the algorithm from getting trapped in local optima when solving complex function problems. Additionally, quantum entanglement is introduced on top of quantum super-position by implementing quantum entanglement using quantum registers, and higher-order quantum rotation gates are employed that do not involve multiple conditional judgments of lookup tables, thus improving the efficiency of quantum chromosome measurement and evolutionary updates. Finally, traditional QGA and higher-order quantum genetic algorithms were applied to test functions in multiple experiments. The results indicate that, compared to traditional QGA, the higher-order quantum genetic algorithms have achieved an increase in convergence speed, an approximate 14.3% improvement in convergence precision, and possess enhanced global search capabilities.