Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
The Hidden Subgroup Problem
πΈππππ‘βπππππ πππ πβπππππππ’
The Hidden Subgroup Problem
Problem of great importance in Quantum Computation
β’
β’
Most Q.A. that run exponentially faster than their classical
counterparts fall into the framework of HSP
Simonβs Algorithm , Shorβs Algorithm for factoring , Shorβs discrete
logarithm algorithm equivalent to HSP
Quantum Fourier Transform
Discrete Fourier Transform , maps the sequence of complex numbers π₯0 , π₯1 , β¦ , π₯πβ1
onto an N periodic sequence of complex numbers π0 , π1 , β¦ , ππβ1
πβ1
ππ =
π₯π β
π=0
2ππ€
β
π π β
ππ
πβ1
π₯π β
πβππ
=
π=0
Quantum Fourier Transform
Discrete Fourier Transform , maps the sequence of complex numbers π₯0 , π₯1 , β¦ , π₯πβ1
onto an N periodic sequence of complex numbers π0 , π1 , β¦ , ππβ1
πβ1
ππ =
π₯π β
2ππ€
β
π π β
ππ
πβ1
π₯π β
πβππ
=
π=0
π=0
Quantum Fourier Transform , acts on a quantum state
it in the quantum state
|π =
πβ1
π=0 π₯π β
πβ1
1
βπ π=0
πβ1
π=0 π₯π
β
|π and transforms
|π
|π β
2ππ€
β
π π β
ππ
πβ1
|π β
πβππ
=
π=0
Quantum Fourier Transform
QFT as a unitary matrix:
πΉπ =
1
πβ1 πβ1
βπ π=0 β=0
2ππ€
β
π π β
πβ |β
Can implemented in a quantum circuit as a set
of Hadamard and phase shift gates.
π(π+1)
2
gates
π|
Quantum Fourier Transform
QFT as a unitary matrix:
πΉπ =
1
πβ1 πβ1
βπ π=0 β=0
2ππ€
β
π π β
πβ |β
Can implemented in a quantum circuit as a set
of Hadamard and phase shift gates.
π(π+1)
2
gates
Example 3 qubit QFT:
π|
Shorβs Algorithm
Purpose: Factor an Integer π0
Shorβs Algorithm
Purpose: Factor an Integer π0 (e.g.
π0 = 21)
1. Choose a random integer a (e.g. π = 11)
2. Define a function π π₯ = π π₯ ππππ’ππ π0 : 1,11,16,8,4,2,1,11,16
Shorβs Algorithm
Purpose: Factor an Integer π0 (e.g.
π0 = 21)
1. Choose a random integer a (e.g. π = 11)
2. Define a function π π₯ = π π₯ ππππ’ππ π0 : 1,11,16,8,4,2,1,11,16
Can be implemented by the Quantum Circuit:
Shorβs Algorithm
1. |π0 =|0
βπ
|0
βπ
Shorβs Algorithm
1. |π0 =|0
βπ
|0
βπ
2. |π1 = π»
βπ
|0
βπ
|0
βπ
=
1
βπ
π₯β2π
|π₯ |0
βπ
Shorβs Algorithm
1. |π0 =|0
2. |π1 = π»
3. |π2 =
βπ
βπ
|0
|0
1
ππ
βπ
βπ
βπ
|0
π₯β2π |π₯
βπ
|0
=
1
βπ
βπ
=
π₯β2π
1
βπ
|π₯ |0
π₯β2π |π₯
βπ
|π(π₯)
Shorβs Algorithm
1. |π0 =|0
2. |π1 = π»
3. |π2 =
4. |π3 =
βπ
βπ
|0
|0
βπ
βπ
|0
1
ππ
π |π₯
π₯β2
βπ
1
πβ1
|π₯0 +
π=0
βπ
βπ
|0
=
1
βπ
βπ
=
π₯β2π
1
βπ
|π₯ |0
π₯β2π |π₯
βπ
|π(π₯)
π β
π |π(π₯0 )
First register collapses into a superposition of the preimages of π(π₯)
Shorβs Algorithm
4. |π3 =
1
βπ
πβ1
π=0 |π₯0
+πβ
π
Restrict the study in the domain ππ β€ π with N a multiple of the period π = π β
π
5. |π4 =
1
πππΉπ
βπ
πβ1
π=0 |π₯0
+πβ
π
Shorβs Algorithm
4. |π3 =
1
βπ
πβ1
π=0 |π₯0
+πβ
π
Restrict the study in the domain ππ β€ π with N a multiple of the period π = π β
π
5. |π4 =
1
πππΉπ
βπ
πβ1
π=0 |π₯0
+πβ
π
πΉπ =
1
πβ1 πβ1
βπ π=0
π=0
2ππ€
β π β
ππ
π
|π π|
Shorβs Algorithm
4. |π3 =
1
βπ
πβ1
π=0 |π₯0
+πβ
π
Restrict the study in the domain ππ β€ π with N a multiple of the period π = π β
π
5. |π4 =
1
πππΉπ
βπ
|ππ =
1
πβ1
π=0 |π₯0
πβ1
βπ π:ππ’ππ‘ππππ ππ π
+πβ
π
πΉπ =
2ππ€
β π β
π₯0 π
π
|π
1
πβ1 πβ1
βπ π=0
π=0
2ππ€
β π β
ππ
π
|π π|
Shorβs Algorithm
|ππ =
1
πβ1
βπ π:ππ’ππ‘ππππ ππ π
2ππ€
β π β
π₯0 π
π
|π
Perform measurement: get a j (and thus a multiple of m)
After k trials obtain k number multiples of m.
Shorβs Algorithm
|ππ =
1
πβ1
βπ π:ππ’ππ‘ππππ ππ π
2ππ€
β π β
π₯0 π
π
|π
Perform measurement: get a j (and thus a multiple of m)
After k trials obtain k number multiples of m.
π
π = πΊπΆπ·(π1 , π2 , β¦ , ππ ) . It is π = . Period is found !
π
π0 = 1 β ππ = 1 β ππ/2 + 1 ππ/2 β 1 = 0
πππ(π0 )
Shorβs Algorithm
|ππ =
1
πβ1
βπ π:ππ’ππ‘ππππ ππ π
2ππ€
β π β
π₯0 π
π
|π
Perform measurement: get a j (and thus a multiple of m)
After k trials obtain k number multiples of m.
π
π = πΊπΆπ·(π1 , π2 , β¦ , ππ ) . It is π = . Period is found !
π
π0 = 1 β ππ = 1 β ππ/2 + 1 ππ/2 β 1 = 0
πππ(π0 )
One of the factors may has a common factor with π0
Elements of Group Theory
Group G: set of elements {g} , equipped with an internal composition law
Elements of Group Theory
Group G: set of elements {g} , equipped with an internal composition law
βπ, π β πΊ β π β π = π β πΊ
πβπ βπ =πβ πβπ
Identity element e: π β π = π β π = π
Inverse element βπ β πΊ β πβ1 : πβ1 β π = π β πβ1 = π
Elements of Group Theory
Group G: set of elements {g} , equipped with an internal composition law
βπ, π β πΊ β π β π = π β πΊ
πβπ βπ =πβ πβπ
Identity element e: π β π = π β π = π
Inverse element βπ β πΊ β πβ1 : πβ1 β π = π β πβ1 = π
If π β π = π β π : Abelian Group
Subgroup: a non empty set which is a group on its own, under the same composition law
Elements of Group Theory
Group G: set of elements {g} , equipped with an internal composition law
βπ, π β πΊ β π β π = π β πΊ
πβπ βπ =πβ πβπ
Identity element e: π β π = π β π = π
Inverse element βπ β πΊ β πβ1 : πβ1 β π = π β πβ1 = π
If π β π = π β π : Abelian Group
Subgroup: a non empty set which is a group on its own, under the same composition law
Cosets: H a subgroup of G. Choose an element g. The (left) coset of H in terms of g is
ππ» = πβ | β β π»
Two cosets of H can either totally match or be totally different
The Hidden Abelian Subgroup Problem
Let G be a group , H a subgroup and X a set.
Let π1 π» = π2 π» . A function π π separates the cosets of H iff π π1 = π π2 .
The function π separates the cosets.
The Hidden Abelian Subgroup Problem
Let G be a group , H a subgroup and X a set.
Let π1 π» = π2 π» . A function π π separates the cosets of H iff π π1 = π π2 .
The function π separates the cosets.
HSP: determine the subgroup H using information gained by the evaluation of π.
Assume that elements of G are encoded to basis states of a Quantum Computer.
Assume that exists a βblack boxβ that performs ππ
The Hidden Abelian Subgroup Problem
The Simplest Example
Let πΊ = ππ , + e.g. π3 = 0,1,2
π: πΊ β π separates cosets
π» = π and π» = π
The Hidden Abelian Subgroup Problem
The Simplest Example
Let πΊ = ππ , + e.g. π3 = 0,1,2
π: πΊ β π separates cosets
π» = π and π» = π
We donβt know M, d, H but we know G and we have a
βmachineβ performing the function f
The Hidden Abelian Subgroup Problem
The Simplest Example
Map: πΊ: |0 , |1 , |2 , β¦ , |π β 1
π»: |0 , |π , |2π , β¦ , | π β 1 π
Quantum circuit:
The Hidden Abelian Subgroup Problem
1. |π0 =|0 |0
The Hidden Abelian Subgroup Problem
1. |π0
=|0 |0
2. |π1 = UQFT |0 |0 =
1
βπ
πβ1
|π |0
π=0
The Hidden Abelian Subgroup Problem
1. |π0
=|0 |0
2. |π1 = UQFT |0 |0 =
1
βπ
πβ1
|π |0
π=0
3. |π2 = ππ
1
βπ
πβ1
|π |0 =
π=0
1
βπ
πβ1
|π |π(π)
π=0
Measure the second register. The function acquires a certain value π(π0 ). The first register has to
collapse to those j that belong to the coset of H. Entanglement : computational speed up.
The Hidden Abelian Subgroup Problem
|π3 =
1
βπ
|π0 + β |π(π0 ) =
ββπ»
|π4 =
1
π
βπ π=0
1
βπ
2ππ€π0
π π β
π‘π
πβ1
|π0 + π π |π(π0 )
π =0
|π‘π
The Hidden Abelian Subgroup Problem
|π3 =
1
βπ
|π0 + β |π(π0 ) =
ββπ»
|π4 =
1
π
βπ π=0
1
βπ
2ππ€π0
π π β
π‘π
πβ1
|π0 + π π |π(π0 )
π =0
|π‘π
A measurement will yield a value for M. Repeat and use Euclidean algorithm for the GCD to find
M. Since π = π β
π the generating set can be determined and thus H.
The Hidden Abelian Subgroup Problem
|π3 =
1
βπ
|π0 + β |π(π0 ) =
ββπ»
|π4 =
1
π
βπ π=0
1
βπ
2ππ€π0
π π β
π‘π
πβ1
|π0 + π π |π(π0 )
π =0
|π‘π
A measurement will yield a value for M. Repeat and use Euclidean algorithm for the GCD to find
M. Since π = π β
π the generating set can be determined and thus H.
References
Chris Lomont: http://arxiv.org/pdf/quant-ph/0411037v1.pdf
Frederic Wang http://arxiv.org/ftp/arxiv/papers/1008/1008.0010.pdf
http://en.wikipedia.org/wiki/Quantum_Fourier_transform