Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Could a quantum computer factor N=p×qN=p\times qN=p×q using Hadamard transforms on x2 mod Nx^2\bmod Nx2modN (instead of Fourier transforms on ax mod Na^x\bmod NaxmodN)?

Theoretical computer scienceMathematical physics

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

In Classically verifiable quantum advantage from a computational Bell test, Kahanamoku-Meyer, Choi, Vazirani, and Yao propose using x2 mod Nx^2 \bmod Nx2modN in an interactive proof-of-quantumness. This is a two-to-one function when NNN is a semi-prime.

Of note, Kahanamoku-Meyer et al. emphasize that it is much easier to calculate the Hadamard transform of x2 mod Nx^2\bmod Nx2modN than it would be to calculate the Fourier transform of ax mod Na^x\bmod NaxmodN, as in Shor’s algorithm. Indeed, they appear (somewhat) optimistic that x2 mod Nx^2\bmod Nx2modN can be calculated in superposition for a NISQ-era device.

In detail:

A classical verifier picks two secret large prime numbers (p,q)(p,q)(p,q), and provides a quantum computer the product N=p×qN=p\times qN=p×q.

The quantum computer prepares ∑∣x⟩∣x2 mod N⟩\sum|x\rangle|x^2\bmod N\rangle∑∣x⟩∣x2modN⟩ in superposition.

The quantum computer measures and reports the second register in the computational basis to get an output yyy, which collapses the first register onto the two preimages that hash/map onto yyy.

The quantum computer measures and reports the first register in the Hadamard basis to output a string ddd (that with high probability is not 0\bf 00).

The classical verifier uses her knowledge of (p,q)(p,q)(p,q) as a trapdoor to determine the preimages (x1,x2)(x_1,x_2)(x1​,x2​) that hash onto yyy, and verifies that, over F2\mathbb F_2F2​, d⋅(x1⊕x2)=0.d\cdot(x_1\oplus x_2)=0.d⋅(x1​⊕x2​)=0.

That is, the parity of the Hamming weight of ddd AND'ed with the XOR of x1x_1x1​ and x2x_2x2​ is even.

This string ddd is orthogonal to both preimages and it is likely very difficult to consistently obtain the pair (d,y)(d,y)(d,y) absent a quantum computer (or knowledge of the factors of NNN).

Does this potentially suggest a simpler algorithm to factor a number NNN that is promised to be the product of two large primes?

For example, if I wish to factor a test integer NNN that is known to be the product of two primes, and I have access to a quantum computer of more moderate size, could I:

  • Prepare ∑∣x⟩∣x2 mod N⟩\sum|x\rangle|x^2\bmod N\rangle∑∣x⟩∣x2modN⟩;

  • Measure the first and second registers in the Hadamard and computational basis, respectively, to generate pairs (d,y)(d,y)(d,y);

  • Repeat the above a polynomial number of times (say, a million or so times);

  • And feed these pairs (d,y)(d,y)(d,y) into a supercomputer, to somehow simplify a search for the factors of NNN?

Are many pairs (d,y)(d,y)(d,y) with d⋅(x1⊕x2)=0d\cdot(x_1\oplus x_2)=0d⋅(x1​⊕x2​)=0 and x12 mod N=x22 mod N=yx_1^2\bmod N=x_2^2\bmod N=yx12​modN=x22​modN=y in any way useful to factor NNN?

I suspect the answer is no, as each yyy will be uniformly distributed over all outputs and only knowing one bit of information about the preimages that map onto yyy is not so useful to factor NNN, but I'm not sure.

Statement and context adapted from MathOverflow · Mark S

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Consistency question
Asking whether a statement is consistent with some axioms asks whether it can be added without contradiction. This is different from asking whether the axioms imply it.
Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : algorithms · factorization · quantum-computation

Authors listed by the source : Mark S

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : May 9, 2024

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni