The Ising model, despite its deceptively simple formulation, encapsulates a wealth of complex physics, making it a fundamental problem in the field. It serves as a key model for understanding critical points, phase transitions, and the exchange coupling in magnetic systems [
1]. The model's versatility has spurred the development of various spin models, such as the XY and Heisenberg models, significantly advancing statistical physics. To date, rigorous analytical solutions have been formulated for both the 1D and 2D Ising models, while the 3D model remains an unresolved challenge for physicists worldwide. Beyond theoretical approaches, numerical methods such as the classical Monte Carlo method have been employed to tackle this problem from 1D to 3D [
2].
Considering the 1D version with periodic boundary conditions (i.e. ), the spins can take values . The Hamiltonian of this system is represented as:
Here, denotes the exchange interaction (uniform across all neighboring spins, with representing a ferromagnetic system and an antiferromagnetic system), is the external magnetic field, and is the total number of spins. In this model, z =2 when considering only the nearest-neighbor interaction. The thermal fluctuation in the system is denoted by , where . Here, is the Boltzmann constant, and represents the temperature. The value of inversely correlates with the thermal energy, influencing the spins' behavior. Among various methods to solve the Ising model, the mean-field approximation is one of the simplest, albeit with limitations. It omits thermal fluctuations and correlations between spins, leading to inaccuracies, particularly in predicting phase transitions. These shortcomings are addressed in more sophisticated solutions, like the transfer matrix method for the 1D case, which is shown in the Supplementary Information. This method accurately captures the critical phenomena and phase transitions in the Ising model, providing insights into the system's behavior at different temperatures and field.
In this paper, we introduce an innovative method to simulate the 1D Ising model using simple quantum circuits within the open-source software development kit QISKIT in python. This marks the first instance of such a simulation in QISKIT. Our method utilizes fundamental gates [
3], including control-not, and X gates, to represent the nearest-neighbor exchange interaction, spin alignment in an external magnetic field, and thermal effects due to thermal fluctuations. Diverging from previous studies that relied on established results [
4], our approach starts from a state of complete superposition, capturing all possible mixed states and their random evolution. This methodology provides a more holistic view of the system's dynamics. Furthermore, our quantum circuit is designed for execution on personal computers, making it accessible beyond the confines of specialized IBM servers. This novel approach not only offers a new perspective for understanding the Ising model but also demonstrates the expanding potential of quantum computing in solving complex physical systems.