QMill beats Qiskit AI on most benchmark circuits

Across 26 benchmark circuits, QMill’s new AI-powered qubit routing method reduced the number of two-qubit gates by an average of 27% compared to standard Qiskit, the company says. The method achieved even greater gains on complex circuits, delivering a 36% reduction in two-qubit gates on the largest circuit tested. QMill also matched or outperformed Qiskit AI on 21 of those circuits, suggesting a competitive alternative for optimizing quantum computations. Reducing two-qubit gates is important for near-term quantum devices, as fewer gates can mean less accumulated noise and a greater chance of obtaining a reliable result.

Quantum Circuit Validity and Physical Qubit Mapping

The IBM Heron r3 quantum processor’s fixed qubit connectivity necessitates careful mapping of logical circuit qubits to its physical hardware; a direct, one-to-one correspondence between circuit and physical qubits is not always possible. A gate between circuit qubits 0 and 2, for example, cannot execute directly if physical qubits 0 and 2 are not adjacent on the processor, requiring intermediate operations to prepare the qubits.

Qubit routing addresses this challenge by strategically moving qubit states via SWAP gates, which exchange the states of neighboring physical qubits, to enable the intended computation without altering the result. QMill’s AI-powered routing method explores multiple pathways to achieve this rearrangement, as demonstrated on a four-qubit circuit requiring CZ gates between qubits 0 and 2, then 0 and 3, on the IBM Heron r3.

One possible route, labeled ‘A’, involves swapping physical qubits 0 and 1 to facilitate the first CZ gate, followed by swapping qubits 1 and 2 to enable the second, according to the company. “This route works too, but requires one extra SWAP,” highlighting that different routing solutions can vary in efficiency. The efficiency of these routes directly impacts circuit fidelity. Each SWAP gate introduces a potential source of error.

This optimization is not merely theoretical; the method’s success stems from its ability to analyze the specific connectivity of the target quantum processor and tailor the routing accordingly, the company says. The implications extend beyond simply minimizing gate count. Fewer gates translate to reduced accumulation of noise, a major hurdle in near-term quantum computing. By efficiently mapping logical qubits to physical qubits and minimizing the need for SWAP operations, QMill’s approach contributes to more reliable quantum computations.

Fewer SWAPs Don’t Guarantee Leanest Final Circuits

The efficiency of qubit routing isn’t solely determined by minimizing swap operations, as QMill’s recent work demonstrates; a circuit requiring slightly more swaps can ultimately execute with fewer key CZ gates after hardware-level simplification. This finding challenges the conventional wisdom that fewer swaps automatically translate to a more streamlined and reliable quantum computation, a nuance revealed through testing on IBM’s Heron r3 processor. QMill’s analysis focused on comparing the final count of CZ gates, the primary source of noise in near-term quantum devices, after the compiler had optimized the circuit for execution.

However, the team discovered that a route with fewer swaps, like the example labeled ‘A’, doesn’t always yield the lowest final CZ gate count; a route with more swaps, such as ‘B’, can sometimes be more efficient after the compiler’s optimization process, the company states. “Route A uses 2 SWAPs instead of 3, so it needs fewer noisy operations and can finish sooner, giving errors and decoherence less opportunity to affect the result,” the team explains, highlighting the initial appeal of minimizing swaps.

This advantage became even more pronounced on larger circuits, where the AI’s ability to navigate complex routing possibilities proved most effective. By focusing on the final CZ gate count rather than simply minimizing swaps, QMill’s approach offers a more effective strategy for optimizing quantum circuits for real-world hardware.

QMill AI Routing Reduces CZ Gates Versus Qiskit AI

QMill’s AI-based routing method achieved a 27% average reduction in two-qubit gates across 26 benchmark circuits when compared to standard Qiskit, a result indicating potential for improved performance on near-term quantum devices. This suggests the AI’s benefits scale with circuit complexity, a significant factor for future quantum computations. On 21 of the 26 benchmark circuits tested, QMill’s method matched or outperformed Qiskit AI, the previously strongest benchmarked solution in this area, by the company’s account.

Qiskit 2. 5. The team’s work involved mapping logical circuit qubits onto physical qubits on the IBM Heron r3 topology, using the identity qubit mapping to ensure a standardized comparison.

Stay current

See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.

Avatar of Ivy Delaney

Ivy Delaney

Ivy Delaney has been working with neural networks and machine learning since the mid-nineties, back when a couple of hidden layers and a long afternoon of training counted as ambitious. She has watched the field go from academic curiosity to the thing quietly running underneath everything, and she brings that long view to quantum computing. For Quantum Zeitgeist she covers the ground where the two fields meet. That means quantum machine learning and the variational algorithms it leans on, and it also means the less glamorous but more interesting story of classical machine learning already doing real work inside quantum machines, decoding error-correcting codes, calibrating noisy hardware and learning the error models that simulators depend on. She writes about the hardware those algorithms have to run on too, and about the post-quantum cryptography scramble that the same hardware has set off. Her stories typically start with the paper, whether that is peer-reviewed work, conference proceedings or an arXiv preprint, with the source linked so you can hold a claim up against the research it came from. She is unimpressed by benchmarks that will not say what they beat, and by demonstrations that only work in the press release.

Latest Posts by Ivy Delaney: