ArticleslgStudy

computer science

Hidden subgroup problem

Hidden subgroup problem is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hidden subgroup problem rather than just read about it. In short: The hidden subgroup problem (HSP) is a topic of research in mathematics and theoretical computer science. It is a generalization of problems including factoring, discrete logarithm, graph isomorphism, and the shortest vector problem.

Key takeaways

  • Hidden subgroup problem belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hidden subgroup problem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hidden subgroup problem from memory before moving on to harder problems.

Reference excerpt

The hidden subgroup problem (HSP) is a topic of research in mathematics and theoretical computer science. It is a generalization of problems including factoring, discrete logarithm, graph isomorphism, and the shortest vector problem. This makes it especially important in the theory of quantum computing because Shor's algorithms for factoring and finding discrete logarithms in quantum computing are instances of the hidden subgroup problem for finite abelian groups, while the other problems correspond to finite groups that are not abelian.

Problem statement Given a group G, a subgroup H≤G, and a set X, we say a function f:G→X hides the subgroup H if for all g1,g2∈G,f(g1)=f(g2) if and only if g1H=g2H. Equivalently, f is constant on each coset of H, while it is different between the different cosets of H. Hidden subgroup problem: Let G be a group, X a finite set, and f:G→X a function that hides a subgroup H≤G. The function f is given via an oracle, which uses O(log⁡|G|+log⁡|X|) bits. Using information gained from evaluations of f via its oracle, determine a generating set for H. A special case is when X is a group and f is a group homomorphism in which case H corresponds to the kernel of f.

Motivation The hidden subgroup problem is especially important in the theory of quantum computing for the following reasons.

Shor's algorithm for factoring and for finding discrete logarithms (as well as several of its extensions) relies on the ability of quantum computers to solve the HSP for finite abelian groups. The existence of efficient quantum algorithms for HSPs for certain non-abelian groups would imply efficient quantum algorithms for two major problems: the graph isomorphism problem and certain shortest vector problems (SVPs) in lattices. More precisely, an efficient quantum algorithm for the HSP for the symmetric group would give a quantum algorithm for the graph isomorphism. An efficient quantum algorithm for the HSP for the dihedral group would give a quantum algorithm for the poly⁡(n) unique SVP.

Quantum algorithms There is an efficient quantum algorithm for solving HSP over finite abelian groups in time polynomial in log⁡|G|. For arbitrary groups, it is known that the hidden subgroup problem is solvable using a polynomial number of evaluations of the oracle. However, the circuits that implement this may be exponential in log⁡|G|, making the algorithm not efficient overall; efficient algorithms must be polynomial in the number of oracle evaluations and running time. The existence of such an algorithm for arbitrary groups is open. Quantum polynomial time algorithms exist for certain subclasses of groups, such as semi-direct products of some abelian groups.

Algorithm for abelian groups The algorithm for abelian groups uses representations, i.e. homomorphisms from G to GLk(ℂ), the general linear group over the complex numbers. A representation is irreducible if it cannot be expressed as the direct product of two or more representations of G. For an abelian group, all the irreducible representations are the characters, which are the representations of dimension one; there are no irreducible representations of larger dimension for abelian groups.

Defining the quantum fourier transform The quantum fourier transform can be defined in terms of ZN, the additive cyclic group of order N. Introducing the characterχj(k)=ωNjk=e2πijkN,the quantum fourier transform has the definition ofFN|j⟩=1N∑k=0N−1χj(k)|k⟩.Furthermore, we define |χj⟩=FN|j⟩. Any finite abelian group can be written as the direct product of multiple cyclic groups ZN1×ZN2×…×ZNm. On a quantum computer, this is represented as the tensor product of multiple registers of dimensions N1,N2,…,Nm respectively, and the overall quantum fourier transform is FN1⊗FN2⊗…⊗FNm.

Procedure The set of characters of G forms a group G^ called the dual group of G. We also have a subgroup H⊥≤G^ of size |G|/|H| defined byH⊥={χg:χg(h)=1 for all h∈H}For each iteration of the algorithm, the quantum circuit outputs an element g∈G corresponding to a character χg∈H⊥, and since χg(h)=1 for all h∈H, it helps to pin down what H is. The algorithm is as follows:

Start with the state |0⟩|0⟩, where the left register's basis states are each element of G, and the right register's basis states are each element of X. Create a superposition among the basis states of G in the left register, leaving the state 1|G|∑g∈G|g⟩|0⟩. Query the function f. The state afterwards is 1|G|∑g∈G|g⟩|f(g)⟩. Measure the output register. This gives some f(s) for some s∈G, and collapses the state to 1|H|∑h∈H|s+h⟩|f(s)⟩ because f has the same value for each element of the coset s+H. We discard the output register to get 1|H|∑h∈H|s+h⟩. Perform the quantum fourier transform, getting the state 1|H|∑h∈H|χs+h⟩. This state is equal to |H||G|∑χg∈H⊥χg(s)|g⟩, which can be measured to learn information about H. Repeat until H (or a generating set for H) is determined. The state in step 5 is equal to the state in step 6 because of the following:1|H|∑h∈H|χs+h⟩=1|H||G|∑h∈H∑g∈Gχs+h(g)|g⟩=1|H||G|∑g∈Gχs(g)∑h∈Hχh(g)|g⟩=1|H||G|∑g∈Gχg(s)(∑h∈Hχg(h))|g⟩=|H||G|∑χg∈H⊥χg(s)|g⟩For the last equality, we use the following identity:

Each measurement of the final state will result in some information gained about H since we know that χg(h)=1 for all h∈H. H, or a generating set for H, will be found after a polynomial number of measurements. The size of a generating set will be logarithmically small compared to the size of G. Let T denote a generating set for H, meaning ⟨T⟩=H. The size of the subgroup generated by T will at least be doubled when a new element t∉T is added to it, because H and t+H are disjoint and because H∪t+H⊆⟨{t}∪T⟩. Therefore, the size of a generating set |T| satisfies|T|≤log⁡|H|≤log⁡|G|Thus a generating set for H will be able to be obtained in polynomial time even if G is exponential in size.

Instances Many algorithms where quantum speedups occur in quantum computing are instances of the hidden subgroup problem. The following list outlines important instances of the HSP, and whether or not they are solvable.

See also Hidden shift problem Pontryagin duality

References

External links Richard Jozsa: Quantum factoring, discrete logarithms and the hidden subgroup problem Chris Lomont: The Hidden Subgroup Problem - Review and Open Problems Hidden subgroup problem on arxiv.org Complete implementation of Shor's algorithm for finding discrete logarithms with Classiq

Worked examples

Example 1 — a first encounter with Hidden subgroup problem

Start with the simplest possible case. Write down what Hidden subgroup problem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hidden subgroup problem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hidden subgroup problem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hidden subgroup problem

In research
Hidden subgroup problem appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hidden subgroup problem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hidden subgroup problem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Group theory, Quantum algorithms, Quantum computing, so understanding it makes those chapters shorter.
In everyday life
Look for Hidden subgroup problem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hidden subgroup problem” →

How to study Hidden subgroup problem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hidden subgroup problem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hidden subgroup problem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hidden subgroup problem in simple terms?

The hidden subgroup problem (HSP) is a topic of research in mathematics and theoretical computer science. It is a generalization of problems including factoring, discrete logarithm, graph isomorphism, and the shortest vector problem.

Why does Hidden subgroup problem matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hidden subgroup problem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hidden subgroup problem.

Tags

  • Group theory
  • Quantum algorithms
  • Quantum computing
  • Theoretical computer science

Keep exploring