# Non-abelian hidden subgroup problem

The **non-abelian hidden subgroup problem** (HSP) is a problem that asks a quantum computer to find a subgroup H of a finite non-commutative group G, given black-box access to a function f that is constant and distinct on each coset (a subgroup's translate within the larger group) of H. For finite abelian groups the problem is fully solved: Kitaev's 1995 algorithm (unpublished), generalizing Shor's factoring algorithm, finds the hidden subgroup of every finite abelian group in polynomial time using O(log|G|) evaluations of f.<sup>[1](https://arxiv.org/html/2512.02087)</sup><sup> • </sup><sup>[2](https://ar5iv.labs.arxiv.org/html/quant-ph/9807029)</sup> For non-abelian groups the same promise problem is stated identically, but no efficient quantum algorithm is known for the general case.<sup>[3](https://arxiv.org/html/2608.05321)</sup>

| Key fact | Value |
|---|---|
| Abelian HSP | Polynomial time by Kitaev's algorithm (1995), O(log|G|) evaluations<sup>[1](https://arxiv.org/html/2512.02087)</sup> |
| Dihedral HSP (quantum) | \(2^{O(\sqrt{\log N})}\) time, queries and space (Kuperberg 2003)<sup>[4](https://ar5iv.labs.arxiv.org/html/quant-ph/0302112)</sup> |
| Dihedral HSP (polynomial space) | Regev's variant: \(2^{O(\sqrt{\log N} \cdot \log \log N)}\) time, poly(log N) space<sup>[5](https://www.degruyterbrill.com/document/doi/10.1515/jmc-2022-0029/html)</sup> |
| Dihedral HSP (classical) | At least \(2 \cdot N^{1/2}\) queries on average<sup>[4](https://ar5iv.labs.arxiv.org/html/quant-ph/0302112)</sup> |
| Symmetric group \(S_{n}\) | Weak and strong Fourier sampling both fail in polynomial time<sup>[1](https://arxiv.org/html/2512.02087)</sup> |
| Consequences of a poly-time solution | Graph isomorphism (via \(S_{n}\) HSP), and a dimension-dependent approximation version of unique-SVP via a coset-sampling dihedral HSP algorithm<sup>[6](https://www.cs.tau.ac.il/~amnon/Papers/HRT.stoc00.pdf)</sup><sup> • </sup><sup>[7](https://doi.org/10.5753/etc.2025.9189)</sup><sup> • </sup><sup>[12](https://arxiv.org/abs/cs/0304005)</sup> |
| Status | General non-abelian HSP and the dihedral case both remain open<sup>[8](https://doi.org/10.2197/ipsjdc.1.470)</sup><sup> • </sup><sup>[3](https://arxiv.org/html/2608.05321)</sup> |

## Non-abelian Fourier sampling and where it fails

The standard approach, Fourier sampling, replaces the character theory used in the abelian case with the irreducible representations of G. One prepares a uniform superposition over G, queries f, and measures in the Fourier basis. For a normal subgroup H of G, this works: Hallgren, Russell, and Ta-Shma showed that with m = O(log|G|) independent trials, H is uniquely determined with high probability.<sup>[6](https://www.cs.tau.ac.il/~amnon/Papers/HRT.stoc00.pdf)</sup>

The proof breaks down the moment H is not normal. If \(H_{2} = g \cdot H_{1} \cdot g^{-1}\) is a conjugate of \(H_{1}\), the two subgroups produce exactly the same distribution over representations, so weak Fourier sampling cannot distinguish them at all.<sup>[6](https://www.cs.tau.ac.il/~amnon/Papers/HRT.stoc00.pdf)</sup> This is not a technicality: for the symmetric group \(S_{n}\) the standard algorithm does not even information-theoretically distinguish a trivial hidden subgroup from a non-trivial one, because the distributions have exponentially small total variation distance.<sup>[6](https://www.cs.tau.ac.il/~amnon/Papers/HRT.stoc00.pdf)</sup> Techniques from Shor's 1994 algorithm might not work for the symmetric and dihedral cases, according to Moore et al. 2008, Grigni et al. 2001, and Gavinsky 2004.<sup>[7](https://doi.org/10.5753/etc.2025.9189)</sup>

Ettinger, Høyer, and Knill showed that for any group there exists a sequence of polynomially many queries from which, with exponentially many measurements, the hidden subgroup can be reconstructed; their dihedral algorithm used a linear number of function evaluations, the first result of its kind for a noncommutative group, but did not run in polynomial time because the postprocessing was exponential.<sup>[9](http://www.math.ucdavis.edu/%7Evazirani/Papers/hidden.subgroup.pdf)</sup><sup> • </sup><sup>[2](https://ar5iv.labs.arxiv.org/html/quant-ph/9807029)</sup> A refined version used at most 89 log(N) + 7 evaluations and output the answer with probability at least 1 − 1/(2N) for non-trivial subgroups, still with inefficient classical postprocessing.<sup>[2](https://ar5iv.labs.arxiv.org/html/quant-ph/9807029)</sup> The gap between knowing that a joint measurement exists and implementing it efficiently remains the central obstacle.<sup>[3](https://arxiv.org/html/2608.05321)</sup>

## The dihedral case and Kuperberg's sieve

The dihedral group \(D_N\) of order \(2 \cdot N\) is a well-studied instance. Ettinger, Høyer, and Knill chose it precisely because it contains an exponentially large number of different subgroups of small order, making classical guessing infeasible.<sup>[2](https://ar5iv.labs.arxiv.org/html/quant-ph/9807029)</sup> The problem reduces to finding a hidden reflection, and any classical algorithm requires at least \(2 \cdot N^{1/2}\) queries on average.<sup>[4](https://ar5iv.labs.arxiv.org/html/quant-ph/0302112)</sup>

Kuperberg's 2003 sieve closed much of the gap. The algorithm prepares quantum states in representations of D_N and proceeds by repeatedly pairing two unfavorable qubits to make a new qubit in a more favorable representation; once certain target representations are obtained, direct measurements reveal the hidden reflection.<sup>[4](https://ar5iv.labs.arxiv.org/html/quant-ph/0302112)</sup> Its time and query complexity are 2^O(√(log N)), subexponential but not polynomial, and it also requires 2^O(√(log N)) quantum space.<sup>[4](https://ar5iv.labs.arxiv.org/html/quant-ph/0302112)</sup> For N = r^n with fixed radix r, a sharper bound Õ(3^√(2 log₃ N)) holds, and the same machinery applies to the [hidden shift problem](https://www.edgepedia.org/hidden-shift-problem) for finitely generated abelian groups.<sup>[4](https://ar5iv.labs.arxiv.org/html/quant-ph/0302112)</sup>

Regev modified the sieve to a polynomial-space algorithm at the cost of a slight slowdown, with time \(2^{O(\sqrt{\log N} \cdot \log \log N)}\) and \(\mathrm{poly}(\log N)\) space according to the Journal of Mathematical Cryptology survey.<sup>[5](https://www.degruyterbrill.com/document/doi/10.1515/jmc-2022-0029/html)</sup> (The IPSJ survey likewise describes Regev's modification as a polynomial-space algorithm at the cost of a slight slowdown.<sup>[8](https://doi.org/10.2197/ipsjdc.1.470)</sup>) On the lower-bound side, no quantum algorithm can solve the underlying dihedral coset problem with high probability using only a sublinear number of black-box samples.<sup>[8](https://doi.org/10.2197/ipsjdc.1.470)</sup>

## By the numbers

| Group family | Best known quantum complexity | Classical queries needed |
|---|---|---|
| Finite abelian groups | Polynomial time (Kitaev)<sup>[1](https://arxiv.org/html/2512.02087)</sup> | — |
| Dedekind, Hamiltonian groups | Polynomial time<sup>[1](https://arxiv.org/html/2512.02087)</sup> | — |
| Semidirect products Z_n ⋊ Z₂, q-hedral groups, Z_p ⋊ Z_p | No polynomial-time quantum algorithm known<sup>[8](https://doi.org/10.2197/ipsjdc.1.470)</sup> | —<sup>[10](https://www.jstage.jst.go.jp/article/imt/1/1/1_1_178/_article)</sup> |
| Dihedral D_N | \(2^{O(\sqrt{\log N})}\) time, queries, space<sup>[4](https://ar5iv.labs.arxiv.org/html/quant-ph/0302112)</sup> | ≥ \(2 \cdot N^{1/2}\) on average<sup>[4](https://ar5iv.labs.arxiv.org/html/quant-ph/0302112)</sup> |
| Symmetric group \(S_{n}\) | No Fourier-sampling speedup<sup>[1](https://arxiv.org/html/2512.02087)</sup> | — |

The pattern is a widening gap between what polynomially many queries can in principle reveal and what any known efficient measurement can extract. For hidden subgroups of order 2 in S_n, approximately \( (k!)^{1/6} \) repetitions of Fourier sampling are needed to determine the correct non-identity element, where k is the number of transpositions.<sup>[9](http://www.math.ucdavis.edu/%7Evazirani/Papers/hidden.subgroup.pdf)</sup>

## How it compares with the abelian HSP and hidden shift

For abelian groups, Fourier sampling is complete: Kitaev's algorithm solves every finite abelian case in polynomial time, generalizing Shor's.<sup>[1](https://arxiv.org/html/2512.02087)</sup> In the non-abelian world the strongest positive results come through the hidden shift problem, which is equivalent in relevant cases to the dihedral HSP. In 2016 Rötteler exploited a solution of the hidden shift problem to solve the HSP over \(D_N\) for \(N = (q^{d+1} - 1)/(q - 1)\), using \(O(\log N)\) queries and poly\((\log N)\) quantum time, a polynomial-time algorithm for specially constructed instances of the dihedral hidden subgroup problem for an infinite family of orders.<sup>[1](https://arxiv.org/html/2512.02087)</sup><sup> • </sup><sup>[11](https://drops.dagstuhl.de/storage/00lipics/lipics-vol061-tqc2016/LIPIcs.TQC.2016.8/LIPIcs.TQC.2016.8.pdf)</sup>

Semidirect products form the other success story. Efficient quantum algorithms are known for Z_n ⋊ Z₂ with p a fixed odd prime (Friedl et al.), q-hedral groups (Moore et al.), and Z_p ⋊ Z_p (Inui and Le Gall).<sup>[8](https://doi.org/10.2197/ipsjdc.1.470)</sup> A 2026 preprint extends this: it gives polynomial-time quantum algorithms for groups A ⋊ Z_{p^k} with A abelian of bounded generator rank, and for finite quasi-Hamiltonian groups under a structured presentation, reported as the first HSP algorithm exploiting the modularity of the subgroup lattice.<sup>[3](https://arxiv.org/html/2608.05321)</sup> Ettinger, Høyer, and Vazirani's earlier work quantified non-abelianness via κ(G), the intersection of all normalizer subgroups, and gave a polynomial-time algorithm for 'almost abelian' groups where the index of κ(G) in G is small.<sup>[9](http://www.math.ucdavis.edu/%7Evazirani/Papers/hidden.subgroup.pdf)</sup>

## Why it matters: graph isomorphism and lattice cryptography

Two famous problems reduce into the non-abelian HSP. The graph isomorphism problem reduces to the HSP over symmetric groups, and an efficient solution to the \(S_{n}\) HSP would give an efficient quantum algorithm for graph isomorphism.<sup>[1](https://arxiv.org/html/2512.02087)</sup><sup> • </sup><sup>[6](https://www.cs.tau.ac.il/~amnon/Papers/HRT.stoc00.pdf)</sup> On the cryptographic side, the unique shortest vector problem on lattices reduces to the HSP over the dihedral group: Regev showed in 2002 that a polynomial-time dihedral HSP algorithm based on coset sampling would yield a polynomial-time solution to a dimension-dependent approximation version of the unique shortest vector problem and could compromise lattice-based cryptosystems such as NTRU.<sup>[1](https://arxiv.org/html/2512.02087)</sup><sup> • </sup><sup>[7](https://doi.org/10.5753/etc.2025.9189)</sup> The connection is tight: Brakerski et al. showed that the learning with errors (LWE) problem, which forms the basis for many proposed post-quantum key exchanges, is quantum polynomial-time equivalent to an extrapolated version of the dihedral coset problem (EDCP).<sup>[5](https://www.degruyterbrill.com/document/doi/10.1515/jmc-2022-0029/html)</sup> A special semidirect-product case of the HSP also connects to the code equivalence problem in code-based cryptography.<sup>[1](https://arxiv.org/html/2512.02087)</sup>

This article stops at these reductions. The design and analysis of lattice cryptosystems, and the concrete security of LWE- and NTRU-based schemes against subexponential dihedral-type methods, are separate cryptographic subjects.

## References

1. "A survey about Hidden Subgroup Problem from a mathematical and cryptographic perspective", https://arxiv.org/html/2512.02087
2. Ettinger, Høyer, Knill, "On Quantum Algorithms for Noncommutative Hidden Subgroups", https://ar5iv.labs.arxiv.org/html/quant-ph/9807029
3. "The Hidden Subgroup Problem in Semidirect Products and Quasi-Hamiltonian Groups", https://arxiv.org/html/2608.05321
4. Kuperberg, "A subexponential-time quantum algorithm for the dihedral hidden subgroup problem", https://ar5iv.labs.arxiv.org/html/quant-ph/0302112
5. "The dihedral hidden subgroup problem", Journal of Mathematical Cryptology (2023), https://www.degruyterbrill.com/document/doi/10.1515/jmc-2022-0029/html
6. Hallgren, Russell, Ta-Shma, "Normal Subgroup Reconstruction and Quantum Computation Using Group Representations" (STOC 2000), https://www.cs.tau.ac.il/~amnon/Papers/HRT.stoc00.pdf
7. "Quantum Coset Multiplication and the Hidden Subgroup Problem in Dihedral Groups Dp" (ETC 2025), https://doi.org/10.5753/etc.2025.9189
8. "Dihedral Hidden Subgroup Problem: A Survey", IPSJ Digital Courier, https://doi.org/10.2197/ipsjdc.1.470
9. Ettinger, Høyer, Vazirani / Moore, Russell, Vazirani, "Quantum Mechanical Algorithms for the Nonabelian Hidden Subgroup Problem", http://www.math.ucdavis.edu/%7Evazirani/Papers/hidden.subgroup.pdf
10. jstage.jst.go.jp, https://www.jstage.jst.go.jp/article/imt/1/1/1_1_178/_article
11. drops.dagstuhl.de, https://drops.dagstuhl.de/storage/00lipics/lipics-vol061-tqc2016/LIPIcs.TQC.2016.8/LIPIcs.TQC.2016.8.pdf
12. Quantum Computation and Lattice Problems, https://arxiv.org/abs/cs/0304005

---
*Topic: Encyclopedia › Physical world and mathematics › Physics › Quantum physics › Quantum information science › Quantum computing and algorithms › Quantum algorithms › Factoring, discrete logarithms, and hidden-subgroup algorithms › Non-abelian hidden-subgroup problem*

*Initially written Sep 17, 2026 · Reviewed: Sep 19, 2026; Sep 30, 2026 · Edited: Sep 19, 2026; Oct 11, 2026 · Last review: Sep 30, 2026*

*Copyright 2026 EdgeChat AI, a subsidiary of Biostate AI.*

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license
