This section deals with the abelian HSP and is mostly based on [Dam2001]. We just give the big picture of the general method and show how it generalizes the three previous examples. A more detailed presentation is given in [Lom2004].
In the previous chapter, we have seen three efficient quantum algorithms that fit into the framework of the hidden subgroup problem. Actually, these problems are also sharing the same kind of algorithm. First, they are all based on a particular case of HSP where the group is abelian. As it is well-known, such a group is isomorphic to a product of cyclic groups and this is clearly the case in the three previous algorithms. We can then describe the quantum circuit in a general way:
The first register is composed of a product of states of qubits and we apply to this register the operation i.e. the Fourier transform to the i-th state (note that for Simon's problem, ). First, let's consider the effect of on any element :
Where we have introduced the characters . Note that is a group homomorphism i.e. . We also have and so . Hence we can define the group . By Theorem 3.10 of [Lom2004], is isomorphic to and moreover .
As we have already seen many times, the state after the gate is the following superposition:
Measuring the second register gives a value and leaves the first register in the state
Then we apply the Fourier transform . Using the expression of formula 4.1 and the properties of the characters, we get
If we measure the first register, the probability to get an element of is:
Moreover, the previous calculation shows that each element of has the same probability to be measured. Hence, measuring the first register yields a uniformly random element of . Repeating the previous circuit about times gives with high probability a set of generators of . We have iff for all , . If we denote the lower common multiple of the 's and , iff . We can put this system in Smith normal form (i.e. write as a diagonal system) in time polynomial of . Then get linear congruences i.e. of the form . The method to enumerate the list of solution to a linear congruence is well-known. We randomly pick one solution to each linear congruence to get a uniformly random element of . Repeating this about times gives with high probability a set of generators of .
As previously stated, we also need an efficient quantum circuit to compute the Fourier transform . Note that such a circuit is known for and an approximate one (i.e. measuring the result gives a probability distribution very close to the exact version) for other 's. See for instance [Lom2004]. This allows to have an approximate implementation of that does not change too much the measurement of the circuit of figure 4.1.
As a consequence, we have an efficient solution to the abelian HSP if we know a decomposition of . Otherwise, we can get it if we are working in the black-box model with unique encoding. We describe the idea of [CheMos2001], without trying to optimize the computation. We choose randomly elements of , so that they generate the group with high probability. Then we define by . Each term is computed using sums (by a double-and-add algorithm), so has a polynomial complexity. is abelian and we know its decomposition so we can apply the HSP algorithm to find a set of generators for the hidden subgroup . Alternatively, these generators can be obtained using the algorithm of [BucNei1996]. It can be shown that from this set of generators we can find (classically) in a set of generators of that satisfies:
Using the isomorphism , we get where . We define an abelian HSP by and (again, has a complexity). As in Shor's algorithm, the hidden subgroup is where is the order of . Finally, we get .
In order to generalize the previous algorithm to any finite group, we need a way to define Fourier Transform. First, we give a brief overview of representation theory of groups, based on [Ser1971].
(representation)
A representation of a group is a group homomorphism where is the group of automorphisms over a finite dimensional vector space . The dimension of the representation is the dimension of . A subspace is invariant iff . If the only invariant subspaces are and , we say that is irreducible. Two representations and of are equivalent or isomorphic iff there is an isomorphism such that for any . Given a representation , we define the character by .
In [Ser1971], it is shown that any finite group has only a finite number of irreducible pairwise non-isomorphic representations. More precisely, if we denote a complete set of such representations and and the associated vector space and dimension (for any ), we have the following equality from 2.4 Décomposition de la représentation régulière - Corollaire 2:
In particular for , because , we have:
For each , we can choose a basis of and then is represented by a matrix of size . Again, in view of formula 4.8, we can group all the coefficients in a square matrix of dimension . To make this matrix unitary, we add the requirement that each is unitary. We will see that it is always possible to choose the basis such that this requirement is satisfied. Once such a basis is chosen and when no confusion is possible, we will also denote the matrix representation of in this basis.
(general Fourier Transform)
Let be a group and a complete set of pairwise non-isomorphic representations of size . For any , we fix a basis of such that for each we have a unitary matrix representation of . Then the Fourier Transform over in the given basis is defined as a linear operation over a Hilbert space of dimension. More precisely, if we denote the canonical basis either by group elements () or by representations/coordinates (), we have:
or, if and , by the images of basis vectors:
(Fourier Transform is unitary)
is a unitary transform i.e. the columns of form an orthonormal family.
proof: We have .
So the hermitian product of two such columns and is exactly:
and we conclude with formula 4.7.
(representations are unitarizable)
For each , there is a basis of such that every is unitary.
proof: Let be an arbitrary basis of . We have the canonical hermitian product given by . We define which is still a inner product because is an automorphism. Using Gram-Schmidt process, we construct a new basis orthonormal for in which we express . On the one hand, we have by construction = and in particular . On the other hand, and hence . Finally we have:
Let's see how the previous definition generalizes the abelian case:
(Abelian Fourier Transform)
Suppose is abelian and define for all the 1-dimensional (i.e. ) representation by where is the character defined in the previous chapter. The representations are clearly unitary. Note that so the definition of the character is consistent with what we have seen earlier. Suppose that two representations and are isomorphic. This means that there is a such that for all . With the notation of previous chapter, we have
For going from 1 to , we evaluate the equality at we get and finally . So is a set of pairwise non-isomorphic 1-dimensional representations. It is complete since it satisfies the equality of formula 4.8. Using the identification , and we recover the definition of the abelian Fourier Transform.
(irreducible representations of non-abelian groups)
In 3.1 Sous-groupes commutatifs - Théorème 9 of [Ser1971], it is shown that is abelian iff all its irreducible representations are 1-dimensional. So in the nonabelian case, we will always have to deal with at least one representation of dimension greater than 1.
The proposition 4.4 above shows that there is at least one basis of . Actually, we obtain all of them by unitary change of basis:
Let be an irreducible representation of and let denote an unitary matrix representation. Then the possible unitary matrix representations of all other isomorphic representations are given by for any unitary matrix .
proof: First, it is clear that given a unitary matrix, then is still unitary and is the matrix representation of obtained using as a change-of-basis matrix. Conversely, suppose is isomorphic to and let denote an unitary matrix representation. Then there is an invertible matrix (the matrix representation of an isomorphism between in their respective basis) such that . This gives:
and finally for any . Since is irreducible, the Schur's lemma (see Le lemme de Schur ; premières applications - Proposition 4 of [Ser1971]) implies that for some . More precisely, . We conclude the proof by taking .
In this section, we have defined an operation for any given group. We know that it is unitary so a valid quantum. However, if we want to to use it in a HSP algorithm, we need to implement it efficiently i.e. using elementary gates. As mentioned above, there is an approximate efficient implementation of for cyclic group. By taking the tensor product of such operations, we get an approximate efficient implementation for any abelian group . Other efficient implementations are known for various groups, see [Lom2004] for an overview. The exact description of the quantum gate depends on the design used for the implementation. Nevertheless, we will suppose in what follows that the gate implementing works on qubits. The input and output are encoded by the integers . The possible remaining basis states are not touched by the gate.
For the generalized version of the Fourier Sampling circuit, we replace the first Fourier Transform by a gate that computes a superposition from the state. There is no canonical implementation for but if the elements of are encoded by the integer (as we have assumed in previous section) we can use the following circuit:
We use a hadamard gate to create a superposition over and a function to select the values less than : if and otherwise (It can be implemented efficiently, just by comparing the binary decomposition of and ). We succeed to create the superposition if the result of the measurement is 1. We have , so this happens with probability .
The remaining of the circuit is similar to what we have previously seen, with the use of a general Fourier Transform gate :
After applying the gate we have the superposition
We then measure the second register and get . We obtain a superposition on a coset :
Creating this superposition is the starting point for all HSP algorithms currently known. Hence we define:
(coset sampling, the "standard method", coset state)
Coset sampling also known as the "standard method" for HSP consists in creating many states given by formula 4.16, where is chosen uniformly at random. These states are called coset states.
For Fourier Sampling, the next step is to apply the Fourier Transform . This gives the state
where we have introduced . Finally, we perform a measurement on the first register.
(Fourier Sampling Algorithm)
The Fourier Sampling algorithm for the HSP consists in running the circuit of figure 4.3 several times and trying to deduce information on the hidden subgroup . We distinguish two forms of Fourier Sampling:
What is the distribution probability? First the conditional probability given is . Hence for the Weak Fourier Sampling, we have and using and the fact that is unitary:
It was proven in [GriSchVaz2000] that is times a projection matrix . Moreover, is hermitian:
Hence and formula 4.18 can be rewritten:
In particular, this probability does not depend on the choice of the basis of !
For the Strong Fourier Sampling, we first note that the -dimensional vectors for are orthogonal of norm :
where the last line is 2.2 Le lemme de Schur ; premières applications - Corollaire 3 of [Ser1971]. We use this fact to simplify the expression of as described in [GriSchVaz2000]. Because has been chosen uniformly it is the mean of over the elements of the group :
and we finally obtain an expression which is totally independent of :
This means that measuring the row provides no information and the Strong Fourier Sampling can be reduced to observing . Note that summing over all the , we recover formula 4.18.
(measurement of )
As in the abelian case, the measurement of is only used to produce a superposition over one coset. As noted in [GriSchVaz2000], we may discard information by not using this value later. For example, just counting the number of distinct values after many samplings gives an indication on so on the size of the hidden subgroup . In particular, it is easy to determine whether is a proper subgroup of (i.e. the ratio above is at least 2) by repeating several measurements until we find two distinct values or get times the same value. In the former case we know with certainty that is a proper subgroup of and in the latter case we know that with probability at least . For completeness, we give the distribution probability. If is a complete set of coset representatives, and finally
It seems difficult to construct an algorithm from these values since we do not know the corresponding to the measured value .
As said in remark 4.6, all the irreducible representations are 1-dimensional in the abelian case. Consequently, the Strong Fourier Sampling is the same as the Weak Fourier Sampling: we only take into account the irreducible representations measured. More precisely, we measure random elements in . Then we solve the systems of equations to get elements in . Said otherwise, we are looking to random elements in . In the next section, we will see that more generally, considering the intersection of irreducible representations measured gives information on and allows to solve the HSP in some particular cases.
In this section, we see how the Weak Fourier Sampling can be used to extend the abelian HSP. The idea is to measure irreducible representations and to consider the intersection . Let's consider first what is happening in an example:
(Fourier Sampling on the dihedral group )
The dihedral group is the group of isometries of the plane generated by the reflection about the x-axis and the rotation of 90°. It is composed of 4 rotations and 4 reflections (for ). It satisfies . A set of complete irreducible representations is given by the table of figure 4.4 (adapted from 5.3 Le groupe diédral of [Ser1971]):
| 1 | 1 | ||
| 1 | -1 | ||
We are considering two hidden subgroups and . Using formula 4.20 and formula 4.23, it is easy to get:
| 0 | 0 | |||
| 0 | 0 | |||
| 0 | ||||
and the probability distribution observed by a Strong Fourier Sampling is:
| 0 | 0 | |||||
| 0 | 0 |
Suppose we repeat enough time the Weak Fourier Sampling. For , we will measure the representations . The intersection of their kernels is . For , we will measure the representations . The intersection of their kernels is .
Consequently, the direct application of the abelian method does not always work. Note that is normal (it is the of center ) but is not (for example ). In general, so by formula 4.20, the Weak Fourier Sampling can not distinguish with one of its conjugate . However, we can still hope that it will work for a normal subgroup . This is what Hallgren, Russel and Ta-Shma proved in [HalRusTa-2000]:
(Normal Hidden Subgroup)
Let be samples of Weak Fourier Sampling for a normal hidden subgroup . We have
As a consequence, we can use this to solve the Dedekindian Hidden Subgroup Problem i.e. over groups that have only normal subgroups. Of course, this includes the Abelian HSP that we have previously studied. The non-abelian Dedekind groups are called Hamiltonian and they are of the form where is an abelian group with all elements of odd order. The appendix B.2 of [HalRusTa-2000] gives a precise algorithm for the Hamiltonian HSP: an efficient implementation of the Weak Fourier Sampling over and a way to pick random solutions to the system in order to get a set of generators for .
By calling several times the Weak Fourier Sampling (possibly over subgroups of ), the Dedekindian HSP can be generalized. However the possibility to compute the Fourier Transform, to solve systems and to do the same for any of its subgroup involved in the algorithm, depends on the underlying group . First, as noted in [GriSchVaz2000], running this algorithm for any (not necessarily normal) gives with high probability the highest subgroup of which is normal in . We can also solve the case where "almost all" subgroups of are normal i.e. the intersection of normalizers is big enough or, equivalently, that is small. For example for an abelian group and . In [GriSchVaz2000], Grigni et al. presented an efficient HSP algorithm when . They give an application to the semi-direct product . Gavinsky [Gav2004] strengthened their result to . Actually, he proved that we can even just assume so that the algorithm still works when is large.
Note that if the group is given as a black-box group without necessarily unique encoding, there is an alternative way to find the normal subgroup as described in [IvaMagSan2001]. The algorithm does not require the assumptions on Fourier Transform and systems above. Its complexity is given by the input size + a number that we will define later. We will come back to this method in the last part of this report.