<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJAppS</journal-id><journal-title-group><journal-title>Open Journal of Applied Sciences</journal-title></journal-title-group><issn pub-type="epub">2165-3917</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojapps.2015.56024</article-id><article-id pub-id-type="publisher-id">OJAppS-56696</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Quantum-Inspired Neural Networks with Application
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>ianping</surname><given-names>Li</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>School of Computer and Information Technology, Northeast Petroleum University, Daqing, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>leejp@126.com</email></corresp></author-notes><pub-date pub-type="epub"><day>27</day><month>05</month><year>2015</year></pub-date><volume>05</volume><issue>06</issue><fpage>233</fpage><lpage>239</lpage><history><date date-type="received"><day>13</day>	<month>May</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>24</month>	<year>May</year>	</date><date date-type="accepted"><day>27</day>	<month>May</month>	<year>2015</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In this paper, a novel neural network is proposed based on quantum rotation gate and controlled- NOT gate. Both the input layer and the hide layer are quantum-inspired neurons. The input is given by qubits, and the output is the probability of qubit in the state . By employing the gradient descent method, a training algorithm is introduced. The experimental results show that this model is superior to the common BP networks.
 
</p></abstract><kwd-group><kwd>Quantum Computing</kwd><kwd> Neural Networks</kwd><kwd> Algorithm Design</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In the eighties of the twentieth century, Benioff and Feynman proposed the concept of quantum computation, and then P.W. Shor gave the first quantum algorithm of very large integer factorization [<xref ref-type="bibr" rid="scirp.56696-ref1">1</xref>] in 1994 and L.K. Grover proposed a quantum algorithm which searches a marked state in an unordered list [<xref ref-type="bibr" rid="scirp.56696-ref2">2</xref>] in 1996. Quantum computation has been widely paid attention and become a challenging research line. Fuzzy logic, evolution calculation, and neural networks are regarded as the most promising three important aspects in the artificial intelligence field, which compose intelligence calculation (soft calculation) and have much comparability with quantum computation. Therefore, the combination of them would bring promising research in theory.</p><p>Some research results in the nineties of the twentieth century show that [<xref ref-type="bibr" rid="scirp.56696-ref3">3</xref>] - [<xref ref-type="bibr" rid="scirp.56696-ref5">5</xref>] the information processing of brain may be related to the quantum states; there may exists the effect of quantum mechanics in brain, and the quantum system has the same dynamics features as the biology neural networks. Fatt and Katz proved that in biology neuron, the neurotransmitter is released from the nerve terminals by the form of multi-molecule and small units, and they call this kind of small units quantum. Each of small units (quantum) describes the minimal unit that the neurotransmitter is released. In general, although the number of quantum in each synaptic response of neurons may be different, the number of molecules in each quantum is the same. Therefore, the combination of quantum computation and ANN may preferably simulate the information processing of brain.</p><p>However, as yet, there is little understanding of the essential components of artificial neural networks based on quantum theoretical concepts and techniques. The basal model and theory of quantum neural networks are in research. At present, there is not a set of perfect theory to direct the construction of model. Since Kak firstly proposed the concept of quantum neural computation [<xref ref-type="bibr" rid="scirp.56696-ref6">6</xref>] in 1995, the quantum neural networks have been paid attention, and many novel ideas and elementary model have been proposed. In 1997, N. B. Karayiannis et al. proposed the model of quantum neural networks with multilevel hidden neurons based on the superposition of quantum states in quantum theory. ZHU Da-qi et al. applied this model to fault diagnosis for photovoltaic radar electronic equipment, and acquired the satisfied results [<xref ref-type="bibr" rid="scirp.56696-ref7">7</xref>] . In 2000, Matsui et al. proposed a quantum neural networks model based on the single bit rotation gate and the 2-bit controlled-NOT gate, presented the algorithm of model, and investigated its performance on solving the 4-bit parity check problem and the function approximation problem [<xref ref-type="bibr" rid="scirp.56696-ref8">8</xref>] . In this model, the input is based on quantum bits (qubits). However, in many actual problems, the system input is the real vector in Hilbert space, and the method is not presented to transform the real to the quantum state in Ref. [<xref ref-type="bibr" rid="scirp.56696-ref8">8</xref>] . For the algorithm of model, the only two iterative equations in complex number are given based on the gradient descent algorithm. Neither the gradient computation formula nor the input-output relationship of networks is presented. Therefore, it is not easy for the reader to simulate the algorithm and apply this model to actual problem.</p><p>In this paper, based on the universality of the single qubit rotation gate and the two-qubit controlled-NOT gate, a quantum neuron model and three layers quantum back-propagation neural networks (QBP) model are proposed. The learning algorithm in Ref. [<xref ref-type="bibr" rid="scirp.56696-ref8">8</xref>] is improved. A transform method from the real to the qubit is proposed. On the basis of the probability amplitude vector of qubits, the input-output relationship of the model is presented. To facilitate the practical application, the learning algorithm is deducted in detail and the implementing scheme is given. The continuity of this model is theoretically proved. Two application examples are designed, and the simulation results show that this model and algorithm are evidently superior to the conventional back-propaga- tion networks (CBP) in three aspects: convergence speed, convergence rate, and robustness.</p></sec><sec id="s2"><title>2. The Qubit and Quantum Gates</title><sec id="s2_1"><title>2.1. The Qubit</title><p>In the quantum computation, the term “qubit” is introduced as the counterpart of the “bit” in the conventional computation to describe the state of quantum computation. In quantum computation system two quantum physical states labeled as <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x6.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x7.png" xlink:type="simple"/></inline-formula> express 1 bit information. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x8.png" xlink:type="simple"/></inline-formula>corresponds to the bit 0 of classical computation, while the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x9.png" xlink:type="simple"/></inline-formula> to the bit 1. The qubit state <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x10.png" xlink:type="simple"/></inline-formula> maintains a coherent superposition of states <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x11.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x12.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.56696-formula88"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x13.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x14.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x15.png" xlink:type="simple"/></inline-formula> are complex numbers called probability amplitude. That is, the qubit state <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x16.png" xlink:type="simple"/></inline-formula> collapses into either <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x17.png" xlink:type="simple"/></inline-formula> state with probability<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x18.png" xlink:type="simple"/></inline-formula>, or <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x19.png" xlink:type="simple"/></inline-formula> state with probability<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x20.png" xlink:type="simple"/></inline-formula>, and</p><disp-formula id="scirp.56696-formula89"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x21.png"  xlink:type="simple"/></disp-formula><p>Therefore, the qubit can also be described by the probability amplitudes as<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x22.png" xlink:type="simple"/></inline-formula>.</p></sec><sec id="s2_2"><title>2.2. The Quantum Gate</title><p>The definition of single qubit rotation gate is described as follows</p><disp-formula id="scirp.56696-formula90"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x23.png"  xlink:type="simple"/></disp-formula><p>Let the quantum state<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x24.png" xlink:type="simple"/></inline-formula>. Then the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x25.png" xlink:type="simple"/></inline-formula> can be evolved by <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x26.png" xlink:type="simple"/></inline-formula> as follows<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x27.png" xlink:type="simple"/></inline-formula>. It is obvious that the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x28.png" xlink:type="simple"/></inline-formula> performs the phase rotation.</p><p>The effect of the quantum NOT gate is exchange the two probability amplitudes of a qubit, and its definition is described as follows</p><disp-formula id="scirp.56696-formula91"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x29.png"  xlink:type="simple"/></disp-formula><p>Using the method proposed in Ref. [<xref ref-type="bibr" rid="scirp.56696-ref8">8</xref>] , the controlled-NON gate can be realized by Equation (5)</p><disp-formula id="scirp.56696-formula92"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x30.png"  xlink:type="simple"/></disp-formula><p>According to the different value of the controlled parameter<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x31.png" xlink:type="simple"/></inline-formula>, the controlled effect includes three cases as follows</p><p>(1) If<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x32.png" xlink:type="simple"/></inline-formula>, then<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x33.png" xlink:type="simple"/></inline-formula>, which corresponds to reversal rotation;</p><p>(2) If<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x34.png" xlink:type="simple"/></inline-formula>, then<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x35.png" xlink:type="simple"/></inline-formula>, which corresponds to not rotation. In this case, the phase of the pro-</p><p>bability amplitude of quantum state <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x36.png" xlink:type="simple"/></inline-formula> is reversed. However, its observed probability is invariant so that we are able to regard this case as no-rotation;</p><p>(3) If<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x37.png" xlink:type="simple"/></inline-formula>, then</p><disp-formula id="scirp.56696-formula93"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x38.png"  xlink:type="simple"/></disp-formula></sec></sec><sec id="s3"><title>3. The Quantum-Inspired Neural Networks Model</title><sec id="s3_1"><title>3.1. The Quantum-Inspired Neuron</title><p>On the basis of the universal quantum gates, the quantum neuron model proposed in this paper includes five parts: input, phase rotation, aggregation, reverse rotation and output, where the input is described by qubits, the output is given by the probability of the state in which <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x39.png" xlink:type="simple"/></inline-formula> is observed, the phase rotation and the reverse rotation are performed by quantum rotation gate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x40.png" xlink:type="simple"/></inline-formula> and controlled-NOT gate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x41.png" xlink:type="simple"/></inline-formula>, respectively. The quantum neuron model is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>Where the definition of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x42.png" xlink:type="simple"/></inline-formula> is same as Equation (3). The <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x43.png" xlink:type="simple"/></inline-formula> is defined as follows</p><disp-formula id="scirp.56696-formula94"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x44.png"  xlink:type="simple"/></disp-formula><p>where f is a sigmoid function, and the definition of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x45.png" xlink:type="simple"/></inline-formula> refers to Equation (5). Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x46.png" xlink:type="simple"/></inline-formula>, and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x47.png" xlink:type="simple"/></inline-formula>. The result of aggregation is defined as</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title>The quantum-inspired neuron model</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2310409x92.png"/></fig><p>follows</p><disp-formula id="scirp.56696-formula95"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x48.png"  xlink:type="simple"/></disp-formula><p>The result of reverse rotation is given by</p><disp-formula id="scirp.56696-formula96"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x49.png"  xlink:type="simple"/></disp-formula><p>The input-output relationship of quantum neuron is described as follows</p><disp-formula id="scirp.56696-formula97"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x50.png"  xlink:type="simple"/></disp-formula></sec><sec id="s3_2"><title>3.2. The Quantum-Inspired Neural Networks</title><p>The quantum neural networks are composed of some quantum neurons and conventional neurons according to the definite linking rule. The three layers feed-forward QBP model proposed in this paper is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>, where the input layer and the hidden layer has n, p quantum neurons, respectively, and the output layer has m conventional neurons.</p><p>Suppose <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x51.png" xlink:type="simple"/></inline-formula> are the networks input, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x52.png" xlink:type="simple"/></inline-formula>are the hide layer output, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x53.png" xlink:type="simple"/></inline-formula>are the networks output, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x54.png" xlink:type="simple"/></inline-formula>are the quantum rotation gates to update qubits in the hide layer, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x55.png" xlink:type="simple"/></inline-formula>are the link-weights between the hide layer and the output layer, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x56.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x57.png" xlink:type="simple"/></inline-formula> are the controlled-NOT gates that are regarded as the transformation function of quantum neurons in the input layer and hide layer, respectively. The input-output relationship of each layer is described as follows</p><disp-formula id="scirp.56696-formula98"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x58.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56696-formula99"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x59.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x60.png" xlink:type="simple"/></inline-formula>;<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x61.png" xlink:type="simple"/></inline-formula>;<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x62.png" xlink:type="simple"/></inline-formula>.</p></sec></sec><sec id="s4"><title>4. Training Algorithm</title><p>For the training samples described in the n-dimension Euclid-space<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x63.png" xlink:type="simple"/></inline-formula>, the transform formula to realize quantum state description of the training samples is defined as follows</p><disp-formula id="scirp.56696-formula100"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x64.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x65.png" xlink:type="simple"/></inline-formula>.</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Three layers quantum-inspired networks model</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2310409x66.png"/></fig><p>In the QBP described by <xref ref-type="fig" rid="fig2">Figure 2</xref>, there are three groups of parameters, the rotation parameter<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x67.png" xlink:type="simple"/></inline-formula>, the reversal parameter <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x68.png" xlink:type="simple"/></inline-formula> and the link-weights<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x69.png" xlink:type="simple"/></inline-formula>, that need updating. The error function is defined as follows</p><disp-formula id="scirp.56696-formula101"><label>(14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x70.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x71.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x72.png" xlink:type="simple"/></inline-formula> are the normalized desired output and the practical output, respectively.</p><p>Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x73.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x74.png" xlink:type="simple"/></inline-formula>, Equation (12) can be rewritten as</p><disp-formula id="scirp.56696-formula102"><label>(15)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x75.png"  xlink:type="simple"/></disp-formula><p>Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x76.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x77.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x78.png" xlink:type="simple"/></inline-formula>. According to the gradient descent algorithm,</p><disp-formula id="scirp.56696-formula103"><label>(16)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x79.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56696-formula104"><label>(17)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x80.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56696-formula105"><label>(18)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x81.png"  xlink:type="simple"/></disp-formula><p>The parameter updating rules are as follows</p><disp-formula id="scirp.56696-formula106"><label>(19)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x82.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56696-formula107"><label>(20)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x83.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56696-formula108"><label>(21)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2310409x84.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x85.png" xlink:type="simple"/></inline-formula> is the learning coefficient.</p></sec><sec id="s5"><title>5. Simulation Comparisons</title><p>To testify the validity of QBP, an actual example is designed and the QBP is compared with the CBP in this section. To make comparison equitable, the QBP adopts the same structure and parameters as CBP in the simulations.</p><p>The XOR problem has been the typical example of the neural networks learning algorithm research. This problem is the simplest example for nonlinear classification problem, which the corresponding optimization surface is irregular, and exists some local minimum. In this simulation, The XOR problem is generalized from four points to sixteen points. The point set is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>Firstly, we investigate how to change for the convergence rate when the learning coefficient changes. The networks structure is set to 2-10-1, the restriction error is 0.1, and the restriction iteration steps are 2000. The learning coefficient is from {0.1, 0.2, ・・・, 1.0}. This example is simulated 100 times for each learning coefficient by the QBP and the CBP, respectively. When the learning coefficient changes, the maximum of convergence rate of QBP is 87% and the minimum is 51%. However, the convergence rate of CBP changes in a large range when the learning coefficient changes. When the learning coefficient is less than 0.2, the convergence rate of CBP is 0%, and when the learning coefficient is more than 0.2, the maximum of convergence rate of CBP is</p><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Sixteen points distribution on the plane</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2310409x86.png"/></fig><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> The relation of the convergence rate and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x88.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2310409x87.png"/></fig><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> The relation of the iteration steps and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2310409x90.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2310409x89.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> The relation between the iteration steps and the restriction error</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2310409x91.png"/></fig><p>only 59%. The comparison result is shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>The comparison result shows that the QBP is evidently superior to the CBP in both the convergence rate and the robustness.</p><p>Secondly, we investigate how to change for the iteration steps when the learning coefficient changes. The networks structure is set to 2-10-1 , the restriction error is 0.1, and the restriction iteration steps are 10,000. The learning coefficient is still from {0.1, 0.2, ・・・, 1.0}. This example is simulated 100 times for each learning coefficient by the QBP and the CBP, respectively. When the learning coefficient changes, for the average iteration steps of QBP, the maximum is 1838 steps, and the minimum is 151 steps; for the minimum iteration steps of QBP, the maximum is 336 steps, and the minimum is 27 steps. However, for the average iteration steps of CBP, the maximum is 7308 steps, and the minimum is 2021 steps; for the minimum iteration steps of CBP, the maximum is 4314 steps, and the minimum is 463 steps. The comparison result is shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>The comparison result shows that the QBP is evidently superior to the CBP in both the iteration steps and its fluctuation range when the learning coefficient changes.</p><p>Finally, we investigate how to change for the iteration steps when the restriction error changes. The networks structure is set to 2-10-1 . It is known from <xref ref-type="fig" rid="fig4">Figure 4</xref> and <xref ref-type="fig" rid="fig5">Figure 5</xref> that the performance of QBP and CBP is the best when the learning coefficient is set 0.9. Therefore, the learning coefficient is set 0.9. The restriction error is from {0.10, 0.09, ・・・, 0.01}. This example is simulated 100 times for each restriction error by the QBP and the CBP, respectively. The comparison result is shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p><p>When the restriction error changes, for the average iteration steps of QBP, the maximum is 8575 steps, and the minimum is 431 steps; for the minimum iteration steps of QBP, the maximum is 1816 steps, and the minimum is 30 steps. However, for the average iteration steps of CBP, the maximum is 17,100 steps, and the minimum is 1304 steps; for the minimum iteration steps of CBP, the maximum is 14,525 steps, and the minimum is 659 steps. Hence, when the restriction error changes, the iteration steps and its fluctuation range of QBP is far less than that of CBP, which takes on the preferable robustness.</p></sec><sec id="s6"><title>6. Conclusion</title><p>On the basis of the qubits and the universal quantum gates, a quantum BP neural networks model is proposed; the learning algorithm of this model is designed; and the continuity of this model is proved. The simulation result shows that this model and algorithm are superior to conventional BP networks in three aspects: the convergence speed, convergence rate, and robustness, by an actual example of pattern recognition and function approximation.</p></sec><sec id="s7"><title>Cite this paper</title><p>Jianping Li, (2015) Quantum-Inspired Neural Networks with Application. Open Journal of Applied Sciences,05,233-239. doi: 10.4236/ojapps.2015.56024</p></sec></body><back><ref-list><title>References</title><ref id="scirp.56696-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Shor, P.W. (1994) Algorithms for Quantum Computation: Discrete Logarithms and Factoring. 35th Annual Symposium on Foundations of Computer Science, New Mexico, 20-22 November 1994, 124-134. 
http://dx.doi.org/10.1109/SFCS.1994.365700</mixed-citation></ref><ref id="scirp.56696-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Grover, L.K. (1996) A Fast Quantum Mechanical Algorithm for Database Search. Proceedings of the 28th Annual ACM Symposium on the Theory of Computing, Pennsylvania, 212-221. http://dx.doi.org/10.1145/237814.237866</mixed-citation></ref><ref id="scirp.56696-ref3"><label>3</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Perus</surname><given-names> M. </given-names></name>,<etal>et al</etal>. (<year>1996</year>)<article-title>Neuro-Quantum Parallelism in Brain-Mind and Computers</article-title><source> Informatics</source><volume> 20</volume>,<fpage> 173</fpage>-<lpage>183</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.56696-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Adenilton, J., Wilson, R. and Teresa, B. (2012) Classical and Superposed Learning for Quantum Weightless Neural Network. Neurocomputing, 75, 52-60. http://dx.doi.org/10.1016/j.neucom.2011.03.055</mixed-citation></ref><ref id="scirp.56696-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Israel, G.C., Angel, G.C. and Belen, R.M. (2011) Dealing with Limited Data in Ballistic Impact Scenarios: An Empirical Comparison of Different Neural Network Approaches. Application Intelligence, 35, 89-109.  
http://dx.doi.org/10.1007/s10489-009-0205-8</mixed-citation></ref><ref id="scirp.56696-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Kak, S. (1995) On Quantum Neural Computing. Information Sciences, 19, 143-160.  
http://dx.doi.org/10.1016/0020-0255(94)00095-S</mixed-citation></ref><ref id="scirp.56696-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Zhu, D.Q. and Sang, Q.B. (2006) A Fault Diagnosis Algorithm for the Photovoltaic Radar Electronic Equipment Based on Quantum Neural Networks. Acta Electronica Sinica, 34, 573-576.</mixed-citation></ref><ref id="scirp.56696-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Matsui, N., Kouda, N. and Nishimura, H. (2000) Neural Networks Based on QBP and Its Performance. Proceedings of the IEEE-INNS-ENNS International Joint Conference on Neural Networks, 3, 247-252. 
http://dx.doi.org/10.1109/ijcnn.2000.861311</mixed-citation></ref></ref-list></back></article>