Download Full Issue in PDF - Academy Publisher
Download Full Issue in PDF - Academy Publisher
Download Full Issue in PDF - Academy Publisher
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
1538 JOURNAL OF COMPUTERS, VOL. 8, NO. 6, JUNE 2013<br />
the visibility at X<br />
i<br />
. The basic framework of BIQACA<br />
described as follows:<br />
1) Select<strong>in</strong>g the target position of ant movement<br />
By apply<strong>in</strong>g the pr<strong>in</strong>ciple of randomness, a number of<br />
qubits <strong>in</strong> the current position were randomly selected to<br />
constitute a position update vector S. The transition rule<br />
and transition probability of ant k from position X to<br />
position<br />
where q∈[0, 1] is even-distributed random number, q 0<br />
∈[0, 1] is probability parameter, P is the set of occupied<br />
po<strong>in</strong>ts for ant <strong>in</strong> unit space, X<br />
s<br />
tion as per formula (8) ; α is the update parameter of<br />
pheromone, β is the update parameter of visibility.<br />
2) Realiz<strong>in</strong>g the movement of ant towards target position<br />
via quantum rotation gate<br />
After the ant has selected the target position, its<br />
movement process can be realized by chang<strong>in</strong>g the phase<br />
of qubit it brought for quantum rotation gate. In unit<br />
space, suppose the current position for ant at time t is P<br />
i<br />
,<br />
selected target position is P k , update vector of P i is S,<br />
then the update of phase angle <strong>in</strong>crement at P<br />
i<br />
is<br />
where )}<br />
t+ 1 t+ 1 t t t t+ 1 t t+<br />
1<br />
⎡cosϕij s<strong>in</strong>θ ⎤ ⎡<br />
ij<br />
cosϕij s<strong>in</strong>θ ⎤ ⎡<br />
ij<br />
cos( ϕij +Δ ϕij )s<strong>in</strong>( θij +Δθ<br />
) ⎤<br />
ij<br />
⎢ t+ 1 t+ 1⎥ ⎢ t t ⎥ ⎢ t t+ 1 t t+<br />
1 ⎥<br />
⎢s<strong>in</strong>ϕij s<strong>in</strong>θij ⎥ = U ⎢s<strong>in</strong>ϕij s<strong>in</strong>θij ⎥ = ⎢s<strong>in</strong>( ϕij +Δ ϕij )s<strong>in</strong>( θij +Δθij<br />
) ⎥<br />
⎢<br />
t+ 1 t t t 1<br />
cosθ ⎥ ⎢<br />
ij<br />
cosθ ⎥ ⎢<br />
+<br />
ij<br />
cos( θij θ ) ⎥<br />
⎣ ⎦ ⎣ ⎦ ⎣ +Δ<br />
ij ⎦ (15)<br />
Apparently, U-gate can rotate the phase of qubit by<br />
t 1<br />
ϕ +<br />
t 1<br />
Δ<br />
ij<br />
and Δ θ +<br />
ij<br />
.<br />
3) Adjustment strategy of search space<br />
i<br />
In BIQACA, the search space for each qubit is designed<br />
as [ lowBd ij , upBdij<br />
] , the search space at <strong>in</strong>itializa-<br />
X<br />
s<br />
are:<br />
α<br />
β<br />
⎧arg max{ τ ( X<br />
s) iη<br />
( Xs)} q ≤ q<br />
tion is [ 0.25π<br />
,0.75π<br />
] , dur<strong>in</strong>g optimiz<strong>in</strong>g process of ants,<br />
0<br />
⎪ Xs∈P<br />
X<br />
s<br />
= ⎨ these search spaces are related with the contraction level<br />
⎪ <br />
⎩ Xs<br />
q > q0<br />
(8) of each qubit, and decrease exponentially, which can significantly<br />
improve the solution accuracy of the algorithm.<br />
α<br />
β<br />
τ ( Xs) iη<br />
( Xs)<br />
t+<br />
1<br />
t<br />
pX (<br />
s<br />
) =<br />
α<br />
β<br />
τ ( X<br />
u) η ( X<br />
u)<br />
X<br />
∑ i ,<br />
(9)<br />
⎡lowBd<br />
⎤ ⎡ 1 ⎤⎡ ij<br />
lowBd ⎤<br />
ij<br />
⎢ t+<br />
1 ⎥ = ⎢ t ⎥<br />
ij<br />
⎢ t ⎥ (16)<br />
nL<br />
⎢<br />
s,<br />
Xu∈P<br />
⎣ upBdij<br />
⎥⎦ ⎢⎣nf<br />
⎥⎦⎢⎣upBdij<br />
⎥⎦<br />
where j ∈ { S(1),<br />
S(2),<br />
,<br />
S(<br />
sm)}<br />
, S is the update vector<br />
of ants, nf = 2 is the constriction factor, nL t represents<br />
ij<br />
is the selected target loca-<br />
the contraction level of t-th iteration.<br />
4) Process<strong>in</strong>g of ant position variation<br />
Suppose the current position is P i , update vector of P i<br />
is S, the search space of P i is [ lowBd ij , upBdij<br />
] . Then the<br />
update of phase angle <strong>in</strong>crement at P<br />
i<br />
is:<br />
⎧ Δϕij<br />
= (2rand<br />
−1)(<br />
upBdij<br />
− lowBdij<br />
)<br />
⎨<br />
⎩<br />
Δϕij<br />
= sign(<br />
Δϕij<br />
)( abs(<br />
Δϕij<br />
) + lowBdij<br />
) (17)<br />
⎧ Δθij<br />
= (2rand<br />
−1)(<br />
upBdij<br />
− lowBdij<br />
)<br />
⎨<br />
⎩<br />
Δθij<br />
= sign(<br />
Δθij<br />
)( abs(<br />
Δθij<br />
) + lowBdij<br />
) (18)<br />
( φkj − φij ) × rand<br />
t<br />
⎧⎪<br />
j<br />
φkj ≠φij<br />
Δ φij<br />
= ⎨<br />
(10) 5) Random behavior of ants<br />
⎪⎩ Δ φij φkj = φij<br />
If P i is not improved after cont<strong>in</strong>uous limited-time cycles,<br />
the position should be abandoned, the ants will generate<br />
a new P '<br />
t<br />
t<br />
⎧Δ ϕij<br />
+ 2π Δ ϕij<br />
< −π<br />
t+<br />
1 ⎪<br />
i through random behavior to substtute P i .<br />
t t<br />
Δ ϕij = ⎨ Δ ϕij −π ≤ Δϕij<br />
≤ π (11)<br />
'<br />
⎪ Δ<br />
t<br />
t<br />
⎩ ϕij<br />
− 2π Δ ϕij<br />
> π<br />
ϕij = mean( ϕi<br />
) + Δϕ ij<br />
(19)<br />
'<br />
( θkj − θij ) × rand<br />
t<br />
⎧⎪<br />
j<br />
θkj ≠θ<br />
θij = mean( θi<br />
) + Δθ ij<br />
ij<br />
(20)<br />
Δ θij<br />
= ⎨<br />
(12)<br />
⎪⎩ Δ θij θkj = θij<br />
where i ∈ { 1,2, ,<br />
n}<br />
, j ∈ { S(1),<br />
S(2),<br />
,<br />
S(<br />
sm)}<br />
, S is the<br />
update vector of current position, Δ ϕij<br />
and Δ θij<br />
are updated<br />
us<strong>in</strong>g (17), (18), mean( θ<br />
t<br />
t<br />
⎧Δ θij<br />
+ π Δ θij<br />
< −π<br />
/2<br />
t+<br />
1 ⎪ t t<br />
i ) is the mean value of<br />
Δ θij = ⎨Δ θij −π /2 ≤ Δθij<br />
≤ π /2 (13)<br />
vector of phase angle θ<br />
⎪ Δ<br />
t<br />
t<br />
i at P i .<br />
⎩ θij<br />
− π Δ θij<br />
> π /2<br />
6) Update rules for pheromone <strong>in</strong>tensity and visibility<br />
When the ant completes a traverse, the current position<br />
j ∈ { S(1),<br />
S(2),<br />
,<br />
S(<br />
sm , rand<br />
j<br />
is random num-<br />
is mapped <strong>in</strong>to the solution space of optimal problem<br />
Δ ϕij<br />
, Δ θij<br />
can be obta<strong>in</strong>ed us<strong>in</strong>g from unit space, fitness function is calculated, and the<br />
<strong>in</strong>tensity and visibility of pheromone at current position<br />
should be updated.<br />
⎧τ( X<br />
i) = (1 − ρ) τ( Xi) + ρτ( Xi)<br />
t+ 1 t+ 1 t+ 1 t+ 1 t+ 1 t t+<br />
1<br />
⎨<br />
⎡cos Δϕij cos Δθij −s<strong>in</strong> Δϕij cos Δθij s<strong>in</strong> Δ θij cos( ϕij +Δϕij<br />
) ⎤<br />
⎢ t+ 1 t+ 1 t+ 1 t+ 1 t t+<br />
1 ⎥<br />
⎩ τ ( X<br />
i) = Qfit( X<br />
i)<br />
(21)<br />
U = ⎢s<strong>in</strong> Δϕij cos Δθij cos Δϕij cos Δθij s<strong>in</strong> Δ θs<strong>in</strong>( ϕij +Δϕij<br />
) ⎥<br />
⎢<br />
t+ 1 t t+ 1 t+<br />
1<br />
−s<strong>in</strong> Δθij −tan( ϕij / 2)s<strong>in</strong> Δθij cos Δθ<br />
⎥<br />
⎣ ij ⎦ (14)<br />
ber between [0, 1];<br />
(17), (18).<br />
Update of probability amplitude of qubit based on<br />
quantum rotation gate<br />
© 2013 ACADEMY PUBLISHER