Fast quantum algorithms for computing the unit group and class group of a number field | Synapse