The Hidden Subgroup Problem
Several of the most celebrated quantum speedups — Deutsch–Jozsa, Simon's algorithm, and Shor's period-finding — look quite different on the surface. The Hidden Subgroup Problem (HSP) is the single abstract framework that unifies all of them.
Groups and hiding functions
Recall from the previous lesson that a group is a set with an associative binary operation, an identity, and inverses. A subgroup is a subset closed under the same operation.
The HSP asks: given a black-box function (where is just some set of labels), find the subgroup such that is constant on every left coset of and distinct on different cosets.
More precisely:
In other words, partitions into left cosets and assigns the same output to all elements within a coset. The subgroup is "hidden" because you can only probe by evaluating it on group elements — you cannot inspect its structure directly.
The quantum strategy
The standard quantum approach to the HSP follows three steps.
Step 1 — Uniform superposition over .
Start from and apply a quantum Fourier transform (or Hadamard layer) over to prepare
Step 2 — Query the oracle.
Apply the unitary . After querying and
discarding (measuring) the second register the first register collapses to a uniform superposition
over a single (random) coset :
This coset state encodes but the specific coset representative is random and unknown.
Step 3 — Fourier sampling.
Apply the quantum Fourier transform over to the coset state and measure. The resulting
classical sample is drawn from the set of irreducible representations of that contain
in their kernel. Repeating this polynomially many times and running a classical post-processing
step recovers .
Why this matters
The power of the HSP framework is that it explains why these algorithms are fast:
| Algorithm | Group | Hidden subgroup | |---|---|---| | Deutsch–Jozsa | | or | | Simon's algorithm | | for hidden string | | Shor's order-finding | (, a power of 2) | | | Graph isomorphism (open) | (symmetric group) | stabilizer of a labeling |
The abelian cases ( abelian) are solved efficiently by the quantum Fourier transform over . The non-abelian cases — most famously the symmetric group , which would yield an efficient graph-isomorphism algorithm — remain open. The weak Fourier sampling approach that works for abelian groups provably fails to distinguish enough coset states in the non-abelian setting (Hallgren et al., 2003; Moore and Russell, 2007, cited in de Wolf).
Complexity
For the abelian HSP over a group of order , the quantum algorithm uses oracle queries and additional gates, achieving an exponential improvement over the classical lower bound. This is because classical algorithms must sample many cosets at random before two share an element, a birthday-paradox argument requiring queries.
The key insight is that quantum superposition lets the algorithm query all group elements at once in step 1, and interference (via the Fourier transform in step 3) concentrates probability on representations that carry information about .
Summary
The hidden subgroup problem asks for the subgroup of a group hidden by a function that is constant on each coset of and distinct across cosets. The quantum recipe — superpose, query, Fourier sample — solves the abelian case in polynomial time and unifies Deutsch–Jozsa, Simon, and Shor into a single framework. Whether the same approach can crack the non-abelian case is one of the central open questions in quantum algorithms.
Sign in on the full site to ask questions and join the discussion.