In a 53-hour experiment, Anthropic's model developed a way to reconstruct branching decisions in elliptic-curve arithmetic, reducing the gates in one circuit design while using slightly more qubits
Divsteps can make quantum arithmetic expensive before the calculation itself begins: a reversible circuit must retain enough information to reconstruct its conditional branches. Anthropic says Claude Mythos 5 found a way to recover those decisions from intermediate numerical values instead, changing the resource trade-off for one elliptic-curve calculation.
The result comes from a 53-hour experiment led by Andi Gu through Anthropic's STEM Fellows Program, with Anthropic quantum physicist Alek Kemeny and Harvard University researchers Susanne Yelin and Mikhail Lukin; Lukin is also associated with QuEra Computing. Anthropic reported the results on October 16, 2026. Claude developed a reversible arithmetic algorithm for modular inversion, the most expensive step in elliptic-curve calculations and an operation used in quantum algorithms targeting the elliptic-curve discrete logarithm problem.
The headline comparison for one elliptic-curve point-addition design is about 17 times fewer gates at the cost of 12 percent more qubits than the most compact known design. These are circuit-resource comparisons, not a measured speed-up on a quantum computer. QuEra's resource table gives separate reference points for modular inversion: its listed best-known design with the fewest gates uses about 1.9 million Toffoli gates and 1,446 qubits, while Claude's divsteps design uses about 4.0 million Toffoli gates and 935 qubits. A separate specialized implementation based on the Euclidean algorithm uses about 21 million Toffoli gates and 843 qubits. The figures describe different gate-and-qubit trade-offs, rather than one design using fewer of both resources in every comparison.
Anthropic's account says the model derived mathematical identities for reconstructing the branching decisions, tested the approach in numerical simulations, and formalized central claims using Lean, a proof-checking system. An automated evaluator checked proposed circuits for functional correctness and scored their resource requirements. Claude refined its designs in a closed loop, receiving the evaluator's feedback without human input between rounds, following plain-language instructions. The work is described in Anthropic's research account.
Anthropic also asked Claude Mythos 5 to optimize eight computational building blocks spanning chemistry, physics simulation, optimization, and number theory. QuEra reports that in seven of the eight tasks, the resulting circuits used fewer gates and fewer qubits than the best-known designs. In a separate task involving Reed-Solomon decoding in the DQI quantum optimization algorithm, the gate count for the costliest step fell by approximately 12 times. That figure concerns one algorithmic component, not a 12-fold reduction in the runtime of the full task.
Those results concern circuit design. The work describes simulations and formal verification, not execution on quantum hardware, and the resource counts do not establish a measured runtime improvement. The reported comparisons also do not establish independent replication or performance amid hardware errors. Fewer gates may make a computation less demanding, but the circuit-resource results alone do not show that a particular quantum algorithm is now practical.
The broader motivation is clear. Quantum machines currently have only hundreds to thousands of qubits, while environmental disturbances can introduce errors. Engineers must manage both the qubits used to store intermediate information and the operations needed to complete a calculation. The modular-inversion circuit offers a different point on that trade-off curve; it does not remove the need for error correction or reliable hardware control.
The scale of past resource reductions provides context, but not proof of a near-term application. Researchers estimated in 2017 that simulating the ground-state energy of FeMoco, an iron-sulfur cluster involved in biological nitrogen fixation, would require roughly 50 trillion Toffoli gates. Later advances brought that estimate to about 340 million gates, a reduction of approximately 150,000 times. Anthropic argues automated circuit optimization could contribute to progress of this kind.
Reversibility is central to the result. Ordinary computing can discard temporary information; a quantum circuit must preserve enough information to reverse its operations. Divsteps creates a record of conditional choices, which can demand extra qubits. Claude's approach reconstructs the needed information from intermediate values rather than retaining the full history of branches, changing the balance between stored information and gate use. QuEra's overview of the circuit comparisons describes modular inversion as the most expensive step in elliptic-curve calculations.