AI Is Already Shrinking Quantum Algorithms: What It Means for Megaquop, Gigaquop and Teraquop Machines
AI is no longer just a hypothetical accelerator for quantum computing. In 2026, AI systems cut the cost of key fault-tolerant quantum subroutines by 4x to more than 9,000x. It cut the cost of the elliptic-curve step in Shor’s algorithm by 86%, and produced real-time neural decoders fast enough for superconducting qubits. This matters because quantum hardware is about to climb a ladder John Preskill laid out at Q2B: megaquop (a million reliable operations), gigaquop (a billion) and teraquop (a trillion). Every time AI shrinks an algorithm by 1,000x, that workload drops a full rung. Problems that looked like teraquop work become gigaquop work, and gigaquop work becomes megaquop work, years earlier on the hardware roadmap. As we leave the dirty qubit age, the speed of this AI compression may matter as much as qubit counts. What AI has already done An AI model proposes circuits, and a classical checker verifies and scores them. That works because many bottleneck subroutines are reversible classical logic that can be tested exactly. Screenshot The largest gains were over 9,100x improvement on a decoded quantum interferometry decoder, cut peak qubits from 190,000 to 2,395 and Toffoli gates from 100 million to 930,000. Megaquop, gigaquop, teraquop – Millions, Billions and Trillions of Quantum Operations Professor Preskill introduced the megaquop machine in his Q2B Silicon Valley keynote in December 2024 as the step beyond NISQ. Each rung is 1,000x the last, and the unit is reliable operations, not qubits. Screenshot A Quantum Intel analysis of his paper puts RSA-2048 squarely at gigaquop scale. AI compression aka Improvemnt of algorithms can moves workloads down a rung The key insight is a quantum computer’s tier is a budget, and AI algorithm can cutting the bill. This means we can reach that capability years sooner. A 1,000x reduction in an algorithm’s cost moves it from teraquop to gigaquop, or from gigaquop to megaquop. Screenshot Screenshot What it means for cryptograp