Professional Documents
Culture Documents
Summerschool Day2 ElisaBäumer
Summerschool Day2 ElisaBäumer
Eigentum!gerithmslf
21.07.2020
Oranien
I) Deutsch Jozsa -
I. Deutsch Jozsa
algorithmentheorie -
nennen =n .
Orontes .
goal determine
:
some property of the oracle
asing the minimal number of que
ries
"
•
on a classical computer ,
such an Oracle is
give by a fct f :{0,13
.
→
{0,15
bit Oracle
IIII!! }
be
unitary which performs
0g : can seea as a
J
,
I the
µ map Oglxsly > =
Ixslytoflx) >
→
for f : { 0,13
"
→ { 0,13 we can contract Ug :
,
Fängt "
"
ancilla-
qubit
In
{ Jz
WHO ) Hs) Ixsly > if fix) :O
# ( Ix )
-
=
IM UN los)
Ixslg ) ifflx) 1
-
= =
-
,
f)
"
=
1×31 )
y
Ix >
Hadamard
Tur m
on in
qubits
_
.
-
recall that It to> =
Its =
# Hatte>) ,
HH ) : ts
¥40 > -
)
k
f- Ä To > + HI
"
#
"
113)
for x E { 0,1} : Ixs -
THI -
Igs
=
( to > t
f- e) 4) =
¥ -
""
=
¥ Ego "
EN l k>
.
inner product
"
for '
HÄM
HD
{
{ 0,13 Ixo>
!!)
µ
x c- : -
"
↳
"
"→
:
's - " " =
# E.„
lxn.is -
TH -
↳ ever
ylyis is eitler It > or ↳
Igs must be a
superposition of all possible
1×3=101 > bit
"
e.
g .
: 2
strings
J lys
'
% :
It> ⑤ I -
> =
Elias -
101 > tho> -
Hes)
Fur
Deutsch Jozsa algorithmen
-
g- -
function f :{0,1J
"
We
give a { 0,1J realized by oracle of which
→
are →
,
an ,
# O '
is
'
Classical :
we need to ask the oracle at least twice but if we
get twice the ,
some
Output ,
we need to ask again .
. .
.
at most It 1=2^71
"
→
queries ,
n : # input bits ,
N 2
> : # realizable bit strings
"
demonstrative different to Throw the fair
example : 2 ways a coin → is coin ?
quantumsolution.im needs
only one
query !
"
÷:
"
"
° 1
2
14 )
"
•
14 > = 100 07 = 10 ) oo
;
- o
Mi
. .
.
X. Yo
IY > =3 ¥!
"
H '"
>
? ""
e =
.
",
n
"
.
Elf ! ! }! ÄK
"
¥
""
# E.
" "
•
Mir H -
-
Mas =
H -
H Ixs = >
"„
"
"" "
=
! [ II.go.y.nl 1) -
""
-
= :
Ck
OIÄ .EE/klf=koo....l2
"
Plug oo . . . oo . .
-014371 ! !! nen
1 h:
{
= ,
00
. . .
0
'
.gg !!!
orthogonal)
=/ In EN) ! {
1
O
.
-
.
if f balanced
{
"
=
+2
"
, if f) EO
2
if flxl Et
-
°
,
if flxl balanced PTT
II-rbafgorith.mn
g- U n - Umm
rother : find
elements
" " ×
.
t.gl#=1
→
classical
alg . needs on
average Nz = OCN) time
folx) :{1Qifdse
"
goal :
,
gieren an
Ug with
f :
{ 0,13 → {0,13 , ,
F , ,
Ug
105%105*1×3
Ich → Iws
Ug
: -
:
.
GETEILT :
:
↳ Ug : 1- 2 IWXWI ↳
Ugo 210×010 =
"
-
11
DH : It
:*
107 -
=
."
:
:
:-.
Ist
repeat r times
Clair y
= w ( with high prob ) .
:# ¥,
"
Ugo .
H = .
H -
Hot! H "
= 21 SXSI - 11
"
Get I be the plane spanned by Iss and Iws and Kt lat ) be the state
orthogonal to ↳ in E :
Int) : =
¥77,1 ×>
VII Iwt
ftp./ws--:cosEIwtstsinEzIwsdefineO-s.t.sinzE:Izn-
Is > = > t
protocol :
0=2
arcsinfznn
- -
Ä
tun [ " s>
2.) Apply Ug -11 -
21WXwl →
reflection at lat>
±:):::c: : :.ie?::::::.
" "
after r
applications of 2.) & 3.) the state , is
oH:→ Ups>
rotatedbyr.O-nea.ge
E EVT ( ru)
↳
chooser.si .
rot ! E r
-
-
¥ E -
ü
=
I -
probability
plus ) > 1- sin ! =
1- ¥ µ
:
'Ä µ. ) n
Amplitude amplification
nun zum -
c-
1.) Is > : = H
⑦ "
10)
"
2.) Ug Is > = (1- 21wxwl) Is ) →
flip amplitude of ↳
amplitude amplitude
÷ -
I-E.in
EF I :p i
-
: :
-
-
.
¥: *
I-E.it
:
;] ¥ ;
-
:
-
-
÷ ü:{i :
t.vn
± -
? Iis
yidds :
|
as
Ip (
di
3- E) •
|
KIND a) 145.2 E ! lj ) 7. <ht ? a- Ii)
? li>
¥:-, ¥
-
a:
- - . -
""
"
- - - -
g.
-
III. ¥ =
,
.
=3.se is
=
ca>
SHIN
-
Iws Er ?! Iwie →
tut > IFF ¥ '
.. .. . . "
' "
Iss =
↳
sin ¥ VII =
angle becomes
lager !
r =
4.at#rmjy-E--O(VN-T)
→ we can see this
speed up also when
looking at the amplitude :
1.) 2.)
⇐
TÄTE Ä "
" " ":
§ §
lo ) h ) Iwie Iwz) IN-19
"
IÄÄ
¥
in
µ
-
;
goes faster
"
←
:÷i