Designing more efficient quantum circuits with Claude
https://www.anthropic.com/research/designing-efficient-quantum-circuits📌 【Anthropic】Claude 設計量子電路,效率超越現有最佳方案
TL;DR:Anthropic 讓 Claude 自主設計 8 種量子電路,部分任務用量比現有最佳公開設計省了一個數量級以上。
量子電腦的 qubit 數量稀缺、又極易受噪音干擾,這意味著決定一個量子演算法能不能跑起來的,往往不是硬體,而是電路設計本身夠不夠精簡。這次 Anthropic 的實驗顯示,這個設計工作現在可以交給 AI 自己迭代完成。
🤔 qubit 很貴、很脆弱,電路設計決定一切
與傳統電腦用 0 與 1 表示的位元不同,量子電腦用 qubit 儲存資訊,可以由單一原子、超導電路或光子構成,並利用 superposition(量子疊加)等現象處理某些傳統電腦難以解決的化學、材料科學、數論問題。但目前的量子電腦只有數百到數千顆 qubit,且對熱、震動甚至宇宙射線都極度敏感,微小擾動累積起來就會讓計算出錯。因為 qubit 與運算時間都是稀缺資源,研究者長期致力於重新設計演算法,讓它用更少 qubit、花更少時間完成。一個具體例子是模擬 FeMoco(固氮酶核心的鐵硫簇,理解它有助於設計更好的工業催化劑):2017 年估計需要約 50 兆個 Toffoli gate 才能算出其基態能量;經過一連串演算法進步,這個數字已降到約 3.4 億個,縮減約 15 萬倍,相當於在未來約三百萬顆物理 qubit 的機器上運算數小時。這些進步主要來自重新設計電路,而不是硬體升級。
🧩 給 Claude 文字規格,讓它自己跟評分器對話
這項研究由 Andi Gu 在 Anthropic STEM Fellows Program 中主導,由 Anthropic 量子物理學家 Alek Kemeny 指導,並與哈佛大學的 Susanne Yelin、以及哈佛大學與 QuEra Computing 的 Mikhail Lukin 合作完成。研究團隊只給 Claude 八個量子電路的「plain-language」規格描述,涵蓋化學、最佳化、物理模擬與數論領域,再搭配一個自動評估器檢查正確性,並用「qubit 數乘以 gate 數」作為運算耗時的代理指標來打分。Claude Mythos 5 能在一個封閉迴圈裡自主運作:提出設計、拿到評估器的回饋與分數、再據此修改下一版,整個過程不需要人介入。選擇 Claude 來做這件事有幾個理由:量子電路可以用程式碼描述,因此能直接借用 Claude 的程式撰寫能力去寫、跑、修改設計;研究團隊關注的這類量子演算法每個輸入都對應一個確定輸出,一般電腦就能驗證正確性;設計量子電路還有兩個傳統程式沒有的限制——電路無法像一般程式那樣做「if-then」分支判斷(因為量子電腦會同時對疊加狀態中的所有輸入運算,兩條分支的操作都得留著),也不能任意丟棄中間資料(每一步都必須可逆,留著又會污染最終結果)。
📊 八個任務全面超越現有最佳公開設計
在涵蓋化學、最佳化、量子模擬、數論與數值計算的八個基礎運算元上,Claude 找到的設計在 qubit 數與 gate 數上都優於先前發表過的最佳演算法。例如在為鐵硫化合物模擬編譯電路時,Claude 注意到分子的對稱性與重複結構,讓某些計算結果只需算一次就能重複使用,不必對系統每個部分都重算一遍;在其他案例中,它發現既有電路裡有些昂貴的元件其實只是為了處理極罕見的輸入情況,於是重新設計並移除了這些元件。文章特別點出兩個發現:一是針對模組反運算(modular inversion,橢圓曲線運算中最昂貴的一步)設計出新的可逆演算法;二是讓某個主流量子最佳化演算法中最貴的一步,成本降低約 12 倍。
💡 進步來自新的數學洞察,不是調參
Anthropic 強調,這些改善每一個都來自 Claude 對問題結構與數學性質的新發現,而不是對現有設計做微調最佳化。這代表 AI 不只能最佳化傳統演算法,也開始具備重新設計量子電路的能力,而這正是讓量子演算法更快、更容易實際運行的關鍵一步。研究團隊認為,更快的電路設計工作,有機會讓量子電腦真正能解決的問題——從設計新藥、更好的電池,到找出更乾淨的肥料製造方式——提前到來。
🎯 實務啟示
這個案例的核心模式值得類推到其他領域:只要任務能被形式化成「可執行、可自動驗證正確性、有明確計分指標」,就有機會套用「AI 提出方案 → 自動評估器打分 → AI 根據回饋自我迭代」的封閉迴圈,讓 AI 在沒有人力逐步介入的情況下持續逼近更優解。對做演算法最佳化或電路設計相關工作的工程師,這類可驗證的自動化迴圈,是比單純靠人工調參更值得投資的方向。
🔗 來源
- 標題:Designing more efficient quantum circuits with Claude
- 作者/機構:Andi Gu(Anthropic STEM Fellows Program),Alek Kemeny(Anthropic),Susanne Yelin(Harvard University),Mikhail Lukin(Harvard University / QuEra Computing)
- 連結:https://www.anthropic.com/research/designing-efficient-quantum-circuits
#Anthropic #Claude #QuantumComputing #QuantumCircuits #Qubits #FeMoco #AIforScience #AlgorithmDesign #QuantumOptimization #STEMFellows
原始資料 Anthropic Research · 收集於 2026-10-16
摘要原文
Science Designing more efficient quantum circuits with Claude Oct 16, 2026 Quantum computers will need carefully designed circuits to run useful algorithms on limited hardware. We gave Claude plain-language specifications for eight such circuits, drawn from chemistry, optimization, physics simulation, and number theory, along with an automated evaluator that checks and scores each design. Working largely on its own, Claude found designs that improve on the best published circuits, in some cases by an order of magnitude or more. Such improvements substantially reduce the quantum resources that useful applications require, so practical quantum computers could arrive sooner than previously anticipated. This work was led by Andi Gu as part of Anthropic’s STEM Fellows Program, with mentorship from Alek Kemeny, a quantum physicist at Anthropic, in collaboration with Susanne Yelin (Harvard University) and Mikhail Lukin (Harvard University and QuEra Computing). Read the full paper on arXiv . Unlike classical computers, which store information in bits whose value is either 0 or 1, quantum computers store information in qubits, which can be built from single atoms, superconducting circuits, or particles of light. These qubits make use of quantum phenomena such as superposition —which allows a quantum system to exist in a combination of states at once—in order to process information in ways that could make certain problems in fields like chemistry, materials science, and number theory tractable, even when they are too hard for traditional computers. The quantum computers the field has built to date only have hundreds to thousands of qubits—too few to run many of the algorithms that promise practical advantages over classical computers. And these qubits are highly sensitive to environmental noise, such as heat, vibration, and even cosmic rays. A tiny disturbance can nudge a qubit’s state, and these small errors pile up until the computer gives the wrong answer. Given that both qubits and computing time are scarce resources, researchers have been working to redesign quantum algorithms to use fewer qubits and complete computations in less time. An illustrative example is simulating FeMoco, the iron–sulfur cluster at the heart of nitrogenase, the enzyme that bacteria use to turn nitrogen from the air into ammonia. Understanding how it works could help scientists design better industrial catalysts—the substances manufacturers use to speed up chemical reactions. In 2017, researchers estimated that a quantum computer would need about 50 trillion Toffoli gates to compute FeMoco’s ground-state energy—the energy of its most stable configuration, which chemists need in order to predict how FeMoco reacts. (Similar to ordinary computers, quantum computers work by applying a long sequence of simple operations, called gates, to their qubits. The Toffoli gate is one of the most expensive gates to run, so counting Toffoli gates is a standard way to estimate how long a computation will take.) Through a series of algorithmic advances, the estimated number of gates has come down to about 340 million—a roughly 150,000-fold reduction, corresponding to a few hours of computation on a future machine with about three million physical qubits. 1 These reductions largely came from redesigning the circuits that carry out the computation, rather than from making better hardware. Claude has proven particularly adept at optimizing classical algorithms , so we wanted to see whether it could do the same for quantum algorithms if it were given only a plain-language description of what each circuit must compute. Claude is unusually well suited to this task, for several reasons. First, quantum algorithms are implemented as quantum circuits . These are composed of sequences of gates, like the Toffoli gates mentioned above. Importantly, these circuits can be described in code, so we can make use of Claude’s coding capabilities to write, run, and revise circuit designs as ordinary programs. Second, the (fairly common) class of quantum algorithms we were most interested in optimizing can be tested efficiently for correctness, as each input gives one definite output that an ordinary computer can check. This means we could have an external evaluator program validate Claude’s proposals. Finally, we can give Claude a clear, objective score to improve: the number of qubits used, multiplied by the number of gates, which serves as a proxy for how long the circuit would take to run. We found that Claude Mythos 5 could successfully work in a closed loop, proposing a circuit design, receiving feedback and a score from the evaluator program, and using that feedback to improve its next attempt, with no human input between rounds (see Figure 1). Across eight computational primitives—the basic routines that larger quantum algorithms are built from—for chemistry, optimization, quantum simulation, number theory, and numerical computing, Claude discovered novel designs that used both fewer qubits and fewer gates than the best previously published algorithms (Figure 2). In each case, the improvement resulted from uncovering new structural and mathematical insights about the problem, rather than from fine-tuning existing designs. For example, when compiling a circuit for simulating an iron-sulfide molecule, Claude noticed that the molecule’s symmetries and repeating structure meant that some results could be calculated once and reused, rather than recomputed for every part of the system. In other cases, it found that existing circuits included costly components that were needed to handle only extremely rare inputs, and it redesigned them without those components. Below, we describe two of Claude’s discoveries. The first is a new way to perform modular inversion, a bit of arithmetic that is the most expensive step in elliptic-curve calculations. The second makes the costliest step of a leading quantum optimization algorithm about 12x cheaper. These results suggest that AI can now help redesign quantum circuits, a key step in making quantum algorithms faster and easier to run. Faster circuit design could bring the problems quantum computers are meant to solve—from designing new medicines and better batteries to finding cleaner ways of making fertilizer—within reach sooner. Figure 1: Closed–loop quantum circuit optimization. Claude designs new implementations in Python, which are then sent to a programmatic evaluator. The evaluator checks whether the proposed implementation is correct, then scores it on the number of qubits and gates it requires. This information is then sent to Claude, which uses it to improve its implementation. The code and values shown are illustrative. Figure 2: Claude designed smaller and faster circuits across eight different quantum-circuit design tasks. Gray marks show the best previously published designs; orange marks and lines show Claude’s designs. Point addition, the eighth task, is compared in Table 1 below. A new reversible algorithm Designing a quantum circuit involves two constraints that ordinary programming doesn’t have. The first is that a quantum circuit can’t make “if-then” decisions the way an ordinary program can. An ordinary program can check a value and then run only one of two pieces of code. But a quantum computer runs on a superposition of many inputs at once, some of which would run the first piece of code and some of which would run the second, so the circuit has to include the operations for both every time it runs. The second is that a quantum circuit can’t discard information. An ordinary program can overwrite or delete its scratch work once it’s completed it; in a quantum computer, such intermediate information can’t simply be erased, because every step of a quantum circuit must be reversible. Leaving that information in place isn’t an option, either, because leftover scratch work would corrupt the final result.
由 claude-code/sonnet 自動生成