QC-W1 Slayt
QC-W1 Slayt
Computing Lect #1
DENİZ TÜRKPENÇE
[email protected]
1
Problem complexity classification Optimization problems:
Classic : 0 or 1
Quantum : 0 or 1 or both !
Quantum Computation - Deniz Türkpençe 3
Quantum Computation - Deniz Türkpençe 4
Quantum Computation - Deniz Türkpençe 5
Quantum Computation
ELK336E –
Week #1
2 Midterms, Final
Evaluation : 0.3*Midterm1+ 0.3*Midterm2+ 0.4*Final
Linear algebra is the study of vector spaces and of ȁ∗ۧ : Ket (Dirac notation)
linear operators on the vector spaces.
0
The vector space of interest is the ℂ𝑛 𝑛- dimensional 𝟎𝑛 = ⋮ , Zero vector
Complex vector space with 𝕫1 , 𝕫2 , . . 𝕫𝑛 complex 0
scalar numbers.
𝕫1
ℂ 𝑛 → ⋮ ≡ ȁ𝛼 ۧ (1)
𝕫𝑛
ȁ 𝛾 ۧ = ȁ𝛼 ۧ + ȁ𝛽 ۧ
𝛾1 𝛼1 𝛽1 𝛼1 + 𝛽1
⋮ = ⋮ + ⋮ = ⋮ (2)
𝛾𝑛 𝛼𝑛 𝛽𝑛 𝛼𝑛 + 𝛽𝑛
ȁ𝛽ۧ = 𝐴መ ȁ𝛼 ۧ. (4)
satisfies.
𝛼ۦȁ: Bra
So : 𝛼 𝛽 : Bra(c)ket
𝛼1
ȁ𝛼 ۧ = ⋮ , 𝛼ۦȁ = 𝛼1 ∗ … 𝛼𝑛 ∗ 1×𝑛
𝛼𝑛 𝑛×1
𝑇 ∗
𝛼ۦȁ ≡ ȁ 𝛼 ۧ , 𝑇: Transpose, *: Complex conjugate
𝛽1
𝛼 𝛽 = 𝛼1 ∗ … 𝛼𝑛 ∗ ⋮ = σ𝑛𝑖=1 𝛼𝑖 ∗ 𝛽𝑖 (7)
𝛽𝑛
𝛼 𝛽 = 𝛼ۦȁ σ𝑖 𝑎𝑖 ȁ𝛽𝑖 ۧ
= σ𝑖 𝑎𝑖 𝛼 𝛽𝑖 (8)
Positivity :
𝛼𝛼 ≥0 (9)
Skew symmetry :
∗
𝛼𝛽 = 𝛽𝛼 (10)
ȁ𝛼 ۧ = 𝛼𝛼 = 𝛼1 2 + ⋯ 𝛼𝑛 2 (11)
Solution :
ȁ𝑎 ۧ = 𝑎𝑎
−2
𝑎 𝑎 = −2, −4𝑖, 1 4𝑖 = (−2)2 + 4𝑖 2 +12 = 21
1
ȁ𝑎ۧ = 21
Likewise,
−2
21 1
ȁ𝑎 ۧ 4𝑖 2
ȁ𝑎′ ۧ = = .
ȁ𝑎 ۧ 21 ȁ𝑏 ′ ۧ = 0 .
1 𝑖
21 2
𝛼 𝛽 = 0. (13)
A set of vectors ห𝛼1 ۧ, … , ȁ𝛼𝑛 ۧ is said to be orthonormal if each vector is a unit vector and the
inner product of the distinct vectors in the set are
𝛼𝑖 𝛼𝑗 = 𝛿𝑖𝑗 . (14)
1 0 0
= 𝑎1 0 + 𝑎2 1 + 𝑎3 0
0 0 1
= σ𝑛𝑖=1 𝑎𝑖 ȁ𝛼𝑖 ۧ
0
𝛼1 𝛼2 = 1 0 0 1 =0
0
Likewise,
𝛼1 𝛼3 = 𝛼2 𝛼3 = 0
σ𝑛𝑗=1 𝑎𝑗 𝛼𝑖 𝛼𝑗 = 𝑎𝑗
𝛿𝑖𝑗
ȁ0ۧ = 1 0
and ȁ1ۧ = .
0 1
1 1
2 2
When we normalize them we obtain 1 and 1 .
−
2 2
1 1
ȁ+ۧ = ห0ۧ + ȁ1ۧ , ȁ−ۧ = ห0ۧ − ȁ1ۧ .
2 2
2 2
Here, 𝑐0 and 𝑐1 are complex coefficients and they obey 𝑐0 + 𝑐1 =1
according the normalization condition.
They (square modulus of the coefficients) represent the probabilities being their
respective states.
2
𝑝0 = 0 𝜓
𝑝1 = 1 𝜓 2
1−𝑖 1 1−𝑖
0𝜓 = 00+ 01 =
3 3 3
2
2
𝑝0 = 0 𝜓 =
3
1
1𝜓 =
3
2
1
𝑝1 = 1 𝜓 =
3