Supercomputer simulation of quantum walks to solve complex computational problems

26 Jun 2026, 09:45
15m
Room 310 (MLIT)

Room 310

MLIT

Methods of quantum computing and quantum information processing Methods of quantum computing and quantum information processing

Speaker

Константин Петрищев

Description

The development of new quantum algorithms is currently attracting considerable attention due to the significant progress achieved in the practical application of quantum computing. In this paper, we develop a software complex for simulating quantum walks on graphs of various topologies, designed for use on high-performance computing systems.

The quantum walk model on graphs is a universal computational model equivalent to well-known approaches based on quantum circuits and adiabatic computation. Similar to classical random walks, a quantum system in this model obeys a specific law of state evolution over time, with the set of states identified with the set of vertices of a graph, finite or infinite.

Quantum walks exhibit properties that sharply distinguish it from a similar classical problem. In particular, due to the superposition of states, the time to reach a specific graph vertex can be significantly shorter than in the case of a classical particle's random walk. This ensures a polynomial speedup of quantum algorithms compared to classical ones in such practically important problems as searching on directed and undirected graphs, finding a triangle in a graph, optimization problems, and many others.

This paper considers particle motion along a line, a cycle, and a hypercube. The quantum walk algorithm is implemented using parallel computing within the MPI standard. The libraries used were mpi4py, NumPy for high-performance operations on complex arrays, Matplotlib for data visualization, as well as standard Python libraries for working with the file system, saving results in CSV format, and measuring execution time.

After initializing the MPI environment, each process receives an identifier (rank) and the total number of processes (size). If the platform supports it, the program automatically uses extended precision (complex256, float128) to reduce error accumulation; otherwise, it uses standard double precision (complex128, float64). The graph is then partitioned into tasks assigned to individual processes, which reduces memory usage and improves scalability.

Two arrays of complex amplitudes corresponding to the internal states of a quantum particle are used for the simulation. The initial state is localized at the selected vertex. The MPI.Barrier function then ensures the simultaneous start of computations. At each step of the main loop, the following are performed: exchanging boundary values between adjacent processes via the non-blocking MPI.Sendrecv function; applying the internal state change operator; and applying a spatial shift. The calculated probabilities are stored in an array to obtain a probability distribution. To compensate for the accumulation of computational error over a specified number of steps, global renormalization is performed: the state norm is calculated using the collective MPI.Allreduce operation, and then the amplitudes are scaled.

Upon completion, local distributions are collected on the master process (rank = 0) using the MPI.Gatherv operation. The probabilities for all nodes and the analytical distribution are saved to a CSV file; a log of the simulation parameters and execution time is also maintained. Plots are automatically generated for visual analysis.

The program is built on a modular principle: separate modules for parallel data distribution, quantum evolution, renormalization, results storage, and visualization are implemented. This modular architecture allows for expansion of the system without changing the computing core—implementing other types of internal states, simulating random walks on arbitrary graphs, adding GPU acceleration, and porting the program to hybrid high-performance systems.

The quantum walk model has previously been successfully applied in a number of works in physical chemistry, yielding results in good agreement with experimental data. In particular, the model makes it possible to study chemical reactions proceeding via a radical mechanism or to predict the outcome by analyzing a graph constructed from individual stages of a physicochemical process. Separately worth noting is the ability to analyze chemical reactions based on the potential energy surface landscape, where particles move from one minimum to another, following the relief of the system's potential energy.

As an area of application of the mathematical modeling results, one should note such a problem as modeling diffusion processes on the surface and in the bulk of a solid phase. Traditional modeling using classical molecular dynamics methods requires significant computational resources and time in this case. Another serious limitation is interatomic potentials, the construction of which, even when using modern machine learning tools, remains a very labor-intensive process and significantly hinders research. In the case of quantum walks, one can, for example, rely on results obtained from scanning potential energy surfaces, which provide a comprehensive picture of the process in a local region limited to several tens or hundreds of atoms. For simple adsorbates, such as hydrogen, nitrogen, or oxygen atoms, this will significantly accelerate the modeling of diffusion processes, which are an important stage of catalytic reactions in industrial chemical synthesis and also play a significant role in the development of materials for future energy applications.

The results of the numerical experiments demonstrate a significant speedup compared to direct computations in single-processor mode. This work continues a series of studies of physical and physicochemical processes conducted using supercomputer modeling at the Voronezh State University Supercomputer Center.

Author

Сергей Кургалин (заведующий кафедрой цифровых технологий факультета компьютерных наук)

Co-authors

Сергей Борзунов (Воронежский государственный университет) Александр Романов (Воронежский государственный университет) Константин Петрищев

Presentation materials