Group Theory Essentials
Several of the most important quantum algorithms — Shor's factoring, Deutsch–Jozsa, Simon's algorithm — are unified by a single algebraic framework called the Hidden Subgroup Problem. Before diving into that framework you need a small vocabulary from abstract algebra. This lesson gives you exactly what you need: groups, subgroups, and cosets.
Groups
A group is a set equipped with a binary operation satisfying four axioms:
- Closure — for all , the product is also in .
- Associativity — for all .
- Identity — there exists an element such that for every .
- Inverses — for every there exists with .
The operation need not be commutative. When for all the group is called abelian (or commutative).
Familiar examples
| Group | Operation | Identity | Abelian? | |-------|-----------|----------|----------| | (integers) | addition | | yes | | | addition mod | | yes | | | bitwise XOR | | yes | | (units mod ) | multiplication mod | | yes | | (permutations of items) | composition | identity permutation | no (for ) |
The group with bitwise XOR is the domain for Simon's algorithm; the group is the domain for Shor's order-finding.
Subgroups
A subset is a subgroup of if is itself a group under the same operation. The quickest check is the subgroup criterion: a non-empty subset is a subgroup if and only if for every , the element is also in .
Example — even integers
Inside , the set of even integers is a subgroup: the sum of two even numbers is even, and the additive inverse of an even number is even.
Example — powers of a group element
Given any , the set is a subgroup called the cyclic subgroup generated by . If has order , then .
Lagrange's theorem states that for a finite group and any subgroup , This is the reason we always expect the order in Shor's algorithm to divide .
Cosets
Given a subgroup and an element , the left coset of containing is
Two left cosets are either identical or completely disjoint; together they partition into equal-sized pieces (each of size ).
Concrete example in
Let (addition mod 6) and (the even residues — a subgroup of order 3). The cosets are
There are two cosets (), they are disjoint, and their union is all of .
Why this matters for quantum computing
The Hidden Subgroup Problem (HSP) asks: given a function that is constant on cosets of some hidden subgroup and distinct on different cosets, find .
Every classical algorithm for this problem requires exponentially many queries when is large. Quantum algorithms can solve it with a polynomial number by creating a uniform superposition over a coset, measuring , and then using the quantum Fourier transform to extract the hidden subgroup from the resulting coset state.
Deutsch–Jozsa, Bernstein–Vazirani, Simon's algorithm, and Shor's algorithm are all instances of this single template applied to specific groups:
- Deutsch–Jozsa: , .
- Simon's algorithm: , for a hidden string .
- Shor's order-finding: , (multiples of the hidden order ).
The next lesson makes this connection precise.
Sign in on the full site to ask questions and join the discussion.