AI Helped Find Quantum Shortcuts. The Compiler Runs Without It.
The team found LuWu’s rewrite rules using programs of up to 28 qubits. In the authors’ benchmark, those rules still reduced the size of programs designed for as many as 8,192 qubits.
Reading tools for text size, copying, printing and your reading list

A team affiliated with Tsinghua University and Intelligent Quantum Inception used AI to help find shorter ways to write quantum programs, then built a compiler that does not need to call an AI model again. In a December 2 preprint, the researchers report that their tool, LuWu, applied rules discovered on circuits of at most 28 to a separate collection of much larger circuits. Its benchmark included programs specified on up to 8,192 qubits. The test ran on a conventional computer, not a quantum computer that size.[1]
A shortcut has to do the same job
A compiler turns a program into instructions a computer can carry out. For a quantum program, one way to cut instructions is to find operations that undo one another. But those operations might sit far apart on the page, with other instructions in between. Searching an ordinary gate list can miss a cancellation if the intervening steps cannot simply be moved out of the way.[1]
The team instead turned the circuits into mathematical diagrams in which a network of nodes and lines describes the same operations. AI helped search for useful sequences of diagram changes, but the researchers limited the search to rules that preserve what the diagram computes. The compiler can temporarily leave the familiar layout of a circuit, cancel or regroup operations, and then turn the result back into instructions. Once the rules are in the compiler, the same input goes through a deterministic process rather than back to a language model for another guess.[1]
The benchmark was about software, not machine speed
On the 130 large circuits that IBM’s Qiskit optimization level 3 finished, the authors report a 46% reduction for LuWu versus 6.4% for Qiskit on their combined measure. That measure gives equal weight to four separate reductions: operations that are expensive on many error-corrected designs, operations that act on two qubits, total operations, and the number of sequential layers. A 46% score does not mean that every circuit lost 46% of its gates. On the same set, LuWu was reported to compile 7.1 times as fast on one CPU core. The researchers also tested other compilers and separately compared results only where each competitor finished, so unfinished jobs were not the only reason for the reported gains.[1]
One reason the small-to-large result matters is that someone developing a compiler can try out ideas without first having a quantum machine with thousands of qubits. A machine still has to run the output, however, and its physical connections can impose extra work that the benchmark did not account for. The authors did not optimize for any particular device’s wiring and did not measure a speedup or better accuracy on quantum hardware. The next useful comparison is whether the shorter circuits stay shorter after they are mapped to a real chip and its particular gate set.[1][3]
The preprint directs readers to a public GitHub repository for the software and benchmark files. On December 3, that repository opened but showed no public branches or files. The reported comparison can be read in the paper, but the linked code and detailed test data were not available there to reproduce it at the time of this check.[1][2]