|q⟩ Bad Qubits

intermediate · Programming · The Hidden Subgroup Problem (Intro)

Abelian vs Non-Abelian HSP

The Hidden Subgroup Problem (HSP) is the single framework that unifies Simon's algorithm, Shor's factoring algorithm, and the discrete logarithm algorithm. All of those algorithms exploit the same structural idea: use quantum Fourier sampling to distinguish a hidden subgroup HH of a group GG from the whole group. Whether a quantum computer can solve a given HSP instance efficiently depends critically on one property of the group: whether it is abelian (commutative) or non-abelian (non-commutative).

Recall: what is the HSP?

Given a group GG and a function f:GSf : G \to S that is constant and distinct on left cosets of some hidden subgroup HGH \leq G, the goal is to identify HH. In equations:

f(g)=f(g)    gH=gH.f(g) = f(g') \iff gH = g'H.

The quantum strategy is always the same three-step template:

  1. Prepare a uniform superposition over all group elements: 1GgGg0\frac{1}{\sqrt{|G|}} \sum_{g \in G} |g\rangle|0\rangle.
  2. Compute ff in superposition: 1GgGgf(g)\frac{1}{\sqrt{|G|}} \sum_{g \in G} |g\rangle|f(g)\rangle.
  3. Measure the second register, collapsing the first into a uniform superposition over one coset of HH, then apply a Fourier transform on GG and sample.

The difficulty lies entirely in step 3: extracting information about HH from the coset state.

The abelian case: fully solved

When GG is abelian — meaning gg=ggg \cdot g' = g' \cdot g for all g,gGg, g' \in G — the quantum Fourier transform over GG has a beautiful property: its output distribution concentrates on the dual subgroup HH^{\perp}, the set of characters χ\chi of GG that are trivial on HH. Measuring the Fourier register yields a uniformly random element of HH^{\perp}, and after O(logG)O(\log |G|) samples the subgroup HH can be reconstructed classically with high probability.

For any finite abelian group GG the abelian HSP has an efficient quantum algorithm running in poly(logG)\text{poly}(\log |G|) time. This is one of the landmark results of quantum complexity theory.

The non-abelian case: mostly open

When the group GG is non-abelian, left cosets and right cosets of HH need not coincide, and the Fourier transform on GG becomes a transform over non-commutative representations. The standard coset sampling strategy yields the weak Fourier sampling distribution, which is known to be information-theoretically insufficient to identify HH for many non-abelian groups.

The canonical hard case is the symmetric group SnS_n. The Graph Isomorphism problem (GI) reduces to the HSP over SnS_n via the hidden subgroup being the automorphism group of one of two graphs. Despite sustained effort, no polynomial-time quantum algorithm is known for the SnS_n-HSP, and information-theoretic lower bounds show that weak Fourier sampling alone cannot solve it. Strong Fourier sampling — measuring in a basis adapted to the irreducible representations of GG — might in principle carry more information, but implementing it efficiently remains an open research problem.

The table below summarises the landscape:

| Group GG | HSP instance | Status | |---|---|---| | Z2n\mathbb{Z}_2^n | Simon's problem | Efficient quantum algorithm (Simon 1994) | | ZN\mathbb{Z}_N | Shor's factoring / discrete log | Efficient quantum algorithm (Shor 1994) | | Any finite abelian group | General abelian HSP | Efficient quantum algorithm (Kitaev 1995) | | SnS_n (symmetric group) | Graph Isomorphism | Open — weak Fourier sampling insufficient | | Dihedral group DND_N | Unique Shortest Vector (lattice) | exp(O(n))\exp(O(\sqrt{n})) quantum, open for poly |

Why commutativity matters so deeply

In the abelian case the characters of GG — the one-dimensional unitary representations χ:GC×\chi : G \to \mathbb{C}^{\times} — form a group that is isomorphic to GG itself. This lets the quantum Fourier transform diagonalise every element of GG simultaneously, and coset states become eigenstates of the Fourier transform in a very clean sense.

In the non-abelian case irreducible representations are multi-dimensional. A coset state gH|gH\rangle does not project neatly onto a single representation; information about HH is spread across the full matrix of the representation, not just its eigenvalue. Recovering that information requires tomography on a high-dimensional object — and doing so in polynomial time is believed to be hard.

Implications for quantum advantage

The abelian HSP boundary is the precise frontier where we know quantum computers have a super-polynomial advantage over classical ones (under standard complexity assumptions). It encompasses the problems that motivated much of early quantum computing research.

The non-abelian HSP, by contrast, represents a zone where quantum algorithms might still outperform classical ones, but where the evidence is far thinner. Graph Isomorphism is not known to be NP-hard, so even a classical polynomial-time algorithm remains possible. The separation between abelian and non-abelian difficulty is therefore both a mathematical fact about group theory and a practical guide for researchers seeking new quantum speedups: look for structure that maps onto an abelian group, or develop genuinely new ideas beyond Fourier sampling for the non-abelian regime.

Sign in on the full site to ask questions and join the discussion.