Algorithms.CL.CL

Stage 1 (quantum): Approximate regulator to low precision

approximate_regulator_circuit

try_approximate_regulator

verify_period_multiple

approximate_regulator

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

improve_regulator_accuracy

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

compute_generators

Stage 4 (quantum): Find relations between generators.

hI

compute_ghat

compute_i_N_at

register_sizes

structure_circuit

compute_relations

Section 5 (classical): compute class number.

class_number