Falceto
Falceto
Departamento de Fsica Te
orica.
Universidad de Zaragoza
An introduction to
quantum circuits.
Martes cuantico, March 22, 2016
2 / 29
2 / 29
2 / 29
2 / 29
2 / 29
Classical circuits.
INPUT
OUTPUT
x1
x2
x3
x4
z1
F
z2
x5
3 / 29
Classical circuits.
INPUT
OUTPUT
x1
x2
z1
x3
x4
z2
x5
3 / 29
1x
x
y
NOT
x
y
xy
AND
x y + xy
x
y
xy
XOR
OR
= y
1 xy
NAND
x y = x + y (mod 2).
4 / 29
5 / 29
6 / 29
6 / 29
f (x0 , x1 , x2 , . . . , xn )
xn
We call:
f0 (x1 , x2 , . . . , xn ) = f (0, x1 , x2 , . . . , xn )
f1 (x1 , x2 , . . . , xn ) = f (1, x1 , x2 , . . . , xn ).
Then...
7 / 29
x0
x1
x2
f0 (x1 , . . . , xn )
xn
z
f1 (x1 , . . . , xn )
8 / 29
x0
x1
x2
f0 (x1 , . . . , xn )
xn
z
f1 (x1 , . . . , xn )
8 / 29
x0
x1
x2
f0 (x1 , . . . , xn )
xn
z
f1 (x1 , . . . , xn )
8 / 29
x0
x1
x2
f0 (x1 , . . . , xn )
xn
z
f1 (x1 , . . . , xn )
8 / 29
x0
x1
x2
f0 (x1 , . . . , xn )
xn
z
f1 (x1 , . . . , xn )
8 / 29
x0
x1
x2
f0 (x1 , . . . , xn )
xn
z
f1 (x1 , . . . , xn )
8 / 29
,
AND
XOR
FANOUT
9 / 29
,
AND
XOR
FANOUT
9 / 29
,
AND
XOR
FANOUT
9 / 29
=
NOT
AND
=
XOR
,
NAND
FANOUT
10 / 29
=
NOT
AND
=
XOR
,
NAND
Peirce, 1881
FANOUT
Sheffer, 1913
10 / 29
s1
s2
0
1
0,0
0
0
z=0
Selection bits: s1 , s2
0,1
1,0
0
1
1
0
z=x
z=x
1,1
1
1
z=1
11 / 29
A. B
erut et al. Nature 483 (2012)
12 / 29
NOT
11
00
00
11
00
11
000000000
111111111
1010 x
00
11
111111111
000000000
001010 yx x x
11
111111111
000000000
x1
x2
y
x
yx
CNOT
1 2
TOFFOLI
Invertible functions,
F : {0, 1}n {0, 1}n
.
.
.
.
.
.
= ..
.
t1
.
.
.
t2
. . .
. . .
tr
.
.
.
. . .
13 / 29
1
0
1
1
1
0
1
0
1
1
0
14 / 29
Quantum circuits
Qubit: Smallest (non trivial) quantum system.
Hilbert space C2 with computational basis {|0i , |1i}.
Quantum circuits: Unitary operators U : H H acting on
systems composed of several qubits, H = C2 C2 .
.
.
.
.
.
.
not allowed.
15 / 29
|yi
|yi
|xi
|xi
|xi
|yi
|y xi
|xi
|xi
SWAP
CNOT
CondU
|yi
Toffoli
U x |yi
|x1 i
|x1 i
|x2 i
|x2 i
|yi
|y x1 x2 i
16 / 29
|yi
|yi
|xi
|xi
|xi
|yi
|y xi
|xi
|xi
SWAP
CNOT
CondU
|yi
Toffoli
U x |yi
|x1 i
|x1 i
|x2 i
|x2 i
|yi
|y x1 x2 i
Measurements
|xi
x
U
Measurement
Classical control
16 / 29
U = ei AXBXC, with
0 1
ABC = 1, X =
1 0
17 / 29
U = ei AXBXC, with
0 1
ABC = 1, X =
1 0
Measuring M
M = 0 P0 + 1 P1 ,
|0i
Px = |x i hx | ,
U M = P0 P1
pr(x) = | hx |i |2
|i
UM
|x i
17 / 29
Teleportation
Alice
h |i
|i
Bob
|i = a |0i + b |1i ,
|i
|i =
1 (|00i
2
+ |11i)
18 / 29
Teleportation
Alice
h |i
|i
Bob
|i
|0 i
|i = a |0i + b |1i ,
|0 i =
|i =
1 (|00i
2
+ |11i)
18 / 29
Teleportation
Alice
h |i
|i
Bob
|i
|0 i
|i = a |0i + b |1i ,
|1 i
|i =
1 (|00i
2
+ |11i)
|0 i =
|1 i =
18 / 29
Teleportation
Alice
h |i
|i
Bob
|i
|0 i
|i = a |0i + b |1i ,
|1 i
|i =
|2 i
1 (|00i
2
+ |11i)
|0 i =
|1 i =
|2 i =
1
2
1
2
18 / 29
Teleportation
Alice
h |i
|i
Bob
|i
|0 i
|i = a |0i + b |1i ,
|1 i
|i =
|2 i
1 (|00i
2
|i
+ |11i)
|0 i =
|1 i =
|2 i =
1
2
1
2
00 7 |i = a |0i + b |1i ,
10 7 |i = a |0i b |1i ,
01 7 |i = a |1i + b |0i
11 7 |i = a |1i b |0i
18 / 29
Teleportation
Deferred measurement
Alice
|i
|i
Bob
|i
|0 i
|1 i
|2 i
|0 i =
|1 i =
|2 i =
1
2
1
2
19 / 29
Teleportation
Deferred measurement
Alice
|i
|i
Bob
|i
|0 i
|1 i
|2 i
|3 i
|0 i =
|1 i =
|2 i =
1
2
1
2
|3 i =
1
2
19 / 29
Working
qubits
n
n
|U i
|i
.
.
.
.
.
.
|P (U, )i
U |i
20 / 29
Working
qubits
n
n
|U i
.
.
.
|i
.
.
.
|P (U, )i
U |i
20 / 29
Working
qubits
n
n
|U i
.
.
.
|i
.
.
.
|P (U, )i
U |i
hU |U i = hU |U i h|i = hP (U )|P (U )i h| U U |i
Already, for one working qubit we have infinitely many different unitary
operators, i.e. we need inifinitely many selection qubits.
20 / 29
|U i
x
H
y
U X x Z y |i
|i
1
U = (U I)(|00i + |11i)
2
With a probability 1/4, when x = 0 and y = 0, the output is U |i.
Reading the registers we know when we get the desired result.
For m working qubits 2m selection qubits. Linear dependence!!.
But the probability of success is 2m .
21 / 29
22 / 29
~
W
22 / 29
~
W
And using
22 / 29
Physical realization.
Trapped ions.
23 / 29
Physical realization.
Trapped ions.
~
(X cos + Y sin ) I
2
23 / 29
Physical realization.
24 / 29
Physical realization.
24 / 29
Physical realization.
ion-j
ion-k
phonon
=
H
ion-k
24 / 29
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
25 / 29
Quantum computing
26 / 29
27 / 29
Physical realizations.
G. Arom, D. Aguil`
a, P. G
amez, F. Luis, O. Roubeau, Chem. Soc. Rev. 41, (2012).
28 / 29
MUCHAS
GRACIAS
29 / 29
MUCHAS
GRACIAS
FELICES VACACIONES
29 / 29