30.12.2012 Views

t b a b a

t b a b a

t b a b a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|Good><br />

θ<br />

| ψ ><br />

|ψ 0 ><br />

|Bad><br />

|Good><br />

θ<br />

| ψ ><br />

|ψ 0 ><br />

|Bad><br />

|Good><br />

(a) (b) (c)<br />

2θ<br />

θ<br />

| ψ ><br />

|ψ 0 ><br />

|Bad><br />

Figure 3.3: The search operator Q performs a rotation toward | Good〉 states by 2θ radians.<br />

(a) The current state | ψ〉 and the initial state | ψ0〉. (b) The oracle operation Sχ performs a<br />

reflection of the current state | ψ〉 about the vector | Good〉. (c) AS0A −1 performs a reflection<br />

about the initial state | ψ0〉<br />

state consisting of a uniform superposition of solutions to the search problem. The initial<br />

state may be expressed as:<br />

| ψ0〉 = √ a | Good〉 + √ 1 − a | Bad〉<br />

Figure 3.3 presents the effect of the transformation Q = −AS0A −1 Sχ as:<br />

• the oracle operation Sχ performs a reflection about the vector | Good〉.<br />

Sχ | x〉 =| x〉 (χ(x) = 1) Sχ | x〉 = − | x〉 (χ(x) = 0)<br />

• AS0A −1 performs a reflection about the initial state | ψ0〉<br />

S0 | 0〉 =| 0〉 S0 | x〉 = − | x〉 (x �= 0)<br />

• Q = −AS0A −1 Sχ performs a rotation toward | Good〉 vector by 2θ radians, where<br />

sin 2 θ = a<br />

41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!