Papers
Topics
Authors
Recent
Search
2000 character limit reached

Hidden Shift Problem in Quantum Computing

Updated 7 July 2026
  • Hidden shift problem is a translation-recovery challenge where one determines an unknown shift using oracle functions related by group translations.
  • It spans discrete, continuous, and nonabelian regimes—with efficient quantum algorithms like Simon’s for (Z/2)^n and subexponential alternatives for cyclic groups.
  • Cryptographic schemes leverage hidden shift structures by replacing XOR with alternative group laws to thwart quantum attacks and secure symmetric constructions.

The hidden shift problem asks one to recover an unknown shift ss from oracle access to two functions related by translation, typically in the form g(x)=f(x+s)g(x)=f(x+s) on a group GG. In its standard discrete form, GG is usually finite and abelian, but the problem also appears over nonabelian groups, continuous domains such as Rn\mathbb{R}^n, and in oracle models tailored to cryptography and quantum query complexity. Its importance in quantum computing comes from two complementary facts: over G=(Z/2)nG=(\mathbb{Z}/2)^n, Simon’s algorithm solves the problem efficiently, whereas over groups such as Z/2n\mathbb{Z}/2^n and many nonabelian families no comparable efficient quantum algorithm is known; and, at the same time, hidden-shift structure underlies both positive algorithmic results and quantum attacks on symmetric-key constructions (Alagic et al., 2016, Bae et al., 2019).

1. Formal definitions and principal variants

Let GG be a finite group with operation \star and identity ee, and let g(x)=f(x+s)g(x)=f(x+s)0 be an arbitrary set. For g(x)=f(x+s)g(x)=f(x+s)1, the left-translation g(x)=f(x+s)g(x)=f(x+s)2 maps g(x)=f(x+s)g(x)=f(x+s)3. In the search hidden shift problem g(x)=f(x+s)g(x)=f(x+s)4, one is given oracle access to functions g(x)=f(x+s)g(x)=f(x+s)5 with the promise that there exists g(x)=f(x+s)g(x)=f(x+s)6 such that g(x)=f(x+s)g(x)=f(x+s)7 for all g(x)=f(x+s)g(x)=f(x+s)8, and the task is to output g(x)=f(x+s)g(x)=f(x+s)9. In additive notation on abelian groups, this becomes GG0. Typical instantiations include GG1, where the operation is bitwise XOR, and GG2, where the operation is modular addition (Alagic et al., 2016).

Two standard average-case formulations are the Random Hidden Shift problem GG3, in which GG4 is uniform over all functions and GG5 is uniform in GG6, and the Decisional Random Hidden Shift problem GG7, in which one must distinguish the case where GG8 and GG9 are independent uniform random functions from the case where GG0 for some unknown GG1 (Alagic et al., 2016). For GG2, the usual formulation specifies completeness and soundness errors; for search versions, completeness can be measured either relative to a fixed GG3 or averaged over random GG4 (Alagic et al., 2016).

A prominent specialization is the Boolean hidden shift problem. Here GG5 is known, oracle access is given to GG6, and the task is to determine the GG7-bit string GG8. In phase form, with GG9, the Walsh–Hadamard transform and autocorrelation of Rn\mathbb{R}^n0 govern the quantum query complexity (Childs et al., 2013). The non-injective version drops injectivity of Rn\mathbb{R}^n1 and Rn\mathbb{R}^n2; a simple “injectivization” construction replaces Rn\mathbb{R}^n3 by Rn\mathbb{R}^n4, preserving the shift while often restoring injectivity (Gharibi, 2012).

The continuous hidden shift problem extends the same pattern to Rn\mathbb{R}^n5. In the version defined with continuous oracle functions Rn\mathbb{R}^n6, one seeks Rn\mathbb{R}^n7 such that Rn\mathbb{R}^n8, under explicit Lipschitz and decay conditions on the oracle states and with an approximation guarantee Rn\mathbb{R}^n9 (Bae et al., 2019).

2. Structural relations to hidden subgroup, decision, and injectivity

Hidden shift is closely related to the hidden subgroup problem, but the two problems are not identical. Hidden subgroup asks to recover G=(Z/2)nG=(\mathbb{Z}/2)^n0 from a function that is constant on right cosets; hidden shift asks to recover G=(Z/2)nG=(\mathbb{Z}/2)^n1 from two functions related by left-translation. There are general reductions from hidden shift on G=(Z/2)nG=(\mathbb{Z}/2)^n2 to hidden subgroup on the wreath product G=(Z/2)nG=(\mathbb{Z}/2)^n3, but these typically complicate the group to a nonabelian semidirect product. In the special case G=(Z/2)nG=(\mathbb{Z}/2)^n4, the reduction is especially clean and explains the efficiency of Simon’s algorithm on XOR groups (Alagic et al., 2016).

The relation between search and decision depends on the group family. For G=(Z/2)nG=(\mathbb{Z}/2)^n5 and G=(Z/2)nG=(\mathbb{Z}/2)^n6, there is a search-to-decision reduction based on efficient subgroup towers. Concretely, if there exists a QPT algorithm for G=(Z/2)nG=(\mathbb{Z}/2)^n7 with at most inverse-polynomial completeness and soundness errors, then there exists a QPT algorithm for G=(Z/2)nG=(\mathbb{Z}/2)^n8 with negligible completeness error (Alagic et al., 2016). The proof uses subgroup chains such as G=(Z/2)nG=(\mathbb{Z}/2)^n9 and Z/2n\mathbb{Z}/2^n0, together with recursive coset detection (Alagic et al., 2016).

Injectivity is a technical fault line. In the injective hidden shift problem, function values identify inputs up to the shift structure; in the non-injective case, collisions obscure translation. The injectivization tool replaces Z/2n\mathbb{Z}/2^n1 by Z/2n\mathbb{Z}/2^n2. If Z/2n\mathbb{Z}/2^n3 and Z/2n\mathbb{Z}/2^n4 satisfy Z/2n\mathbb{Z}/2^n5, then Z/2n\mathbb{Z}/2^n6 as well. For random Z/2n\mathbb{Z}/2^n7, the probability that Z/2n\mathbb{Z}/2^n8 is not injective is bounded by

Z/2n\mathbb{Z}/2^n9

where GG0 and GG1 (Gharibi, 2012). This generalized influence notion extends Boolean influence to arbitrary finite codomains and arbitrary groups (Gharibi, 2012).

For GG2, once injectivization succeeds, the instance reduces directly to Simon’s problem by combining GG3 and GG4 into a two-branch oracle whose period is exactly the hidden shift (Gharibi, 2012). A plausible implication is that injectivization isolates the algorithmic difficulty of non-injective hidden shift into a preprocessing step, after which standard injective techniques apply.

3. Boolean, bent, and Fourier-analytic regimes

The Boolean hidden shift problem exhibits a sharp dependence on the Fourier structure of the reference function. If GG5 and

GG6

then bent functions are exactly those with flat Walsh spectrum, GG7 for all GG8. In this case, an exact one-query quantum algorithm exists if and only if the function is bent (Childs et al., 2013). The same bent condition can be expressed through autocorrelation: the hidden-shift states are pairwise orthogonal precisely when the autocorrelation vanishes off zero (Childs et al., 2013).

At the opposite extreme, delta functions are hard. Their hidden-shift states are nearly parallel, and the resulting bounded-error quantum query complexity is GG9, matching unstructured search (Childs et al., 2013). Between these extremes, the pretty good measurement yields a refined picture. For random Boolean functions, one query achieves only constant success probability, but two queries suffice with high probability: the paper proves

\star0

for uniformly random \star1 (Childs et al., 2013).

A complementary formulation ties complexity to influence. For \star2, define

\star3

and \star4. There exists a quantum algorithm that solves BHSP over \star5 in expected \star6 oracle queries (Gavinsky et al., 2011). For uniformly random \star7, \star8 is constant with overwhelming probability, so the problem is solvable in \star9 queries and polynomial time on average, while any classical algorithm requires ee0 queries (Gavinsky et al., 2011).

The bent-function paradigm extends beyond Boolean codomains. For complex scalar- and vector-valued functions on finite abelian groups, with oracle access to the shifted function ee1 and to the Fourier transform ee2 of the unshifted function, there are constant-query quantum algorithms. For bent functions they succeed with probability ee3, while for general ee4-bounded functions the success probability is

ee5

and more general subset-postselected variants give explicit formulas involving tail terms (Adonsou et al., 25 Jul 2025). The requirement of oracle access to ee6 is a major modeling assumption in that line of work (Adonsou et al., 25 Jul 2025).

4. Group-dependent algorithms beyond XOR

The computational status of hidden shift changes radically with the ambient group. Over ee7, Simon’s algorithm solves ee8 in polynomial time, using ee9 queries, and this is precisely the regime exploited in Simon-type cryptanalytic attacks (Alagic et al., 2016). Over cyclic groups such as g(x)=f(x+s)g(x)=f(x+s)00, the best known algorithm is subexponential: Kuperberg’s algorithm runs in time g(x)=f(x+s)g(x)=f(x+s)01 when g(x)=f(x+s)g(x)=f(x+s)02 (Alagic et al., 2016).

For the cyclic hidden shift problem, equivalently the dihedral hidden subgroup problem, Kuperberg’s later collimation sieve gives quantum time g(x)=f(x+s)g(x)=f(x+s)03, classical space g(x)=f(x+s)g(x)=f(x+s)04, and quantum space g(x)=f(x+s)g(x)=f(x+s)05 (Kuperberg, 2011). The algorithm works with “phase vectors” of height g(x)=f(x+s)g(x)=f(x+s)06, repeatedly collimates modulo powers of two, and extracts parity bits of the hidden shift at the अंतिम stage; it also supports multiple hidden shifts and QRACM-based time–space tradeoffs (Kuperberg, 2011). Subsequent low-qubit refinements replace brute-force combination by subset-sum algorithms, yielding tradeoffs such as

g(x)=f(x+s)g(x)=f(x+s)07

or

g(x)=f(x+s)g(x)=f(x+s)08

while keeping quantum memory polynomial (Bonnetain, 2019).

For product groups of g(x)=f(x+s)g(x)=f(x+s)09-power modulus, a different phenomenon appears. There is a quantum algorithm for hidden shift in g(x)=f(x+s)g(x)=f(x+s)10 with running time polynomial in g(x)=f(x+s)g(x)=f(x+s)11 for constant g(x)=f(x+s)g(x)=f(x+s)12, quadratic classical space, and linear quantum space in g(x)=f(x+s)g(x)=f(x+s)13. The explicit complexity bound is

g(x)=f(x+s)g(x)=f(x+s)14

time, with quantum space g(x)=f(x+s)g(x)=f(x+s)15 and classical space g(x)=f(x+s)g(x)=f(x+s)16 (Csáji, 2021). The method repeatedly combines phase qubits so that the frequency vectors become divisible by increasing powers of g(x)=f(x+s)g(x)=f(x+s)17, then solves linear equations for g(x)=f(x+s)g(x)=f(x+s)18, and finally lifts through subgroups isomorphic to g(x)=f(x+s)g(x)=f(x+s)19 (Csáji, 2021).

A recent extension treats the abelian hidden shift problem on g(x)=f(x+s)g(x)=f(x+s)20 when g(x)=f(x+s)g(x)=f(x+s)21 is visible by a generator matrix. Under the assumption g(x)=f(x+s)g(x)=f(x+s)22, there is a quantum algorithm with time complexity g(x)=f(x+s)g(x)=f(x+s)23, quantum space complexity g(x)=f(x+s)g(x)=f(x+s)24, classical space complexity g(x)=f(x+s)g(x)=f(x+s)25, and hiding-function query cost either polynomial or as high as g(x)=f(x+s)g(x)=f(x+s)26 (Kuperberg, 24 Jul 2025). The core device is a multidimensional collimation sieve on the Pontryagin dual g(x)=f(x+s)g(x)=f(x+s)27, generalizing Kuperberg, Regev, and Peikert from cyclic groups to higher-rank abelian quotients (Kuperberg, 24 Jul 2025).

5. Cryptographic role and hidden-shift hardness assumptions

Hidden shift has direct cryptographic significance because it abstracts the algebraic core of several quantum chosen-plaintext attacks. Kaplan–Kuwakado–Morii and related work show that many classical symmetric-key schemes implement an internal XOR-based hidden shift that can be exposed by superposition queries. In the Even–Mansour cipher,

g(x)=f(x+s)g(x)=f(x+s)28

Simon’s algorithm recovers g(x)=f(x+s)g(x)=f(x+s)29, and one classical query then yields g(x)=f(x+s)g(x)=f(x+s)30. For Encrypted CBC-MAC, certain two-block messages give an oracle satisfying Simon’s promise with hidden shift g(x)=f(x+s)g(x)=f(x+s)31, enabling exponential collision finding. Three-round Feistel networks and slide attacks admit analogous XOR-shift formulations (Alagic et al., 2016).

The central defensive idea is to replace XOR by the group law of a group for which no efficient Simon-type algorithm is known. The paper studies adaptations over groups such as g(x)=f(x+s)g(x)=f(x+s)32 and g(x)=f(x+s)g(x)=f(x+s)33, and treats the hardness of random hidden shift over such group families as a cryptographic assumption. This assumption is supported by three structural properties: random self-reducibility, hardness amplification, and, for g(x)=f(x+s)g(x)=f(x+s)34 and g(x)=f(x+s)g(x)=f(x+s)35, a reduction from search to decision (Alagic et al., 2016).

Under this assumption, hidden-shift versions of standard symmetric constructions inherit qCPA security. For Even–Mansour over a general group g(x)=f(x+s)g(x)=f(x+s)36,

g(x)=f(x+s)g(x)=f(x+s)37

and for g(x)=f(x+s)g(x)=f(x+s)38 this becomes g(x)=f(x+s)g(x)=f(x+s)39. The main theorem states that, under the g(x)=f(x+s)g(x)=f(x+s)40-Hidden Shift assumption for g(x)=f(x+s)g(x)=f(x+s)41 or g(x)=f(x+s)g(x)=f(x+s)42, Hidden Shift Even–Mansour is a quantum-secure pseudorandom function (Alagic et al., 2016). A parallel theorem shows that Hidden Shift Encrypted CBC-MAC over the same families is collision-resistant against QPT adversaries with qCPA access (Alagic et al., 2016).

These results do not claim that hidden shift is uniformly hard across all groups. Rather, they isolate a specific algebraic vulnerability: changing from g(x)=f(x+s)g(x)=f(x+s)43 to g(x)=f(x+s)g(x)=f(x+s)44 or g(x)=f(x+s)g(x)=f(x+s)45 frustrates the direct Simon’s-algorithm attack pipeline while preserving the classical structure of the original schemes (Alagic et al., 2016).

6. Extensions, lower bounds, simulation results, and open directions

The hidden shift framework extends beyond the standard two-function discrete setting. On g(x)=f(x+s)g(x)=f(x+s)46, the continuous hidden shift problem is solved by discretizing to g(x)=f(x+s)g(x)=f(x+s)47, applying a QFT over g(x)=f(x+s)g(x)=f(x+s)48, and post-processing with g(x)=f(x+s)g(x)=f(x+s)49-random linear disequations. For fixed g(x)=f(x+s)g(x)=f(x+s)50 and tolerance parameter g(x)=f(x+s)g(x)=f(x+s)51, the decision version g(x)=f(x+s)g(x)=f(x+s)52-g(x)=f(x+s)g(x)=f(x+s)53 is solvable in time polynomial in g(x)=f(x+s)g(x)=f(x+s)54, and the main theorem gives a polynomial-time quantum algorithm returning a g(x)=f(x+s)g(x)=f(x+s)55-approximation g(x)=f(x+s)g(x)=f(x+s)56 under explicit conditions on g(x)=f(x+s)g(x)=f(x+s)57, g(x)=f(x+s)g(x)=f(x+s)58, and g(x)=f(x+s)g(x)=f(x+s)59 (Bae et al., 2019).

Tripartite analogues show that not every hidden-shift-like problem inherits the low query complexity of Simon’s problem. The 3-shift-sum problem asks whether a g(x)=f(x+s)g(x)=f(x+s)60 table can be circularly shifted so that the sum in each column is zero; the 3-matching-sum problem allows arbitrary permutations in each row. Their quantum query complexities satisfy

g(x)=f(x+s)g(x)=f(x+s)61

for g(x)=f(x+s)g(x)=f(x+s)62, and the second lower bound is tight (Belovs et al., 2017). This establishes that tripartite alignment constraints fundamentally increase quantum query complexity relative to ordinary hidden shift (Belovs et al., 2017).

Implementation-level results reveal another limit to naive “quantum advantage” narratives. Circuits implementing Roetteler’s shifted bent-function algorithm had been used as benchmarks because they have deterministic output and tunable non-Clifford resources, and were not known to lie in any efficiently simulable class. A polynomial-time classical simulation is nevertheless possible via symbolic path integrals endowed with a confluent rewriting system; for the shifted bent-function family this reduces the path integral directly to the hidden shift (Amy et al., 2024). This does not refute the underlying query separation, but it shows that specific circuit families can be classically tractable even when the abstract hidden shift problem is quantumly favorable (Amy et al., 2024).

Several limitations remain explicit in the literature. Search-to-decision is proved for g(x)=f(x+s)g(x)=f(x+s)63 and g(x)=f(x+s)g(x)=f(x+s)64, but for general g(x)=f(x+s)g(x)=f(x+s)65 with prime g(x)=f(x+s)g(x)=f(x+s)66 it is unknown (Alagic et al., 2016). Kuperberg-type procedures remain only subexponential, so cyclic hidden shift over g(x)=f(x+s)g(x)=f(x+s)67 is a theoretical vulnerability rather than a polynomial-time break (Alagic et al., 2016). Continuous algorithms require Lipschitz and decay assumptions on oracle states (Bae et al., 2019). Complex-function algorithms rely on an oracle for g(x)=f(x+s)g(x)=f(x+s)68 (Adonsou et al., 25 Jul 2025). Infinite-group algorithms assume a visible subgroup g(x)=f(x+s)g(x)=f(x+s)69 and achieve only stretched exponential time (Kuperberg, 24 Jul 2025).

Taken together, these results portray the hidden shift problem not as a single problem with a single complexity classification, but as a family of translation-recovery tasks whose difficulty is controlled by group structure, injectivity, spectral flatness, oracle access, and promise conditions. That variability is precisely why hidden shift occupies a central position between Fourier-sampling algorithms, query-complexity lower bounds, and post-quantum cryptographic design.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Hidden Shift Problem.