Algorithms.CL.CL

Stage 1 (quantum): Approximate regulator to nearest integer

approximateRegulatorCircuit

tryApproximateRegulator

verifyPeriodMultiple

approximateRegulator

Stage 2 (classical): Compute the regulator more accurately.

improveAccuracy

Stage 3 (classical): Find generators of the class group.

computeGenerators

Stage 4 (quantum): Find relations between generators.

hI

computeGHat

compute_i_N_at

registerSizes

structureCircuit

computeRelations

Section 5 (classical): compute class number.

classNumber