A lithium battery is like a tiny city: lithium ions are the residents who move between electrode neighborhoods, generating current. But to understand how much energy the city can deliver, you need to know not only the street layout (the material's structure) but also how residents interact with neighbors, transportation, and even the weather. In battery physics, this is called exchange with reservoirs — electronic, ionic, and thermal.
Conventional computer models often lock the city down, ignoring these exchanges. The new quantum algorithm does the opposite: it creates a mediator chain for each reservoir that faithfully transmits all influences while remaining simple enough for future quantum computers. This approach allowed calculating voltage for two materials: lithium iron phosphate and lithium manganese spinel. For the first, the capacity peak landed on the experimental plateau with an accuracy of plus or minus 5 millivolts, like predicting wave height with an error of a few centimeters. For the second material, where manganese ions of different charges create a complex interplay of repulsions, the algorithm produced two plateaus with a splitting of 125 millivolts. That's only 17% less than the actual 150 millivolts.
The big surprise: the same algorithm, unchanged, also describes completely different phenomena — macroscopic quantum coherence, two-band superconductivity, and even neutrino resonance in stellar interiors. Like a universal key, it fits locks of various shapes. A full calculation of one voltage curve would require about 1.7 trillion quantum operations, but these can be split into a thousand parallel trajectories. That's still a challenge for future machines, but the road is open: the quantum compass for the battery is already calibrated.
The capacity peak for one material was predicted within 5 millivolts — about one hundredth of the voltage of a standard AA battery.