PhysicsPreprintSimulation18 min read

A QUANTUM CHALLENGE ANSWERED WITH A TEMPERATURE

Nobody who pumps up a bicycle tyre follows the air molecules one by one. There are far too many, they collide all the time, and their individual paths are hopeless to predict. It does not matter: the pressure in the tyre depends on the temperature of the air, not on which molecule went where. A new preprint asks whether the same shortcut applies to a quantum computer that was built precisely to do something too complicated to follow.

A magnet shaken in rhythm

A qubit is the basic unit of a quantum computer. Like an ordinary bit, it gives 0 or 1 when it is read. Before it is read, it can be in a blend of both, and several qubits can be entangled: their readings are then linked in a way that cannot be described one qubit at a time. A quantum processor is a chip that holds many qubits and applies gates to them, small programmed operations on one or two qubits at a time.

One thing such a chip can do is imitate a magnet. In the simplest model of a magnet, the Ising model, each atom carries a tiny arrow, called a spin, that points up or down, and neighbouring arrows influence each other. Let each qubit play one arrow, 0 for up and 1 for down, and let the gates play the influences.

That is what Leviatan and colleagues did on an IBM Heron processor, a chip of superconducting qubits wired in a pattern called heavy-hex, where each qubit is linked to a few neighbours. They used 51 qubits on one layout and 74 on another. All qubits start at 0: every arrow up. Then the same block of gates is applied again and again. One pass through the block is a cycle, and the experiment ran up to 30 cycles.

Each cycle has three layers. In each layer, a gate called RZZ couples pairs of linked qubits with an angle of π (pi) divided by 3, which is the neighbour-to-neighbour influence of the Ising model. Then every qubit is turned a little by two rotations, RZ and RX, whose angles are a third of θz = 0.339 and θx = 1.566, where θ (theta) is the usual letter for an angle. These rotations act like a magnetic field pushing along the arrows and across them. A system that is pushed periodically like this, as a child on a swing is pushed once per swing, is called a Floquet system. Hence the name of the object: a Floquet Ising magnet.

What was measured? Three kinds of numbers, all written with angle brackets, which mean “average over many repetitions”:

  • the magnetization, written ⟨Z⟩. Read every qubit, count +1 for a 0 and −1 for a 1, and average. It is 1 when all arrows still point up, and 0 when the chip has lost all memory of its start;
  • two correlators, written ⟨ZZ⟩. Multiply the readings of two qubits and average. This tells whether two arrows tend to agree. It was measured for qubits two links apart and three links apart on the chip;
  • the magnetization of the qubits that have exactly two neighbours, which will matter later.

Today’s quantum processors make errors at every gate. The experiment relied on error mitigation: instead of preventing the errors, one works out by calculation what a noiseless chip would have given. One ingredient is to amplify the noise on purpose and extrapolate back to zero noise, as you might guess a true weight by weighing an object on scales that are more and more off. The protocol used here is called QESEM. With it, the magnetization was measured to percent-level precision.

Why ordinary computers lose the thread

A quantum advantage, in the words of the preprint, is a computation of scientific or practical value that no classical computer can match. “Classical” means every ordinary computer, supercomputers included. Simulating many interacting quantum particles in motion is a leading candidate, for a reason of bookkeeping. To describe 51 qubits exactly, a classical computer must store one number for each of their possible joint readings, and that count doubles with every added qubit. For 51 qubits it is 2 multiplied by itself 51 times, more than two million billion numbers.

So classical methods cheat, cleverly. The experiment was compared with two of them.

A tensor network compresses the state of the qubits, the way an image file compresses a photograph by exploiting the fact that neighbouring pixels resemble each other. The compression works as long as the qubits are weakly entangled. But the gates entangle the qubits a little more at every cycle, until the entanglement runs across the whole chip, and the size of the compressed file must then grow exponentially. Leviatan and colleagues reported that a tensor-network method called belief propagation drifts away from their data after about 12 to 16 cycles.

A Pauli-path simulation works backwards. Instead of following the state, it follows the question. Any measurement on qubits can be written as a sum of Pauli strings, which are products of three elementary operations named X, Y and Z, applied to chosen qubits. “Read qubit 7” is one short string. Carried back through one cycle of gates, it becomes a sum of several longer strings; through thirty cycles, the number explodes, like a rumour that splits into new versions each time it is retold. The simulation keeps the biggest terms and drops the rest. On the Fugaku supercomputer, simulations keeping about a trillion strings still gave answers that depended on where the cut was made.

Both methods try to reproduce the full motion, and both hit their wall in the same place: late times on a large chip. That is where the experiment was designed to go. Its authors concluded that error mitigation reaches a regime not reliably reproduced classically, and posted the result as a challenge on the Quantum Advantage Tracker, a public list that collects such claims together with the classical attempts to reproduce them. As the preprint puts it, whether a claim stands is decided by the best classical method that can be brought against it.

What a shaken magnet forgets

Youkang Wang, Xiao-Yong Wei and Qing Li, of The Hong Kong Polytechnic University, start from a different question: do the numbers measured at late times depend on the details of the motion at all?

Statistical mechanics, the physics of large crowds of particles, says that usually they do not. In a closed system whose parts interact, quantities measured on a few particles (“local observables”) settle to values fixed by a handful of conserved quantities, above all the energy. This settling is called thermalization. It is the tyre again: the pressure of a gas is fixed by its temperature, without following any molecule.

The settled state has a name, the Gibbs state, also called the thermal state. It is not one configuration of the arrows. It is a recipe of probabilities: every configuration gets a weight that depends on its energy and on the temperature, and nothing else.

A Floquet system is a harder case, because the periodic pushing keeps feeding and draining it, so its energy is not conserved. Left long enough, such a system forgets everything and reaches what physicists call infinite temperature, where all configurations are equally likely and the magnetization is zero. This end state is nicknamed heat death. But when the pushes come fast, the system first sits for a long time in a prethermal state: a waiting room before heat death. In it, the system behaves as if it were at ordinary thermal equilibrium, with one twist. The quantity that plays the role of energy is not the energy of any single gate. It is given by an effective Hamiltonian. A Hamiltonian is the physicist’s rule that assigns an energy to every configuration; the effective one is the single rule that would produce, in one go, nearly the same result as a whole cycle of gates. It is “quasi-conserved”: the cycles change it, but slowly. Such prethermal plateaus have been observed in cold atoms and in spin systems.

The preprint’s bet is that the IBM data were taken inside such a plateau. If so, predicting them is a problem of equilibrium, not of motion, and equilibrium has a great convenience. In a Gibbs state at moderate temperature, a qubit is correlated with its near neighbours and hardly with distant ones. To know how salty a well-stirred soup is, a spoonful is enough. In the same way, the thermal value on one qubit can be computed on a small patch of the chip around it, about twenty qubits, without ever building the state of the whole chip.

The authors say plainly that the idea is not new. The experiments themselves displayed a thermal value as a reference line: 0.410 for the magnetization of the 51-qubit run, against late data near 0.367. That reference misses the data by several of the chip’s error bars. What was missing, they write, was a procedure with no adjustable parameter, that accounts for the slow heating, that comes with an error budget checked without the chip’s data, and that says where it fails.

One equation, four questions

The whole method rests on the first equation of the preprint. It uses the Greek letter β (beta), explained just below. For a measured quantity O, which physicists call an observable:

⟨O⟩ at cycle t ≃ Tr[O e^(−β(t)·H∗)] / Tr[e^(−β(t)·H∗)]

with β(t) set by: thermal average of H∗ = E₀ · r(t)

Read it piece by piece. H∗ is the effective Hamiltonian. β is the inverse temperature: one divided by the temperature, so β near zero means very hot. The factor e^(−β·H∗) is the weight the Gibbs state gives to each configuration according to its energy. Tr, the trace, means “add up over all configurations”. So the top of the fraction is a weighted sum of O, the bottom is the total weight, and the ratio is a weighted average: the thermal average of O. The sign ≃ means “approximately equal”.

The second line says which temperature to use. E₀ is the energy of the starting state, all arrows up. r(t) is the fraction of that energy still present after t cycles. The temperature is whichever one gives a thermal state carrying exactly that much energy, E₀ times r(t). As the cycles go by, r(t) shrinks, β moves towards zero, the weights flatten, and the predicted magnetization slides down towards zero. (An energy that falls while the system heats up sounds backwards; the section on negative temperature below explains it.) In the study, this equation turns a problem of motion into four separate questions, each answered by its own classical calculation, none of which uses the chip’s data.

Which quantity is conserved? One cycle of gates is a single operation U. The natural candidate, called HF, is defined by

U = e^(−i·HF)

which says that running one cycle is the same as letting the fixed rule HF act for one unit of time. To find HF, the team used the Baker–Campbell–Hausdorff (BCH) expansion, a formula for merging two successive operations into one:

log(e^X · e^Y) = X + Y + ½[X, Y] + …

Here [X, Y] means XY − YX, the difference between doing X then Y and doing Y then X. If the order did not matter, merging would be plain addition. Each further term corrects for the order mattering, and the series is cut at a chosen order. At first order, HF is the Ising model with a field along and across the arrows. At fifth order, on the 51-qubit chip, it has 1,432 Pauli strings.

How good is each candidate? The team measured its leakage over one cycle:

L(H) = ‖U† H U − H‖² / ‖H‖²

U† H U is H after one cycle, and ‖…‖ measures the size of a rule like H; so the top is the size of the change that one cycle makes to H, the bottom is the size of H itself, so L is the fraction that leaks: zero for a perfectly conserved quantity. It falls from 0.73 at first order to 0.013 at fourth order and 0.007 at fifth. Because the series stops improving at some point, the team also searched directly for the slowest-changing combination of those same strings. This is H∗, with a leakage of 0.0019.

How much energy does the start carry? For all arrows up, E₀ is a simple sum. Its value holds a surprise, told in the next section.

How fast does the energy change? Heating is a local affair, so it can be measured on pieces small enough for exact simulation. The team simulated patches of 12 to 26 qubits exactly, with the same gates. After about ten cycles of settling, the energy drifts by 0.11% to 0.18% per cycle, about 0.15% (it falls; the section on negative temperature explains why, here, a falling energy means heating), with almost no dependence on the size of the patch. At cycle 30, about 95% of the starting energy is left. At that rate heat death comes after several hundred cycles, and the measured window, cycles 13 to 30, lies well inside the plateau.

What are the thermal values? With H∗ and the energy fixed, the rest is an equilibrium calculation on the chip’s real layout. The team did it two ways. The first, quantum typicality, uses the fact that a few random states of a 20-qubit patch, suitably weighted, already give thermal averages. The second, a numerical linked-cluster expansion (NLCE), solves exactly every connected cluster of up to 12 qubits on the 51-qubit chip, 11,500 of them, and adds their contributions.

A temperature below zero

The starting state has a strange place on the energy scale. Picture all the configurations of the magnet sorted by energy. Few have very low energy, few have very high energy, and the great majority sit in the middle, like the outcomes of many coin tosses that pile up around half heads. This count of configurations at each energy is the density of states, and its peak is the infinite-temperature point.

An everyday object lives on the low side of the peak: heating it raises its energy and opens more configurations to it. The all-up state of the experiment sits on the high side, above the peak. A system there is described by a negative temperature. The name does not mean colder than absolute zero: it means the weights of the Gibbs state are turned upside down, and high-energy configurations are the favoured ones. For a system on this high side, heating runs backwards: as the drive pushes it towards infinite temperature, it slides down towards the peak, so its energy falls. For this magnet the team finds β ≈ −1, between −1.01 and −1.04 depending on the order of the expansion. (Leviatan and colleagues quote 1.016, with the opposite sign convention.)

This explains a visible feature of the data. The all-up state has a large positive energy from its neighbour-to-neighbour couplings, so at negative temperature the favoured configurations are those where arrows are aligned. The magnetization therefore stays at a finite value during the plateau instead of decaying to zero.

The prediction, with nothing borrowed from the chip

On the 51-qubit chip, averaged over cycles 26 to 30, the calculation gives a magnetization of 0.381 and correlators of 0.259 (two links apart) and 0.193 (three links apart). The chip gave 0.367, 0.253 and 0.199. The second method, NLCE, gives 0.384 for the magnetization. For comparison, the belief-propagation tensor network gave about 0.52 to 0.54.

Over all 27 data points of the two chips, the average gap, chip minus prediction, is −0.016 for the magnetization and −0.008 and +0.002 for the two correlators. Relative to the measured values, that is an agreement of 4% for the magnetization and 3% for the correlators.

The slow heating is what makes the difference. Without it, the team’s thermal magnetization would be 0.420, close to the reference line of 0.410 shown with the experiment. With it, the prediction falls by 0.034 to 0.039 between cycle 0 and cycle 30, about the size of the gap between that reference and the data. The authors conclude that the reference was off mostly because of heating, not because the thermal picture was wrong.

They also tested each approximation against exact simulations rather than against the chip. On patches of 20 to 24 qubits, the Gibbs state of the patch reproduces the patch’s exact magnetization to within about 0.002 on average, and thermal values on 20-qubit patches agree with 24-qubit ones to 0.002.

One number resists. The gap of 0.016 in the magnetization is about 2.4 times the uncertainty the team assigns to its own prediction (0.007), and the gap is correlated from one data point to the next. The authors write that they have not identified its origin: it may lie in the remaining approximations of the prediction, or in the chip’s data.

Then there is the cost. The calculation for both chips takes less than one hour on a single graphics processing unit (GPU), the kind of chip found in a graphics card, and the thermal step for each chip takes a few minutes. The Tracker lists, for a single 16-cycle instance of the same circuit, a Pauli-path simulation of 2.2 hours on 12,288 nodes of Fugaku, and a mitigated measurement that used 1.7 hours of quantum-processor time.

The wobble that no temperature can produce

A Gibbs state does not move. Yet the data wobble: the magnetization of the qubits with two neighbours oscillates around the plateau with a period of about 4.7 cycles. Leviatan and colleagues presented these oscillations, and their slow decrease with the size of the chip, as their main physical result.

Here the thermal shortcut gives the level and nothing more, and the team had to follow the motion after all. They did it exactly, on patches of up to 34 qubits centred on each two-neighbour qubit. On the 51-qubit chip the answer stops changing as the patch grows, and the match improves. Physicists score such a match with χ² (chi-squared) per point, which is near 1 when the gaps are about the size of the error bars: it goes from 1.85 with 32-qubit patches to 1.25 with 34. The computed amplitude is 0.0142, against 0.0128 ± 0.0014 on the chip. On the 74-qubit chip the level matches, but a leftover pattern remains at cycles 15 to 19, and the computed amplitude, 0.010 to 0.013, is somewhat larger than the measured 0.0083 ± 0.0013.

The patches also show where the wobble lives: in chains of two-neighbour qubits on the edge of the chip. The same 21 edge qubits carry the strongest wobble on both chips, and they make up 21 of 41 two-neighbour qubits on the smaller chip but 21 of 58 on the larger. That dilution accounts for the smaller wobble at 74 qubits.

Two things follow. This part costs days of GPU time, not an hour. And the preprint does not fault the chip: the oscillations, it says, are “a genuine feature of the ideal dynamics, which the device resolves correctly”.

Ions, a 65-qubit simulator, and a failure planned in advance

The team applied the same recipe to two other machines.

The first is a 56-qubit processor made of trapped ions, charged atoms held in a trap, the Quantinuum H2. It ran two quenches: start a magnet in a simple state, switch the interactions on abruptly, and watch. For this experiment, the preprint cites an earlier classical reproduction, made with a tensor-network method called matrix-product states; it cites none for the IBM run. With the thermal recipe, the second quench is reproduced within the machine’s uncertainty. The first is harder. The measured quantity is the magnetization squared. The low-order thermal reference gives 0.733, against a measured 0.631 ± 0.011. Pushing the expansion to higher orders gives 0.679, 0.669, then 0.661. Adding a heating correction that depends on the size of the system gives 0.650 ± 0.008, which is 1.4 standard deviations from the measurement, the standard deviation being the usual yardstick of uncertainty. The authors flag that this number rests on an extrapolation from exactly simulated systems of at most 36 sites to the 56 of the machine.

The second is a 65-qubit analogue simulator at Google, where the qubits evolve continuously instead of going through gates, while the device is steered gradually over a chosen ramp time. There, noise adds energy that cannot be predicted from first principles, so the question is narrower: given the energy measured in each run, are the correlations those of a Gibbs state? For the long ramps, 108 nanoseconds and more, they are, to within 3%. The correlations then work as a thermometer for the energy the noise has added. For shorter ramps the match fails, as expected, and two other sets of data from the same experiment disagree, by 6 to 9% for one and 10 to 15% for the other, without the authors resolving why. Google’s own beyond-classical claim rests on a different test, which the preprint does not address.

Finally, the team chose an experiment where the recipe should break. In quantum annealing, the interactions of a disordered magnet called a spin glass are changed gradually, and the spins freeze in before they can equilibrate. The team fixed its rules of comparison before looking, and a test computed in advance placed every case outside the recipe’s domain. The thermal prediction indeed overestimates how ordered the frozen spins are (measured by how much independent samples of the same magnet agree) in all 44 cases tested, by factors of 1.04 to 2.7, and more so for larger systems.

What the three authors claim, and what they leave alone

The preprint, which has not yet been peer-reviewed, states its conclusion narrowly: “For the observables of these experiments, a quantum advantage is therefore not established.” It does not say that quantum advantage is out of reach, and its authors write that they “do not claim that equilibration makes local observables classically easy in general”. The recipe works after the qubits have settled locally and before heat death, when the energy is the one slow quantity. It says nothing about the early cycles, about coherent waves, or about quantities that no thermal state carries.

It is also an empirical result. Mathematical guarantees that Gibbs states can be computed efficiently exist for this magnet when the absolute value of β lies between about 0.0003 and 0.006, far from the value near 1 met here.

For future experiments the authors propose a checklist. A team aiming at an advantage in simulating dynamics should report how long its system takes to settle locally, how long it takes to heat up, how local its measured quantities are, and then show that its data fall outside the window that equilibrium physics already determines. A long run on a big chip is not enough: by then, the magnet may have forgotten everything a thermometer cannot read.