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

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

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

View full thread · View on Hacker News

Comment thread (2)

  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