# Partition function zeros are a 'shortcut' to thermodynamic calculations on quantum computers

A study led by researchers at North Carolina State University developed a new method that enables quantum computers to measure the thermodynamic properties of systems by calculating the zeros of the partition function.

"We've illustrated a new way to get at thermodynamic properties of a system, such as free energy, entropy, and other properties that are too complex to currently be measured via traditional or quantum computing," says Lex Kemper, associate professor of physics at NC State and corresponding author of a paper describing the work. "By calculating partition function zeros we are on the way to solving the problem of scaling to larger numbers of qubits when trying to calculate free energies and entropies in a given system."

Quantum computers are often used to study complicated systems due to their ability to handle large computations beyond the reach of conventional computers. However, some problems, such as measuring the thermodynamics or free energy in a system (which involves calculating its entropy), are still too big for even these computers to handle efficiently.

A partition function describes the statistical properties of a system in thermodynamic equilibrium. The total energy, free energy, entropy, or pressure of a system can be expressed mathematically in terms of the partition function or its derivatives.

Kemper and his colleagues used a quantum computer to measure the partition function zeros, rather than the entropy, of a spin model as it is tuned across a phase transition.

"Our method skips the part where we calculate the entropy in favor of looking at the partition function," Kemper says. "That's because the partition function is a generating function—a function that you can perform operations on to get at other thermodynamic information such as the internal energy and the entropy.

"We measure the partition function by determining where it is zero. Once you know all the zeros of a function, you know the whole function. Since the zeros lie in the complex plane, we used a mapping between having a complex magnetic field and time evolution to find them."

The researchers calculated the partition function on both a standard and a trapped ion quantum computer in the laboratory of Norbert Linke at the University of Maryland. The results from both compared favorably.

"This is a way to use a quantum computer to get at all the thermodynamic properties of a system without necessitating huge numbers of quantum computations," Kemper says.

The research appears in Science Advances.

## Reference:

Akhil Francis et al, Many-body thermodynamics on quantum computers via partition function zeros, Science Advances (2021). DOI: 10.1126/sciadv.abf2447