Full text

Introduction

We often encounter the following issues difficult to deal with, in automatic control, system identification, filtering design engineering practice and scien tific research and other fields.

min ( ) ( ) ( 0) . . ( ) 0 ( 1, 2, , ) n m p i x R i j f x f x p s t g x j s         ,

( )

Where ( ), {1, 2, , } i f x i I m    is continuously differentiable function, and at least one non linear. At present, there are many results for solving this problem. Literature [1] ta kes advantage of multi objective planning and maximum entropy

methods to study on this function,

assuming 0 1 p   ;

Also assuming 0 1 p   , literature [2] [3] [4] use the adjustable entropy method to study on such issues, since the variable is not restricted; Using adjustable interval extension of the entropy function and relevant regional delete testing principles ,Literature [5] solves such problems.

In recent years, with the development of

(2013) 255 -

© The American Computational Science Society. All rights reserved.

computer technology, some group s have appeared intelligent optimization algorithm , f or example the literature [6] [7] . Among them, the literature [6] us es particle swarm algorithm to solv e nonlinear norm minimization problem . However, this method has a drawback that solution accuracy is not high.

In this paper, we use quantum genetic intelligent algorithm to solve the above problems , assuming

p  . The advantages of this algorithm is s peed and high accuracy. Simulation results show that the algorithm in solving such problems is practical and effective.

2.

Quantum Genetic Algorithm

2.1 Quantum Algorithm

Quantum computing us es quantum states as the basic unit of information, mak ing full use of quantum superposition, entanglement and interference and other characteristics. It solves the classical calculation NP hard problems by quantum parallel computing.

In 1994,

S HOR presented the first quantum algorithm for solving the prime factorization o f large numbers of classical computational problems . The algorithm can be used for public key systems RSA. In 1996 ,

Grover proposed quantum random database search algorithm .

The algorithm can be realized in a quantum computer database for failure to add in teger N

magnitude speed up the search . Since then, quantum computing rapidly become s a research hotspot.

. . Genetic Algorithms

Genetic algorithm is the computing model which simulat ing Darwinian theory of evolution by natural s election and Mendel genetics of biological evolution .

It is a n optimal solution search methods

by simulating natural evolutionary process . Genetic algorithms are not constrained by n ature of the problem, optimization criteria, etc. It uses objective func tion to globally adaptive search u nder the guidance of the probability . It is able to solve complex problems .

T raditional optimization

methods are difficult to solve

these problems .

However, this method is prone to premature population, slow convergence

.3

Quantum Genetic Algorithm

Since p arallel processing capabilities of quantum algorithm can compensate for the shortcomings of GA ,

m any s cholar have suggested combining the two algorithms and get quantum genetic algorithm .

Quantum genetic algorithm [7][ ] uses the probability amplitude expressed qubit chromosome coding , Using quantum superposition state revolving door on the role as the evolution operator

b ased on the principle of quantum evolution .

Quantum genetic algorithm has better population diversi ty and parallel computing capabilities.

2.4

Quantum genetic algorithm steps (combined herein example)

Step1 : Quantum Coding

Coded quantum genetic algorithm combines quantum algorithm and genetic algorithm encoding.

Using genetic algorithm binary coding, each component can be an independent variable to represent quantum genes, such as available:

1 2 1 2 i i ik i i ik              

.

Each gene consists of a number of quantum bits qubits, each qubit has two states. Respectively, with a certain probability that | | ij  and | | ij  are taken to 0 state and the 1 state. For the existence of multi state problem encoding, each individual available quantum quantum encoded form as follows:

(2013) 255 -

© The American Computational Science Society. All rights reserved.

11 12 1 21 22 2 1 2 11 12 1 21 22 2 1 2 t t t t t t t t t t k k n n nk j t t t t t t t t t k k n n nk q                                 

.

Quantum code is corresponding to initial population in the spec ific example of solving. In the initialization,

let 1/ 2 ij ij     , Binary encoding length of each variable is k. To numerical examples in this article, let k=20 .

Step2 : Finding the fitness value of the population

In the design of the fitness function, we make ( ) f x  as fitness function. After the above test population into the fitness function, we can find the fitness function values.

Step3 : Quantum revolving door

In quantum genetic algorithm, we usually use the revolving door to quantum information to operate. The process is as follows:

' ' cos( ) sin( ) sin( ) cos( ) i i i i i i i i                                   ,

  ’s amplitude affects the convergence rate.If the amplitude is too large, it will lead to precocious.   ’s symb ol affects the quantum rotation direction, specifically as follows:

Fig.

1 Quantum plot revolving door

When the quantum bit is in the first and third quadrant, i   is set to positive (negative),in order to increase the value "1" (" 0") the probability; When the quantum bit is in the second, and fourth quadrant, i   is set to negative (positive),in order to increase the value "0" ("1") the probability.

Table 1 -

1 Rotation angle selection strategy

i x

i best

    i i f x f best 

i  

false

true

false

0.01 

true

0.01 

false

0.01 

true

0.01 

false

true

Table - Rotation angle selection strategy

  , i i s  

i i   

i i   

i  

i  

+1

-

+1

-

+1

+1

-

+1

+1

+1

-

+1

Where i x is the current bit i chromosome; i b e s t is a current optimal chromosome bit i; ( ) i f x is the fitness function;   , i i s   is the angle of rotation direction ; i   is the rotational angular size. According to the choice of strategy of table 1, we will present the individual's fitness value ( ) i f x

and populations to adapt to the current best individual value ( ) i f b e s t Compare. If     i i f x f b e s t  , We will adjust the current individual corresponding qubits, making probability amplitude for   , i i   favor i x

appeared toward the direction of evolution; If     i i f x f b e s t  , We will adjust the current individual corresponding qubits, making probability amplitude for   , i i   favor i b e s t

appeared toward the direction of evolution.

3.

M atlab program design for Quantum gen etic algorithm

The following, we design quantum genetic algorithm procedures for solving equations (1). Part

(2013) 255 -

© The American Computational Science Society. All rights reserved.

of the code is as follows:

) Initialing population and the parameters of

( ) Q t

.

MAXGEN=200;

sizepop=40;

lenchrom=[20 , 20];

chrom=Initpop

(sizepop*2,sum(lenchrom));

) Testing each individual of

( ) Q t

Binary=collapse

(chrom)

) Evaluatin g the fitness of each individual of

( ) Q t

[fitness,

X]=fitnessfunction

(binary,

chrom);

) Let the best individual goals as the next generation evolution

[best.

fitness bestindex]=max(fitness);

) While ( i<=MAXGEN ) do

Initialing popul ation and the parameters of

( ) Q t

(Program code above)

Evaluating the fitness of each individual of

( ) Q t

( Program code above )

Updating quantum gate populations, get the next generation population   Q t 

C hrom

=

Qgate

(

chrom,

fitness,

best,

binary);

Recording the best individual and the corresponding fitness value

If new

best

fitness>best.

fitness

best

fitness=new

best

fitness;

best

binary=binary(new

best

index,:);

best

chrom=chrom(2*newbes tindex - 1:2*new

best

index);

best

X=X(new

best

index)

E nd

Update iteration : t t  

i=i+1

end w hile

) Returning l a s t Q (last generation) in the best fitness value

4.

Numerical examples

For the

numerical examples in the

literature [ ] , we let 1,0.3,3 p  :

min ( ) ( ) ( 0) . . ( ) 0 ( 1, 2, , ) n p m i x R i j f x f x p s t g x j s        

,

where :

    1 1 2 2 2 2 3 1 2 1 2 1 1 2 2 1 2 ( ) cos , ( ) sin ( ) 1 f x x f x x f x x x x x g x x x g x x x             

.

The results :

Table 2 0.3 p 

Iterations

x

x

F

- 0.607462

0.546705

1.765

- 0.621243

0.532316

1.75722

- 0.623721

0.529703

1.75444

- 0.623709

0.529715

1.75417

Table 3

p 

Iterations

x

x

F

- 0.682328

0.465571

1.22504

- 0.682328

0.465571

1.22504

- 0.682328

0.465571

1.22504

(2013) 255 -

© The American Computational Science Society. All rights reserved.

Table 4

p 

Iterations

x

x

F

- 0.71377

0.50

0.550252

- 0.71377

0.509468

0.550252

- 0.71377

0.509468

0.550252

5.

Conclusions

The above example shows that quantum genetic algorithm is better to solve nonlinear lp problems.

The above results

are within the scope of the precise ,

compared wi th the literature [6]. So,

Quantum Genetic intelligent algorithm is a better way for solving nonlinear problems.

Acknowledgment

This work was supported by the National Natural Science Foundation of China (No : 11001129) and Xuzhou institute of technology rese arch funds(No : XKY2010201) .

Figures

Article figure