Unofficial Hacker News companion — get notified on comment replies, and more.

Cryptanalytic result from Anthropic: paper title leaked (opens external site)

555 points by aklein 1 day ago | twitter.com | 770 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (26)

  1. > 1.4 million physical qubits / 1400 logical qubits

    Is that a lot?

    Replies (5)
    1. I had a quick google, and the current known record is 8 logical qubits, so 1400 sounds like a lot, but I don't know if it's the sort of problem that might get a sudden jump.
      Replies (1)
      1. That's an extremely out-dated information that frequently gets repeated.

        Here is a paper from earlier this year where they factored 221 https://link.springer.com/chapter/10.1007/978-3-032-12983-3_...

        You can run Shor's algorith today using Qiskit on IBM's publicly available devices [or on a local simulator for few qubits] following their tutorial https://qiskit.qotlabs.org/docs/tutorials/shors-algorithm the largest instance available for public use is ibm_boston with 156 (physical) qubits https://quantum.cloud.ibm.com/computers?limit=25&order=n_qub...

        Replies (4)
        1. >Here is a paper from earlier this year where they factored 221

          That would be huge if true but yet we haven't heard about it since it was published in January. The paper is behind a paywall so we can't check if it is just another in the long string of fake claims about implementing a Shor's computer[1].

          [1] https://eprint.iacr.org/2025/1237

        2. That is so cool, I did not know that existed. I'll be that guy: thanks for posting this!
        3. The quantum circuit in the paper produces just noise, and the number is actually factored by guessing. This is not particularly difficult since there are only 6 odd numbers below sqrt(221).

          Actually running Shor's algorithm is extremely difficult [1], and the record (without too much cheating) still stands at the number 15.

          IBM has not yet demonstrated real-time quantum error correction, so the honest number of logical qubits in their machines is "0".

          [1] https://algassert.com/post/2500

          Replies (1)
          1. You seem to be repeating the common critique of the 2001 Vandersypen paper https://www.nature.com/articles/414883a from a blog post, and not the 2026 paper or the qiskit tutorial that I linked to. (BTW, if you dig deeper in the quantum computing literature, you can even find critiques of whether NMR qubits themselves can be considered truly quantum or not.)

            Like I said, running the true Shor's algorithm at a small scale is not a big deal today, we have students doing it in class.

            Physical qubits can be used as logical qubits provided that they have sufficiently high fidelities (which can be 5-6 9s of fidelity for both single and two-qubit operations https://arxiv.org/abs/2604.16216 today) for the operation that you are doing. This is highly application specific, so no, logical qubit does not automatically mean QECC.

            But if you insist on QECC for logical qubits, it's been years since IBM has demonstrated QECC on their machines, here is a randomly picked paper from them: https://www.nature.com/articles/s41586-023-06846-3 so the field has long moved past "0 logical qubits".

            (I am a physics faculty in this field.)

            Replies (1)
            1. No, I am not (see sibling thread). I do not count post-selected QEC since this is not useful for running "serious" algorithms like Shor's.
        4. That paper is not a valid quantum factoring.

          In section 4.1 you can see the circuit that they ran only had 8 phase estimation qubits. But Shor's algorithm needs 2n phase estimation qubits to factor an n bit number, so they need 16 not 8. With only 8 they can't determine the phase accurately enough to reconstruct the denominator that reveals the period. Even if the QC was perfect they'd just be measuring random values and getting false positives.

          Note they took 1000 shots. If you sample a random number and feed it into the post-processing for Shor's algorithm it would succeed after less than 10 shots on average. So success is really the wrong metric here. At best you can look at the distribution of outputs and compare it to the expected distribution to determine whether the quantum computer is working or not. They don't do this.

          They do say they observed 249 different values (out of a possible 256, after taking 1000 shots). That tells us something about the distribution: it must be quite flat. 249 is roughly how many numbers you see when sampling a flat 256 item disribution with replacement 1000 times. So this 249 is consistent with them sampling from a uniformly random distribution, rather than the peaked one that Shor's algorithm is supposed to produce when performed correctly. I'd say this indicates the quantum computer is noisy, except that they didn't use enough qubits of phase estimation meaning the expected distribution is ~flat so it's impossible to distinguish if it's ~uniformly random due to the noisy machine or due to their misconfiguration of the algorithm.

          Lastly, there's a very strange error in section 4.1 where they say the period of multiplying by 3 mod 221 is r=20, when actually it's r=48. Feeding r=20 into the period-to-factor postprocessing math.gcd(pow(3, r//2, 221) + 1, 221) yields 1 which isn't a non-trivial factor of 221.

          I am not away of ANY quantum factoring paper that factors a number larger than 15 that doesn't have either serious issues like the ones above or else that performs invalid precompilations that require preknowledge of the period.

          Replies (1)
          1. I don't have access to that paper through my institution, and it's not on arxiv so I only read the abstract (which states "by implementing Shor’s algorithm using IBM’s quantum resource and Qiskit framework to factor the number 221").

            Based on what you said, it sounds to me like the paper has some typos, and they didn't use a text-book QPE (no it doesn't "need" 2n qubits; it can be done iteratively with far fewer qubits if mid-circuit measurements are available; some IBM devices do offer mid-circuit measurements).

            I also don't know which IBM device they used, but since you have access to the paper, you can easily check the error rates https://quantum.cloud.ibm.com/computers Their two qubits errors aren't that good in general, so it is no surprise to me that it is "noisy". But I find it hard to believe your claim that they published a paper with a flat distribution. Observing 249 (out of 256) distinct values over 1000 shots doesn't equate to a flat distribution (for example, getting 248 numbers that are not 221 and 752 numbers that are 221 is not a "flat" distribution).

            That paper aside, there is nothing stopping anyone going (slightly) beyond 15, you can literally do it yourself on their devices: factoring 21 (like it was done in https://www.nature.com/articles/s41598-021-95973-w) is left as a mundane exercise in their tutorial: https://qiskit.qotlabs.org/docs/tutorials/shors-algorithm#ch... Since you claim you have never seen N>15 factored before using Shor's algorithm and have such a strong disbelief, I strongly recommend you to create an account with them run it yourself.

            Replies (1)
            1. > I don't have access to that paper through my institution.

              Yeah it was a pain to access it. I'm surprised you'd cite it if you can't see the contents. Bad factoring experiment papers are very common, so that's dangerous.

              > no it doesn't "need" 2n qubits; it can be done iteratively with far fewer qubits if mid-circuit measurements are available;

              The circuit diagram in the paper is clear that they aren't doing that. (If they had been doing that, I would have described it as 16 qubits of phase estimation, because I was describing an accuracy quantity not a storage quantity.)

              > I also don't know which IBM device they used, but since you have access to the paper, you can easily check the error rates

              Even circuits for factoring 21 properly (i.e. no period-aware precompilation) use thousands of two-qubit gates [1]. For scale, the gate error rates reported by IBM are not below one in a thousand. Therefore, at this point in time, any circuit for factoring 221 is doomed.

              It's not clear in the paper exactly how they're doing the multiplications (they just show them as featureless boxes) so I can't say exactly how over-the-limit their circuit is, but it's obviously going to be over the limit.

              > there is nothing stopping anyone going (slightly) beyond 15, you can literally do it yourself on their devices

              I actually did "factor" every number up to 255 on an IBM processor. It was published in sigbovik 2025 [1]. The conclusion of that paper was not 'wow this is working' it was 'replacing the QC with a random number generator performs just as well'.

              > Observing 249 (out of 256) distinct values over 1000 shots doesn't equate to a flat distribution

              It's a pretty strong indication. If the distribution was that there was a 50% chance of returning a desired value (let's arbitrarily say this is a value less than 25 as an example) and a 50% chance of returning a random value (a value less than 256) then with 1000 shots you'd expect to see ~210 to ~230 unique values rather than ~250.

              [1]: https://algassert.com/post/2500

              [2]: https://sigbovik.org/2025/proceedings.pdf#page=146

    2. It's a lot, it's far beyond current capabilities. However the pace of progress to get there is impossible to predict.
      Replies (1)
      1. Well the current trend is basically no progress so we are safe for a while longer.
        Replies (2)
        1. the current trend is rather exponential actually.

          https://words.filippo.io/crqc-timeline/

          Replies (1)
          1. We are interested in the logical ones. They don't scale linearly with the physical ones.
            Replies (1)
            1. the graph on that page is physical qubits required for recovery of rsa and ecc keys of realistic size.
        2. Everything about the problem suggests that it will transition from no externally visible progress to a lot of progress very quickly, even if it's unclear exactly when that transition will occur.
          Replies (2)
          1. Nothing about the potential development of a Shor's computer implies some sort of singularity. Quite the opposite. My thoughts:

            * https://articles.59.ca/doku.php?id=em:qanalog

            Replies (1)
            1. From what I understand (and like you, I do not really understand the underlying physics/mathematics) characterising quantum computers as merely analog computers misses some key details that get you from 'impossible' to 'very hard'. Roughly these details are what let you make a digital-like algorithm where you can use more bits to get exponentially more precision in what you're representing without drowning in noise.

              Continue this thread (1 replies) →

          2. Yeah I think people are assuming there is asymptotic behavior at scales far below what would be needed. They very well could be correct but I think that’s far from a given. I’d be curious if anyone who understands the physics has a prediction on where asymptotic behavior would likely occur.
    3. I mean Noah got every two of every animal into 300 …
      Replies (1)
      1. lol, best thing I’ve seen on hacker news in a while.
        Replies (1)
        1. I don’t know if you should visit more or less!
    4. Yes, but more important is scalability. It is likely that we would need to find a way to arbitrarily scale up quantum computers to build one with so many logical qbits but that is not necessarily what will happen; perhaps we figure out how to build a 1400 logical qbit QC but the technology cannot support anything larger, in which case we could all just increase our key sizes to defend against it.
    5. I suspect the point of the paper will be that a 1400 (or some other relatively small number that may be feasible in the next few decades) logical qubit machine can break RSA-2048, X25519, ECDSA _and_ ML-KEM-1024. So why deploy more complex and error prone ML-KEM-1024 instead of just sticking with the simpler RSA-2048/X25519/ECDSA that has traditionally been used? Particularly for non-hybrid ML-KEM-1024, we'd be impacted by the very real risk of implementation errors for possibly little to no benefit over less error prone implementations of X25519. ML-KEM-1024 and similar module lattice cryptography also introduces significant overhead (at least 2x) in common usage scenarios such as encrypted chat.[1] And ML-KEM-1024 was already one of the most efficient NIST competition candidates.[2]

      Take a look too at the historical progress for reducing required physical qubit count for breaking RSA-2048 at [3]. In 2019, the best quantum computer attack required 10^7 physical qubits, and [3] from 2026 now proposes only 10^4 physical qubits may be necessary. Perhaps there is significantly more to be gained from further research, further reducing the number of physical qubits necessary.

      [1] Table 6.7 of https://essay.utwente.nl/fileshare/file/77239/Duits_MA_EEMCS...

      [2] Figure F.3 of https://essay.utwente.nl/fileshare/file/77239/Duits_MA_EEMCS...

      [3] Figure 2 of https://arxiv.org/pdf/2610.37839#page=7