Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Hidden subgroup problem

The recovery of a subgroup from a function constant on its cosets and distinct on different cosets.

Edition released Coverage: Overview · Technical
On this page

Definition, purpose and input assumptions

The hidden subgroup problem organizes many quantum algorithms around group structure. A function f on a finite group G hides H when it is constant on each coset of H and distinguishes different cosets. The exact left-versus-right coset convention matters for noncommutative groups. Abelian cases support a powerful Fourier-sampling approach, while general non-Abelian cases are substantially harder.

Mathematical mechanism

For an Abelian group, querying f on a uniform superposition and observing the function register leaves a uniform coset state. Fourier transformation produces characters trivial on H. Repeated samples constrain the hidden subgroup. Simon's XOR-period problem and cyclic period finding are important special cases, but not every hidden subgroup instance is solved efficiently by the same simple measurement.

Fully solved reference example

Take G=Z8 and H={0,4}. A coset state can be (|1>+|5>)/sqrt(2). Under the positive-exponent F8 transform, the amplitude at y is exp(2pi i y/8)[1+exp(pi i y)]/4. It vanishes for odd y and has magnitude 1/2 for even y. Therefore outputs 0,2,4,6 occur equally.

These even characters satisfy exp(2pi i y h/8)=1 for h=4. Their support identifies the annihilator subgroup, from which H is recovered. The coset offset1 changes phases but not this support condition.

Limitations and classical comparison

Efficient group arithmetic, state preparation and Fourier transforms are assumptions that must be justified. Non-Abelian Fourier data can require joint measurements or more complicated analysis. The framework is not a blanket algorithm for graph isomorphism or lattice problems.

Scientific relationships

The hidden subgroup problem generalizes the hidden XOR period in Simon's algorithm and modular order finding. It uses quantum Fourier transforms and provides the structural setting for discrete-logarithm algorithms.

Fourier sampling on a product group

Let G=Z12×Z6 and let H be generated by (4,2). Its three elements are (0,0),(4,2),(8,4). A coset with offset (1,1) is therefore {(1,1),(5,3),(9,5)}. The normalized coset state is the equal superposition over these three labels. Use the positive-exponent Fourier transform F12⊗F6, whose character at label (u,v) evaluates (x,y) as exp[2πi(ux/12+vy/6)].

The transformed amplitude equals exp[2πi(u/12+v/6)] times the sum over j=0,1,2 of exp[2πij(u+v)/3], divided by √216. The geometric sum is three when u+v is divisible by three and zero otherwise. Hence there are twenty-four allowed Fourier labels, each with probability 1/24. Their amplitudes have magnitude 1/√24; the coset offset changes only their phases.

This is a complete nonbinary product-group example. The constraint u+v≡0 modulo three describes the annihilator H-perpendicular, the set of characters trivial on H. It is not a list of the subgroup elements themselves. Recovering H requires a second classical algebraic step that turns sampled character constraints back into constraints on the original group coordinates.

Reconstructing the subgroup from three character constraints

Suppose the sampled character labels include (3,0), (1,2), and (0,3). Each satisfies u+v divisible by three, so each is compatible with the hidden subgroup. The first character requires 3x/12=x/4 to be an integer, forcing x to be 0,4,8 modulo twelve. The second requires x/12+y/3 to be an integer, equivalently x+4y≡0 modulo twelve. The third requires y/2 to be an integer, forcing y to be even modulo six.

Combining the first two constraints alone leaves six possible group elements: for x=0, y can be 0 or 3; for x=4, y can be 2 or 5; for x=8, y can be 1 or 4. The final parity condition removes (0,3),(4,5),(8,1), leaving exactly H. Thus an allowed sample can add a genuinely new constraint even after earlier samples have reduced the candidate set substantially. Repeated or algebraically dependent samples need not do so.

The probability of obtaining those exact three labels in that exact order is (1/24)^3, but that is not the success probability of subgroup recovery. Many other sets of samples generate the same annihilator. An algorithm collects enough independent information under a justified stopping criterion, rather than waiting for one preselected favorable sequence. The example solves the reconstruction conditional on the displayed samples and does not assign an unsupported number of samples to every group.

Measuring or discarding the function register

Querying a function that is constant and distinct on the cosets creates entanglement between each coset state and its function value. Measuring the function register selects one coset. Discarding it instead produces a uniform mixture of the twenty-four orthogonal coset states. In the Fourier basis this mixture is uniform on the twenty-four-dimensional annihilator subspace. Both procedures therefore give the same Fourier-label probabilities on the group register.

The absence of a recorded function outcome does not imply that the group register is still a pure uniform superposition over all seventy-two elements. That would Fourier-transform to only the trivial character. The entanglement or measurement removes coherence between different cosets while preserving coherence within each one, and that structure is exactly what produces the annihilator distribution.

If the function assigns the same value to several different cosets, the distinctness part of the hiding promise fails. A constant function is an extreme example: it provides no information selecting this particular H, and the uniform input produces only the trivial Fourier label. Knowing merely that f is invariant under H is insufficient to identify H uniquely. The full promise specifies that H captures precisely the equivalence classes encoded by f.

Representation and algorithmic boundaries

A register for Z12 and one for Z6 can be embedded in four and three qubits, but their valid dimensions are twelve and six. Preparing a uniform state over all sixteen and eight binary labels would introduce invalid labels and change the problem. Likewise, F16⊗F8 is not the same transform as F12⊗F6. A real implementation must synthesize the appropriate group-state preparation and Fourier operations, or use an explicitly analyzed approximation and arithmetic representation.

For larger Abelian groups, efficient group operations and an accessible decomposition into cyclic factors support Fourier methods. The product-group calculation does not imply that every non-Abelian group admits the same simple character-sampling solution. There, irreducible representations and measurement structure require additional analysis. A classical alternative can enumerate the function table and its equality classes for this seventy-two-element example; the instance illustrates algebra, not a practical speed advantage.

Sources

  • Peter W. Shor · · Research paper · Publication status unspecified · arXiv · DOI 10.1137/S0097539795293172
    Verification scope

    Selected source text checked ·

    Polynomial-time ideal-circuit result; new small numerical instances are original illustrations.

  • Daniel R. Simon · · Research paper · Publication status unspecified · epubs.siam.org · DOI 10.1137/S0097539796298637
    Verification scope

    Selected source text checked ·

    Full text indexed, 10 pages, 461 lines. Publisher full text retrieved; oracle promise and classical/quantum access comparison inspected. Journal page states received February 7, 1996 and accepted December 2, 1996; these are not publication dates.

    Access and topic assumptions inspected; no exhaustive theorem-by-theorem external review, quantum hardware execution, or empirical advantage claim. Original definitions and finite examples are not reproduced source passages.