# New Bayesian quantum algorithm directly calculates the energy difference of an atom and molecule

New Bayesian quantum algorithm directly calculates the energy difference of an atom and molecule

Left: The phase difference between |0⟩|Ψ⟩ and exp(-*iEt*)|1⟩|Ψ⟩ affords the total energy* E *. The curved arrow in purple indicates the phase evolution of |Ψ⟩ in time. Right: The phase difference between exp(-*iE*_{0}*t*)|0⟩|Ψ_{0} ⟩ and exp(-*iE*_{1}*t*)|1⟩|Ψ_{1} ⟩ affords the energy difference *E*_{1}- *E*_{0}, directly. The curved arrows in blue and in purple indicate the phase evolution of |Ψ_{0} ⟩ and that of |Ψ_{1} ⟩, respectively.

## Summary

Researchers have developed a general quantum algorithm that can directly calculate the energy difference of an atom and molecule using a quantum computer. By avoiding the need to calculate the total molecular energies, the general algorithm is expected to be applied not only to quantum chemical calculations but also to various physical and mathematical problems, which are intractable with nowadays classical computers.

## Research outline

OSAKA, Japan. As newly reported by the journal *Physical Chemistry Chemical Physics*, researchers from the Graduate School of Science at Osaka City University have developed a quantum algorithm that can understand the electronic states of atomic or molecular systems by directly calculating the energy difference in their relevant states. Implemented as a Bayesian phase different estimation, the algorithm breaks from convention by not focusing on the difference in total energies calculated from the pre- and post-phase evolution, but by following the evolution of the energy difference itself.

“Almost all chemistry problems discuss the energy difference, not the total energy of the molecule itself,” says research lead and Specially-Appointed Lecturer Kenji Sugisaki, “also, molecules with heavy atoms that appear at the lower part of the periodic table have large total energies, but the size of the energy difference discussed in chemistry, such as electronic excitation states and ionization energies, does not depend much on the size of the molecule.” This idea led Sugisaki and his team to implementing a quantum algorithm that directly calculates energy differences instead of total energies, creating a future where scalable or practical quantum computers enable us to carry out actual chemical research and materials development.

Currently, quantum computers are capable of performing the full configuration interaction (full-CI) calculations which afford optimal molecular energies with a quantum algorithm called quantum phase estimation (QPE), noting that the full-CI calculation for sizable molecular systems is intractable with any supercomputers. QPE relies on the fact that a wave function, |Ψ⟩ which denotes the mathematical description of the quantum state of a microscopic system – in this case the mathematical solution of the Schrödinger equation for the microscopic system such as an atom or molecule – time-evolutionally changes its phase depending on its total energy. In the conventional QPE, the quantum superposition state (|0⟩|Ψ⟩+|1⟩|Ψ⟩) ⁄ √2 is prepared, and the introduction of a controlled time evolution operator makes |Ψ⟩ evolve in time only when the first qubit designates the |1⟩ state. Thus, the |1⟩ state creates a quantum phase of the post-evolution in time whereas the|0⟩ state that of the pre-evolution. The phase difference between the pre- and post-evolutions gives the total energy of the system.

The researchers of Osaka City University generalize the conventional QPE to the direct calculation of the difference in the total energy between two relevant quantum states. In the newly implemented quantum algorithm termed Bayesian phase difference estimation (BPDE), the superposition of the two wave functions, (|0⟩|Ψ_{0} ⟩ + |1⟩|Ψ_{1} ⟩) ⁄ √2, where |Ψ_{0} ⟩ and |Ψ_{1} ⟩ denote the wave function relevant to each state, respectively, is prepared, and the difference in the phase between |Ψ_{0} ⟩ and |Ψ_{1} ⟩ after the time evolution of the superposition directly gives the difference in the total energy between the two wave functions involved. “We emphasize that the algorithm follows the evolution of the energy difference over time, which is less prone to noise than individually calculating the total energy of an atom or molecule. Thus, the algorithm suites the need for chemistry problems which require precise accuracy in energy.” states research supervisor and Professor Emeritus Takeji Takui.

Previously, this research group developed a quantum algorithm that directly calculates the energy difference between electronic states (spin states) with different spin quantum numbers (K. Sugisaki, K. Toyota, K. Sato, D. Shiomi, T. Takui, *Chem. Sci.* 2021, *12*, 2121–2132.). This algorithm, however, requires more qubits than the conventional QPE and cannot be applied to the energy difference calculation between the electronic states with equal spin quantum numbers, which is important for the spectral assignment of UV-visible absorption spectra. The BPDE algorithm developed in the study overcomes these issues, making it a highly versatile quantum algorithm.

## Funding

- JST PRESTO "Development of Highly Efficient Quantum Algorithms for Quantum Chemical Calculations" (JPMJPR1914)
- JSPS Grants-in-Aid for Scientific Research C (18K03465, 21K03407)

## Publication Information

**Date of Publication:** 2 September 2021

**Journal name:** Physical Chemistry Chemical Physics

**Paper Title:** A Bayesian phase difference estimation: a general quantum algorithm for the direct calculation of energy gaps

**Authors:** Kenji Sugisaki, Chikako Sakai, Kazuo Toyota, Kazunobu Sato, Daisuke Shiomi, and Takeji Takui