← Atlas

Algorithms · Computational number theory

The unit group of a constant-degree number field

The unit group of a number field is the set of invertible algebraic integers inside it. By Dirichlet's unit theorem it is, up to a root of unity, free abelian of a rank determined by the field's real and complex embeddings, so computing it means finding a fundamental system of units.

Attested & literatureUpdated

Open on the mapView frozen graph

  • Record typeLiterature reference
  • Speedup class (secondary source)Superpolynomial
  • Primary source on the speedupNot stated by the primary source — the full text of doi:10.1145/1060590.1060660 as published on the author's page — abstract and sections 1 through 6, acknowledgments and references, all ten pages. The paper compares itself with classical work only structurally, not by cost: it observes that factoring reduces to Pell's equation, which is a special case of computing the unit group, while a reduction in the other direction is not known and appears more difficult, and that the best classical algorithm for either the unit group or the class group solves both at once. No classical running time is stated anywhere, in L-notation or otherwise, unlike the companion Pell paper which does state one. was read and makes no such claim
  • Reported costQuantum polynomial time, for a number field of constant degree. The paper states the bound as a theorem in exactly those terms and gives no exponent, and the degree appears as a restriction rather than as a parameter of the bound.
  • Papers1

A part this method uses, worked through

This page says generalizes the real-valued hidden subgroup framework — here is a concrete, runnable instance of it.

Simon's algorithm with secret 11

2 input qubits, 1 ancilla, oracle f(x) = x₀ ⊕ x₁ (satisfies f(x) = f(x ⊕ s) for the secret s = 11).

q0q1q2HHCXCXHH

Where it ends up

  • 00025%
  • 01125%
  • 10025%
  • 11125%

The two input qubits read 00 or 11, each equally likely, regardless of the ancilla: both satisfy y · s = 0 for the secret s = 11, exactly as Simon's algorithm predicts for any single run.

Open this part in Studio

Quantum vs classical

Classical baseline

Compare Computational number theory with the strongest classical method for the same instance, input budget, and output metric.

Quantum claim

This reference exposes a quantum circuit pattern; it does not imply an application-level speedup without a matched benchmark.

How to compare

Report input loading, circuit depth, repetitions, classical preprocessing, post-processing, and wall-clock time together.

References

  • Fast Quantum Algorithms for Computing the Unit Group and Class Group of a Number Field

    Sean Hallgren · 2005

    Primary source, and the source of this record's cost claim. The full text is freely available from the author's page at the Pennsylvania State University. Consult it for the two separate reasons the constant-degree restriction exists, for the well-conditioned-lattice hypothesis attached to Theorem 1, and for the sentence in section 1 that separates this result from the class group one — the algorithms use no assumptions except when computing the class group, where the GRH is needed.

Attested & literature
  • Peer-reviewed paper
Method
Curation only. The problem statement was recorded from the literature; the speedup class is checked against the record's own primary paper, which does not state it; the primary reference's title, authors and submission year were read from its arXiv abs page; the complexity claim was taken from a clause of that paper's abstract (section 3.2, Theorem 1 of doi:10.1145/1060590.1060660: "Algorithm 3.1 computes the unit group of a constant degree number field in quantum polynomial-time."; the abstract states the same scope for both results in the paper: "We give polynomial-time quantum algorithms for computing the unit group and class group when the number field has constant degree."). No circuit was constructed, simulated or run.
Result
Pass · the record's problem, speedup class and primary reference agree with the two sources named above.
Caveat
This is a literature record: nothing was constructed, compiled, simulated or run, and no unit group was computed here. The constant-degree restriction is not a convenience, it is the boundary of the result, and the paper explains why it is there: the method only appears to work for a constant number of dimensions because the rounding introduces noise not present in the integer lattice case, and the ideal-reduction machinery is itself polynomial-time only for constant degree because it computes shortest vectors of lattices whose dimension is tied to the field degree. Arbitrary degree is named as an open problem. The theorem carries a further technical hypothesis, that the lattice be well conditioned in the sense that the product of the norms of a basis matrix and its inverse is bounded, which is presented as a required condition rather than shown to hold in general. The classical access step depends on results the paper cites as unpublished at the time — a thesis result for computing reduced ideals near arbitrary points, and a then-unpublished algorithm of Schoof — so the end-to-end claim rests on documents outside this record. Unlike the class group result in the same paper, this one does not assume the generalized Riemann hypothesis, and that distinction is deliberate on the author's part. The Zoo files this entry as a superpolynomial speedup; that class is the Zoo's, because the paper states no classical running time to compare against.
Fast Quantum Algorithms for Computing the Unit Group and Class Group of a Number Field ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
Citation metadata only; source publication terms apply
unit groupnumber fielddirichlet unit theoremlattice basishidden subgroup problem

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.