Fiber of a function Created 2026-10-06 Updated 2026-10-14
For a function and , its fiber of a function over is the set of all inputs producing that one output:
Here is shorthand for a preimage of a singleton set, rather than a claim that an inverse function exists. A fiber can contain several inputs or be empty. It describes exactly which distinctions the function forgets.
For the finite function under image and preimage of a function, the fibers over are , , and the empty set, respectively. The nonempty fibers form a partition of a set: they are disjoint sets whose union is the domain of a function. Every input belongs to the fiber over its unique output, and two fibers with distinct output labels cannot share an input. A function is injective exactly when every fiber has at most one member; it is surjective exactly when every member of its specified codomain has a nonempty fiber.
Figure 1.
A preimage collects complete fibers: the outputs select the fibers and
. Details.
More generally, is the union of the fibers over all . The relation defined by is an equivalence relation, and its equivalence classes are precisely the nonempty fibers. The resulting quotient set is naturally in bijection with the image of a function. This links an input partition to the output values actually reached, without choosing one representative from each class.
Fibers are useful when an output is known but the input is not uniquely determined. A solution set is one fiber, and factorization through a surjection explains when another function depends only on the retained output. Quantum hidden subgroup problem algorithms use functions whose fibers are cosets, giving the same idea a structured form in group theory.
First require . A discrete logarithm to a generator of a group of exists only for nonzero ; the printed membership inadvertently also permits zero, for which is undefined. Zero can be rejected before any quantum circuit.
Put and write . Since is a generator of a group of order , the map is a bijection from to the multiplicative group of a finite field. Hence every nonzero has a unique with . Equality of powers of is equality of their exponents modulo , giving
The fiber over is an affine coset of the subgroup , and contains exactly pairs. This identifies the hidden subgroup problem underlying discrete-logarithm Fourier sampling; knowing numerically is not needed to construct the coset state.
The hidden subgroup problem is to recover a subgroup , usually by giving generators of a group, from an oracle machine providing with the promise
Thus is constant on each left coset and distinguishes different left cosets. The input includes an effective representation of elements of the group and access to the group operations; the desired efficiency is measured against the number of bits describing an element, rather than necessarily against .
The hidden subgroup problem supplies an oracle promised to satisfy
for an unknown subgroup ; the task is to determine .
For a function with least period dividing , use the additive group and hidden subgroup
Its cosets are the residue classes modulo . Periodicity makes constant on each coset, while injectivity within a period makes values on distinct cosets different. Determining , or its least positive generator , is exactly quantum period finding.
Regard bit strings as the elementary abelian group under bitwise exclusive or. The promise says
Thus is constant exactly on the cosets of and distinct between them. Determining the hidden subgroup determines its nonzero element , so this is Simon's problem as an instance of the hidden subgroup problem.
In the hidden subgroup problem, an oracle gives a function that is constant on every left coset of an unknown subgroup and takes distinct values on distinct cosets. The task is to determine .
The hidden subgroup problem for a group is specified by an oracle that hides an unknown subgroup : it is constant on each left coset of and takes distinct values on distinct cosets. The task is to determine , usually by finding a generating set for it.
Put . For ,
Thus is constant on every left coset of and takes different values on different cosets. Its oracle is therefore an oracle for the hidden subgroup problem, and the hidden subgroup is precisely the stabilizer subgroup .
Simon's problem Created 2026-09-28 Updated 2026-10-14
Simon's problem asks for the hidden string promised by exactly when . It is the hidden subgroup problem on with hidden subgroup .