Stage 1 (quantum): Approximate regulator to nearest integer
Stage 2 (classical): Compute the regulator more accurately.
Stage 3 (classical): Find generators of the class group.
Stage 4 (quantum): Find relations between generators.
Section 5 (classical): compute class number.