Next Article in Journal
A Quasi-Monte Carlo Method Based on Neural Autoregressive Flow
Previous Article in Journal
Advances of Quantum Key Distribution and Network Nonlocality
Previous Article in Special Issue
High-Dimensional and Multi-Intensity One-Photon-Interference Quantum Secure Direct Communication
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Quantum Computing for Transport Network Optimization

1
Beijing QBoson Quantum Technology Co., Ltd., Beijing 100015, China
2
School of Energy Storage Science and Engineering, North China University of Technology, Beijing 100144, China
*
Authors to whom correspondence should be addressed.
Entropy 2025, 27(9), 953; https://doi.org/10.3390/e27090953
Submission received: 28 July 2025 / Revised: 6 September 2025 / Accepted: 11 September 2025 / Published: 13 September 2025
(This article belongs to the Special Issue Quantum Information: Working Towards Applications)

Abstract

Public transport systems play a crucial role in the development of large cities. Bus network design to optimize passenger flow coverage in a global metropolis is a challenging task. As an essential part of bus travel planning, considering the bus transfer factor in the existing extremely complex and extensive public bus network usually leads to a optimization problem characterized by high-dimensionality and non-linearity. While classical computers struggle to deal with this kind of problems, quantum computers shed new light into this field. The coherent Ising machine (CIM), a specialized optical quantum computer using a photonic dissipative architecture, has shown its remarkable computational power in combinatorial optimization problems. We construct the classical model and the quadratic unconstrained binary optimization (QUBO) model of the bus route optimization problem, and solve it using a classical computer and CIM, respectively. Our experimental results demonstrate the significant acceleration capability of CIM over classical computers in finding the optimal or near-optimal solutions, albeit subject to the hardware limitations of the 100-qubit CIM.

1. Introduction

For the last several decades, quantum computing has been showing its beyond-classical computation capability for certain problems [1,2,3,4,5,6]. In recent years, with the gradual maturation of quantum computing technology, the application of practical quantum computers to real-world problems has been attracting increasing attention. In other words, the development of quantum computing is no longer confined to its scientific significance, as its social and industrial value is gradually becoming evident and substantiated [7].
In particular, the rapid progress in quantum computing has unlocked unprecedented potential for tackling complex challenges in diverse fields such as transport network design (TND). As a multidisciplinary domain, TND aims at enhancing the efficiency and sustainability of transportation networks by integrating numerous technologies and applications [7,8]. Nevertheless, practical TND is usually an NP-hard problem as we need to process enormous datasets and solve intricate optimization problems associated with it. While classical computational methods struggle to deal with it, quantum computing, with its distinctive advantages in parallel computation, optimization algorithms based on the principle of quantum mechanics, and machine learning applications, presents transformative opportunities for revolutionizing transportation system management and optimization [7,8,9,10]. By way of example, the bus network is an indispensable fundamental component of transportation infrastructure, yet multi-objective large-scale bus route optimization (BRO) problem is computationally challenging for classical computers. More specifically, bus network design is a crucial problem in urban transportation planning and the corresponding optimization problem involves making different decisions such as station selection and operation scheduling. The first bus network design framework was systematically proposed by Ceder and Wilson, which divides the problem into three levels: route design, frequency optimization, and scheduling [11]. In general, the objectives of bus network optimization include minimizing operating costs, maximizing service coverage and improving passenger satisfaction. Adding a new bus route by choosing from a set of candidate stations is a real-world problem, which could lead to better service coverage and passenger satisfaction. Focusing on optimizing route length and station spacing, a genetic algorithm-based bus route optimization method was proposed [12]. As passenger flow data becomes easier to access, demand-based optimization goals are attracting more and more attention. For example, bus route design should prioritize coverage of high-demand areas, which leads to the introduction of passenger flow coverage as an optimization metric [13]. To improve the connectivity and coverage of the bus network, bus transfer, an important feature of the bus transportation system, has been incorporated into the bus route planning model [14,15,16,17]. While much progress has been made in the field of bus network optimization, adding a new bus route by choosing from a set of candidate stations to maximize passenger flow coverage is a large-scale optimization problem and presents many challenges. Classical computers always struggle to solve the problem efficiently when the number of candidate stations is large and bus transfer needs to be considered, as we usually encounter in the bus network design of metropolis.
The coherent Ising machine (CIM), an optical-system-based specialized quantum computer designed for solving combinatorial optimization problems and applicable across various fields [18,19,20,21,22,23,24,25,26,27], is well suited for addressing multi-objective large-scale BRO problems. Most combinatorial optimization problems can be modeled as quadratic unconstrained binary optimization (QUBO) problems, and the QUBO model is equivalent to the Ising model in physics, which can be effectively simulated by CIM. By mapping optimization problems to the ground state search problems of the corresponding Ising models, CIM can efficiently search for the global optimal solution utilizing the coherence and nonlinear characteristics of the Optical Parametric Oscillator (OPO) [18,21,22], which is the core component of CIM. In particular, networks of OPOs have been proven to be able to generate spatial multimode entanglement [20]. Compared with classical computers and quantum annealers, CIM features high parallelism and low energy consumption. Moreover, CIM is robust to environment noise and can operate at room temperature environment, making its practical application more accessible than quantum computers based on superconducting circuits.
In this paper, we construct the QUBO model for BRO problems and solve it using CIM for the first time. To compare the computation efficiency of CIM and classical computers, the classical model and the QUBO model of the bus route optimization problem are constructed and solved using a classical computer and CIM, respectively. Our experimental results show the significant acceleration capability of CIM, albeit subject to the hardware limitations of the 100-qubit CIM. We expect that the advantage of CIM in solving large-scale optimization problems will grow rapidly along with the development of hardware capabilities of coherent Ising machine with thousands of qubits.

2. Bus Route Optimization Model

We aim to design a new route from the set of candidate stations S to maximize passenger flow coverage, a critical metric directly reflecting the route’s ability to meet potential passenger demand. The main challenge of this problem stems from that we must consider bus transfer in the complex and extensive bus network of metropolis. Bus transfer is an essential part of bus travel planning, and the connection with other bus routes can significantly expand the coverage, which also significantly increases the complexity and computational difficulty of the BRO model [15,16,17], especially when we are considering a global metropolis such as Beijing. This problem is naturally related to multi-objective optimization, graph theory and algorithm design, showing both theoretical and practical significance [13,14,28]. For example, BRO often needs to balance multiple competing objectives, such as maximizing service coverage to ensure passenger accessibility, minimizing route directness to reduce travel time, and optimizing operational costs for efficiency [13]. The bus network can be modeled using graph theory, with the bus station as the node and the route as the edge, and then the shortest path algorithm can be applied to design the efficient route [11,13].

2.1. Classical Model of Bus Route Optimization

The real-world bus route optimization problem we are going to address involves at least 60 candidate stations in Beijing, and as we shall take bus transfer into consideration, the extremely complex and extensive public bus network of Beijing makes the problem difficult to tackle. Indeed, due to the complex solution spaces, multi-local extremums, and computational complexity, high-dimensional, non-convex, or large-scale combinatorial optimization problems are challenging for traditional optimization methods. For certain cases, we can adopt the two-stage optimization strategy to effectively address these problems [29,30]. By decomposing the problem into two phases, pre-optimization phase and refining phase, we first find the potential high-quality solution subspace and then search for global optimal solution in the refining phase. To improve clarity, we present the pseudocode Algorithm A1 in Appendix A to illustrate the two-stage pipeline. Considering the complexity of the problem and the hardware limitations of the 100-qubit CIM we used, we adopt a similar strategy to solve the BRO problem. In the pre-optimization phase, OR-Tools [31] is used to generate a high-quality initial guess. Specifically, the CP-SAT solver with default configuration is used. For the entire project, the programming environment is Python 3.10.
In the pre-optimization phase, the objective function and constraints of the classical model are described below. The mathematical notation of the problem is explained in Table 1. When bus transfer is not taken into consideration explicitly, the following general constraints are imposed. Stations are denoted as i, j, or k and we denote E the set of all stations and S E the set of candidate stations for the new bus route. Origin–destination (OD) pairs are denoted as ( i , j ) and the set of OD pairs is W E × E . With A being the set of adjacent stations, an OD pair ( i , j ) A if and only if the distance d i , j between stations i and j does not exceed a given threshold L a . We then construct the the adjacency matrix ( a i j ) , with a i j = 1 if and only if ( i , j ) A and otherwise a i j = 0 . We set x i j the binary variables indicating whether the path from station i to station j is selected in the new bus route, with ( i , j ) A . Thus, we have
x i j a i j , i , j E ,
which ensures that arcs can only be used if ( i , j ) A . For the start station s of the new bus route,
j S x s j = 1
ensures that exactly one arc leaves the start station s; for the terminal station t,
i S x i t = 1
ensures that exactly one arc enters the terminal station t; and for all intermediate stations i S { s , t } ,
j S x i j = k S x k i , i S { s , t }
ensures flow conservation at intermediate stations. The total length of the bus route is related to the city’s scale and the average travel distance of its residents. For urban public bus network, the length of the main routes should ideally be 8–12 km, while for small and medium-sized cities, the lower limit can be relaxed appropriately, and for distinctly linear cities, the upper limit can be relaxed. Overly long bus routes may lead to uneven passenger flow distribution, affecting operational efficiency, while overly short routes may increase passenger transfers and waiting times, negatively impacting the overall scheduling of the bus network. Setting L min and L max as the lower and upper bound of the total length of the new bus route respectively, we have
L min i , j S d i j · x i j L max .
The non-linearity coefficient of a bus route is the ratio of the actual bus route distance to the straight-line distance L s between the given start station s and terminal station t and is upper bounded by L max / L s . A smaller coefficient is preferable, and usually, the non-linearity coefficient for a single route should not exceed 1.4 . Set a binary variable δ i indicating whether the new bus route passes through station i S . δ i = 1 if yes, otherwise δ i = 0 .
δ i k S x i k .
If the new bus route passes through both stations i and j, the travel demand between them is satisfied. Thus, δ i · δ j indicates whether the new route can meet the travel demand from station i to station j. With consideration of the coverage of existing bus network, we define θ i j = 1 if station i S can reach station j E through existing routes, otherwise θ i j = 0 . By definition, θ i i = 1 . Taking bus transfer into consideration explicitly, we define the following: Binary variable Δ i j ( 1 ) = 1 indicates that stations i and j are directly connected, i.e., no transfer is needed; otherwise, Δ i j ( 1 ) = 0 ; binary variable Δ i j ( 2 ) = 1 indicates that stations i and j are connected via transfers; otherwise, Δ i j ( 2 ) = 0 . We then have the following constraints:
Δ i j ( 2 ) δ i + δ j , i , j E ,
constraint (7) ensures that if the new bus route does not pass through either station i or j, it cannot provide transfer service for i j .
Δ i j ( 2 ) 1 Δ i j ( 1 ) , i , j E ,
constraint (8) ensures that if i and j are directly connected by the new bus route, no transfer is needed.
Δ i j ( 2 ) k S δ k θ k i , i , j E ,
Δ i j ( 2 ) k S δ k θ k j , i , j E .
The term k S δ k θ k j > 0 indicates that the new bus route either passes through station i or reaches station j via other bus routes. Thus, constraints (9) and (10) ensure that if the new bus route cannot reach either station i or j, no transfer is possible.
Δ i j ( 2 ) k S k i , j δ k ( θ k i + θ k j ) , i , j E ,
Constraint (11) ensures that if there is no intermediate station on the new bus route that can reach either i or j, no transfer is possible, too, which avoids the case that the new bus route covers station i and passengers directly take other public transportation to reach station j. Subject to the constraints (1)–(11), the objective function
max i , j E n i j · Δ i j ( 1 ) + Δ i j ( 2 ) λ
aims to maximize passenger flow coverage, where n i j is the number of passenger demands with origin station i and destination station j and λ > 1 indicates that the benefit of a bus transfer is 1 / λ times the benefit of a direct connection.

2.2. QUBO Model and CIM

The Ising model was proposed to explain phase transition phenomena in magnetic materials within statistical physics, specifically the disappearance of magnetism above a magnet’s critical temperature. However, it was later discovered to be extensible to numerous other problems in both natural and social sciences [23,26,32,33,34,35]. It remains the only model in statistical physics that simultaneously possesses three advantages: simple formulation, rich implications, and broad applicability, making it suitable for solving various combinatorial optimization problems. Generally, an Ising model can be expressed as
H ( σ ) = i , j J i j σ i σ j i h i σ i ,
where σ represents the spin variable to be determined, corresponding to a binary decision variable with possible values of 1 , 1 , H denotes the Hamiltonian, J is the quadratic coefficient representing interaction terms, typically symmetric ( J i j = J j i ), and h i are linear coefficients representing known quantities. Mathematically, solving for the ground state energy of the Ising model constitutes an integer programming problem, which in large scale belongs to the class of NP-complete problems. This shares similarities with combinatorial optimization problems and inspires us to use quantum computers based on the Ising model to solve combinatorial optimization problems. The specific approach involves converting these problems into the Ising model framework and determining the ground state through quantum physical systems operating via spin dynamics. For a CIM, the system’s “most efficient” collective oscillation mode corresponds to the optimal solution of the given Ising problem.
In order to solve Equation (13) by the CIM we used in this study, an auxiliary spin variable σ a is introduced [32,33] and the problem is restated as
min σ a , σ 1 , σ 2 , , σ N i = 1 N h i σ i σ a i j J i j σ i σ j .
The linear terms are eliminated, which makes the problem suitable for CIM that does not support bias terms. The new Ising problem has two degenerate solutions:
{ σ ^ i } i = 1 N , σ ^ a = 1 and { σ ^ i } i = 1 N , σ ^ a = 1 ,
where { σ ^ i } i = 1 N represents the solution to the original Ising problem. In this way, the effect of the linear bias in Equation (13) is retained in the QUBO model described below.
QUBO (Quadratic Unconstrained Binary Optimization) is one of the most widely used optimization models in quantum computing [36,37,38,39,40,41]. It unifies a rich variety of combinatorial optimization problems and can be accelerated by quantum computers to efficiently solve such problems. Moreover, the QUBO model can also represent bitwise operations, thus facilitating logic design and other operations. Usually, a QUBO model is written as
f Q ( x ) = i = 1 n j = 1 i q i j x i x j ,
where x i { 0 , 1 } are binary decision variables (in QUBO problems, variables take values 0 or 1, not −1 and +1); q i j denotes the coefficients of the quadratic terms, representing the interactions between different variables. Solving the QUBO problem is to find the objective solution
x * = arg min x f ( x ) .
Many classic problems in theoretical computer science, such as Max-Cut, graph coloring, and partitioning, can be transformed into QUBO problems. Some machine learning models can also be embedded into the QUBO framework, including support vector machines, clustering, and probabilistic graphical models. Furthermore, due to its close connection with the Ising model, QUBO has become a core problem class in quantum annealing.
QUBO and Ising models are closely related mathematically and can be mutually transformed through appropriate variable mapping and mathematical conversion. Essentially, they describe similar binary optimization problems. The QUBO model is more convenient for modeling purposes, while the Ising model can be directly used by the CIM solver for computation. To transform between QUBO and Ising models, the following variable substitution is used
σ i = 2 x i 1 ,
x i = ( σ i + 1 ) / 2 .
QUBO models use variables with values of 0 or 1, which makes it more directly applicable to many optimization algorithms, particularly optimization methods in the field of quantum computing. To solve the BRO problem in CIM, the first step is to formulate it as a QUBO model, which can then be directly transformed into an Ising model. CIM is designed to simulate Ising model effectively and the ground energy spin configuration of the Ising model corresponds to the optimal solution. The main goal of CIM is to find this ground energy spin configuration on a sub-millisecond timescale. Because the optical CIM is designed to be all-to-all connective and programmable, the Ising model can be directly simulated and solved utilizing the controllable quantum phase transition inherent to the CIM.
In the QUBO model, each constraint is handled implicitly by adding a penalty term to the objective function. The constraint conditions Equations (1)–(11) can be transformed into the corresponding penalty terms and the original constrained classical model can be equivalently transformed into an unconstrained QUBO model [32,42]. First, the original inequality constraints are transformed into equality constraints by adding slack variables, where all slack variables are non-negative integers and in the binary form. For example, Equation (1) is first transformed to x i j + s i j a i j = 0 . Next, in order to incorporate all equality constraints into the objective function so that the formulation satisfies the QUBO form, the left-hand side is squared and multiplied by a sufficiently large penalty coefficient, and this term is added to the objective function. For example, Equation (1) is transformed into P 1 i , j E x i j + s i j a i j 2 . In this way, when the constraints are satisfied, the corresponding terms in the objective function are zero. The objective minimization will therefore tend to drive all penalty terms to zero, meaning that all constraints are satisfied. Thus, the original model is transformed into the following QUBO model:
H = i , j E n i j Δ i j ( 1 ) + Δ i j ( 2 ) λ + v = 1 11 H v ,
H 1 = P 1 i , j E x i j + s i j a i j 2 ,
H 2 = P 2 j S x s j 1 2 ,
H 3 = P 3 i S x i t 1 2 ,
H 4 = P 4 i S { s , t } j S x i j k S x k i 2 ,
H 5 = P 5 i , j S d i j x i j + k 2 k s 1 k L max 2 + P 6 i , j S d i j x i j L min k 2 k s 2 k 2 ,
H 6 = P 7 i S δ i + m 2 m t i m k S x i k 2 ,
H 7 = P 8 i , j E Δ i j ( 2 ) + r i j 0 + 2 r i j 1 δ i δ j 2 ,
H 8 = P 9 i , j E Δ i j ( 2 ) + w i j + Δ i j ( 1 ) 1 2 ,
H 9 = P 10 i , j E Δ i j ( 2 ) + m 2 m q i j m ( 1 ) k S δ k θ k i 2 ,
H 10 = P 11 i , j E Δ i j ( 2 ) + m 2 m q i j m ( 2 ) k S δ k θ k j 2 ,
H 11 = P 12 i , j E Δ i j ( 2 ) + m 2 m q i j m ( 3 ) k S k i , j δ k ( θ k i + θ k j ) 2 ,
where s i j , s 1 k , s 2 k , t i m , r i j 0 , r i j 1 , w i j , q i j m ( 1 ) , q i j m ( 2 ) , q i j m ( 3 ) { 0 , 1 } are slack variables, and P 1 , , P 12 are penalty parameters chosen to enforce constraints. Based on the Kaiwu SDK [43], we only need to focus on building mathematical models corresponding to their specific scenarios. The methods provided by the Kaiwu SDK can automatically determine the penalty coefficients, which will significantly reduce the difficulty of using CIM to solve practical problems.

3. Experiment

In this section, based on the transport data provided by Beijing Public Transport Group (Beijing, China), we investigate a real-world BRO problem, i.e., planning a new bus route in Beijing with bus transfer taken into consideration. Input data details include: passenger demand matrix n i j with around 40,000 non-zero OD pairs, total passenger demand of around 700,000; distance matrix d i j based on Euclidean distances. In the refining phase, we solve the classical model using Gurobi [44], simulated annealing (SA) [45,46,47,48,49] and Tabu search [50,51], respectively, on a classical computer (3.1 GHz Intel Core i7 CPU and 16 GB memory). Next, The BRO problem in the form of QUBO model is solved using a physical optical 100-qubits CIM manufactured by Beijing Qboson Quantum Technology Co.Ltd. In detail, the 100-qubit CIM based in Beijing operates at a wavelength of 1550 nm and has a pulse repetition rate of 100 MHz. We compare the computation performance of the CIM with that of the classical computer.

3.1. The Principle of CIM Solving Optimization Problems

The optical 100-qubits CIM used in this paper is a specialized quantum computer using a photonic dissipative architecture [18,20,21]. We show the structure and basic principle of the CIM in Figure 1. It defines the state of a qubit ( | 0 and | 1 ) through the phases of optical pulses, solving the Ising model’s optimization problem via interference and oscillation of these pulses in optical parametric oscillators, utilizing the phenomenon of spontaneous symmetry breaking.
First, a pulsed laser is modulated into two pulse sequences through a coupler. One serves as the local oscillator (LO) for subsequent detection of output light phase information; the other acts as the pump pulse, serving as the system’s energy source to continuously supply energy. The optical pulses undergo second-harmonic generation (SHG), doubling the light frequency to create higher-energy light. These then pass through a periodically poled lithium niobate waveguide module (PPLN waveguide), halving the frequency again to introduce randomness in the pulse phases. Simultaneously, through degenerate optical parametric amplification (DOPA), photons accumulate and the pulses are modulated into several signal pulses with random phases.
These signals are then applied to another reference light beam using an intensity modulator (IM) and phase modulator (PM), ultimately combining with the ring cavity signals through an injection coupler for interference (constructive or destructive). This process is called degenerate optical parametric oscillation (DOPO), where IM adjusts light intensity and PM adjusts phase.
During DOPO, signal pulse phases represent spin directions in the Ising model. Initially, due to low system energy, most pulses destructively interfere and return to low-photon-number states, with phases flipping due to quantum noise. As pump pulses continuously inject energy, the system energy increases until reaching a threshold where all pulses stop destructively interfering and flipping phases, which is a quantum phenomenon called spontaneous symmetry breaking. The final phase configuration of these pulses corresponds to the Ising problem’s optimal solution. The FPGA (field-programmable gate array) reads these phases and transmits them to the host computer. For certain structured optimization problems, quantum annealing may exhibit longer time-to-solution or much lower success probability under comparable conditions  [22]. For the BRO problem, a wider range of quantum and quantum-inspired techniques, such as D-Wave’s quantum annealers [4] or Toshiba’s Simulated Bifurcation Machine [52], can be benchmarked in future studies to properly evaluate the suitability and efficiency of our solutions. The optical signals are set to propagate in the fiber loop for thousands of round trips to ensure the optical parametric oscillations reaching a steady state. For the 100-qubits CIM used for this work, the single round-trip time is 2.11 μs and the BRO problem is solved under 1000 round trips; In terms of computational energy consumption, the energy consumed per run is on the order of 24 J = 6.67 × 10 6 kWh . For the BRO problem of the scale and complexity considered in this study, the energy consumption required by a classical computer is also negligible. However, the computational energy consumption of the CIM does not increase rapidly with problem scale or complexity, as the solving time of it is generally on the order of milliseconds [18,19]. In contrast, the solving time and energy consumption of classical computers can increase rapidly with problem scale and complexity [4]. Researchers interested in using the CIM solver can apply for scientific access through the cloud service platform [43].

3.2. Experimental Results

As we explained above, this real-world bus route optimization problem involves at least 60 candidate stations in Beijing with bus transfer taken into consideration. Consequently, the extremely complex and extensive public bus network of Beijing poses significant challenges for classical computers to solve the BRO problem and we choose to adopt the two-stage optimization strategy. In the pre-optimization phase, the objective function Equation (12) is solved using OR-Tools and a new bus route R 1 is designed. The new route chooses 26 stations from the 60 candidate stations. The OR-Tools output was directly used as the initial state for the refining phase. In the refining phase, we need to decide whether station i in R 1 is retained and Gurobi, SA, and Tabu search are used for this purpose, respectively. Specifically, the objective function in the refining phase is
max i = 1 n ω 1 Δ t i ( 1 y i ) ω 2 c i ( 1 y i ) .
If station i is retained, y i = 1 ; otherwise, y i = 0 . ω 1 is the time saving weight, whereas ω 2 represents customer loss penalty weight. Δ t i represents the total travel time reduction for all affected OD pairs after deleting station i, while c i is the number of unsatisfiable OD pairs when station i is removed. Thus, Equation (32) is the weighted score that measures the benefits of removing station i from the bus route R 1 planned in the pre-optimization phase. The solution maps showing the chosen routes in the two phases are presented in Appendix A.
With the QUBO model established, the QUBO matrix can be generated and inputted to the CIM to solve the problem. The CIM works as a black box to output the solution, with no further manipulation needed, which makes the application of CIM very simple and promotes the practical application of quantum computing significantly. We should note that due to the hardware limitation of the 100-qubit CIM, the QUBO matrix (the input to CIM), needs to be reduced in precision. In this study, two different approaches are adopted for this purpose [53]. The precision-adaptive mutation (PAM) method is applied to the QUBO matrix Q, which reduces the hardware requirement by truncating floating-point elements to a lower precision, meanwhile the optimal solution of the objective function remains almost unchanged, but the degree to which the precision can be reduced to depends on inherent reducible space of the matrix Q. The second approach, the precision-adaptive split (PAS) method can modify the matrix to arbitrary precision, but the number of required bits of the new matrix increases rapidly with the magnitude of precision change. The Hamiltonian time-evolution diagram for obtaining the optimal solution by CIM using the two approaches are presented in Figure 2.
To quantify the acceleration capability of CIM, we define the time-saving ratio
τ = t c t cim t c ,
where t c ( t cim ) is the computation time of the classical computer (CIM). The computation performances of Gurobi, SA, Tabu search and CIM are listed in Table 2 and Table 3. The SA optimizer was configured with an initial temperature of 2000, a geometric cooling schedule with rate α = 0.9 , and a cutoff temperature of 0.1. At each temperature, 100 iterations were performed. The acceptance probability followed the standard Metropolis criterion. To allow stochastic variability across runs, no fixed random seed was used. The Tabu search optimizer was configured with a maximum of 100 iterations and all other parameters being default [43]. The computation experiments are repeated for 30 times respectively. The above configurations of SA and Tabu search are prioritized for speed and we still find they are much slower than the CIM. If the SA optimizer is configured with an initial temperature of 1000, a geometric cooling schedule with rate α = 0.85 , and at each temperature, 20 iterations being performed, the runtime of SA could be approximately 10 ms, but the quality of the solution (success probability) may significantly decrease. In Table 2, the PAM method is used to reduce precision. Gurobi is the fastest among the three classical solver, with an average runtime of 1.17 ms. CIM is much faster than Gurobi and the time-saving ratio is 84.06 % . Both CIM and Gurobi can find the optimal solution with a 100 % success probability, while the success probabilities of SA and Tabu are 53.3 % and 16.7 % , respectively.
In Table 3, the PAS method is used to reduce precision. SA is the fastest among the three classical solver, with an average runtime of 77.18 ms. However, SA and Tabu search can only find near-optimal solution while Gurobi can find the optimal solution with a 100 % success probability. Compared to the classical solvers, the time-saving ratio of CIM is at least 97.79 % . In particular, the near-optimal solution found by CIM has an extremely small optimality gap of 0.07 % and CIM can find the optimal solution with 10 % success probability. Furthermore, we see that for the two precision-reduction methods, the average runtime of Gurobi under the same configuration can change significantly, while the runtime of CIM remains approximately 1 ms.

4. Conclusions

Planning a new bus route to optimize passenger flow coverage in a global metropolis like Beijing is a challenging task. When bus transfer is taken into consideration, the existing extremely complex and extensive public bus network of Beijing leads to a problem characterized by high-dimensionality and non-linearity. As classical algorithms using classical computers struggle to deal with this kind of problem, quantum computers shed new light into this field. Utilizing the quantum phenomenon of spontaneous symmetry breaking, CIM has demonstrated its remarkable computational power in combinatorial optimization problems and capability of finding optimal solutions within milliseconds. By constructing the QUBO model of the BRO problems, we solve a complex real-world problem using CIM and demonstrate the acceleration capability of it, albeit subject to the hardware limitations of the 100-qubit CIM. Due to the search-from-below principle of CIM operation [22], we can expect that the advantage of CIM in solving large-scale optimization problems will grow rapidly along with the development of hardware capabilities of coherent Ising machine with thousands of qubits.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/e27090953/s1, Table S1: Experimental results.

Author Contributions

Conceptualization, formal analysis, methodology and software: J.J., Z.L., Y.M., C.Z. and K.W. Supervision, project administration and funding acquisition: Y.M., C.Z. and K.W. Writing—review and editing: J.J., Z.L., Y.B., Y.W., Q.G., Y.M., C.Z. and K.W. All authors have read and agreed to the published version of the manuscript.

Funding

C.Z. thanks the Smart Grid-National Science and Technology Major Project (No. 2024ZD0801900), the Natural Science Foundation of Beijing (No. 1222020), and the National Natural Science Foundation of China (Nos. 11505125, 12175002, 11705004, and 12381240288).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data and Supplementary Materials presented in this study are available on request from the corresponding author.

Acknowledgments

Zhihang Liu thanks Jiawei Lu for valuable and useful discussions that improved this work.

Conflicts of Interest

Authors Jiangwei Ju, Zhihang Liu, Yuelin Bai, Yong Wang, Qi Gao, Yin Ma and Kai Wen were employed by the company Beijing QBoson Quantum Technoogy Co., Ltd. The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

    The following abbreviations are used in this manuscript:
CIMCoherent Ising Machine
BROBus Route Optimization
QUBOQuadratic Unconstrained Binary Optimization
TNDTransport Network Design
SASimulated Annealing

Appendix A. The Chosen Routes and Pseudocode

The solution maps with OpenStreetMap [54] showing the chosen routes in the two phases are presented below.
Figure A1. The solution map showing the chosen route R 1 in the pre-optimization phase. The blue dots represent the candidate stations. The chosen route in the pre-optimization phase consists of 26 stations. The blue circles are the candidate stations and the green (red) star represents the start (terminal) station.
Figure A1. The solution map showing the chosen route R 1 in the pre-optimization phase. The blue dots represent the candidate stations. The chosen route in the pre-optimization phase consists of 26 stations. The blue circles are the candidate stations and the green (red) star represents the start (terminal) station.
Entropy 27 00953 g0a1
Figure A2. The solution map showing the chosen route in the refining phase using the PAM method to reduce precision.
Figure A2. The solution map showing the chosen route in the refining phase using the PAM method to reduce precision.
Entropy 27 00953 g0a2
Figure A3. The solution map showing the chosen route in the refining phase using the PAS method to reduce precision.
Figure A3. The solution map showing the chosen route in the refining phase using the PAS method to reduce precision.
Entropy 27 00953 g0a3
To improve clarity, we present the pseudocode to illustrate the two-stage pipeline OR-Tools + Gurobi, Simulated Annealing or Tabu search.
Algorithm A1 Two-Stage Pipeline: OR-Tools + Gurobi, Simulated Annealing or Tabu search
1:
Stage 1: OR-Tools pre-optimisation
2:
Input: station sets …
3:
Model ← OR-Tools
4:
Define binary variables
5:
Add constraints
6:
Solver ← CP-SAT solver()
7:
Set solver parameters (default configuration)
8:
Solution_or_tools ← solver …
9:
Stage 2: Refinement
10:
Use encoded solution from previous stage: Solution_or_tools
11:
Gurobi, Simulated Annealing or Tabu search
12:
Set parameters
13:
Iterations and selection of solutions …
14:
Output

References

  1. Arute, F.; Arya, K.; Babbush, R.; Bacon, D.; Bardin, J.C.; Barends, R.; Biswas, R.; Boixo, S.; Brandao, F.G.; Buell, D.A.; et al. Quantum supremacy using a programmable superconducting processor. Nature 2019, 574, 505–510. [Google Scholar] [CrossRef]
  2. Boixo, S.; Isakov, S.V.; Smelyanskiy, V.N.; Babbush, R.; Ding, N.; Jiang, Z.; Bremner, M.J.; Martinis, J.M.; Neven, H. Characterizing quantum supremacy in near-term devices. Nat. Phys. 2018, 14, 595–600. [Google Scholar] [CrossRef]
  3. Nielsen, M.A.; Chuang, I.L. Quantum Computation and Quantum Information; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
  4. King, A.D.; Nocera, A.; Rams, M.M.; Dziarmaga, J.; Wiersema, R.; Bernoudy, W.; Raymond, J.; Kaushal, N.; Heinsdorf, N.; Harris, R.; et al. Beyond-classical computation in quantum simulation. Science 2025, 388, 199–204. [Google Scholar] [CrossRef] [PubMed]
  5. Preskill, J. Quantum computing in the NISQ era and beyond. Quantum 2018, 2, 79. [Google Scholar] [CrossRef]
  6. Gilyén, A.; Su, Y.; Low, G.H.; Wiebe, N. Quantum singular value transformation and beyond: Exponential improvements for quantum matrix arithmetics. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, Phoenix, AZ, USA, 23–26 June 2019; pp. 193–204. [Google Scholar]
  7. Zhuang, Y.; Azfar, T.; Wang, Y.; Sun, W.; Wang, X.; Guo, Q.; Ke, R. Quantum computing in intelligent transportation systems: A survey. Chain 2024, 1, 138–149. [Google Scholar] [CrossRef]
  8. Wang, S.; Pei, Z.; Wang, C.; Wu, J. Shaping the future of the application of quantum computing in intelligent transportation system. Intell. Converg. Netw. 2021, 2, 259–276. [Google Scholar] [CrossRef]
  9. Bentley, C.D.; Marsh, S.; Carvalho, A.R.; Kilby, P.; Biercuk, M.J. Quantum computing for transport optimization. arXiv 2022, arXiv:2206.07313. [Google Scholar] [CrossRef]
  10. Dixit, V.V.; Niu, C. Quantum computing for transport network design problems. Sci. Rep. 2023, 13, 12267. [Google Scholar] [CrossRef]
  11. Ceder, A.; Wilson, N.H. Bus network design. Transp. Res. Part Methodol. 1986, 20, 331–344. [Google Scholar] [CrossRef]
  12. Golberg, D.E. Genetic algorithms in search, optimization, and machine learning. Addion Wesley 1989, 1989, 36. [Google Scholar]
  13. Farahani, R.Z.; Miandoabchi, E.; Szeto, W.Y.; Rashidi, H. A review of urban transportation network design problems. Eur. J. Oper. Res. 2013, 229, 281–302. [Google Scholar] [CrossRef]
  14. Guihaire, V.; Hao, J.K. Transit network design and scheduling: A global review. Transp. Res. Part Policy Pract. 2008, 42, 1251–1273. [Google Scholar] [CrossRef]
  15. Ibarra-Rojas, O.J.; Delgado, F.; Giesen, R.; Muñoz, J.C. Planning, operation, and control of bus transport systems: A literature review. Transp. Res. Part Methodol. 2015, 77, 38–75. [Google Scholar] [CrossRef]
  16. Cleophas, C.; Cottrill, C.; Ehmke, J.F.; Tierney, K. Collaborative urban transportation: Recent advances in theory and practice. Eur. J. Oper. Res. 2019, 273, 801–816. [Google Scholar] [CrossRef]
  17. Tong, L.C.; Zhou, L.; Liu, J.; Zhou, X. Customized bus service design for jointly optimizing passenger-to-vehicle assignment and vehicle routing. Transp. Res. Part Emerg. Technol. 2017, 85, 451–475. [Google Scholar] [CrossRef]
  18. Honjo, T.; Sonobe, T.; Inaba, K.; Inagaki, T.; Ikuta, T.; Yamada, Y.; Kazama, T.; Enbutsu, K.; Umeki, T.; Kasahara, R.; et al. 100,000-spin coherent Ising machine. Sci. Adv. 2021, 7, eabh0952. [Google Scholar] [CrossRef]
  19. Inagaki, T.; Haribara, Y.; Igarashi, K.; Sonobe, T.; Tamate, S.; Honjo, T.; Marandi, A.; McMahon, P.L.; Umeki, T.; Enbutsu, K.; et al. A coherent Ising machine for 2000-node optimization problems. Science 2016, 354, 603–606. [Google Scholar] [CrossRef]
  20. McMahon, P.L.; Marandi, A.; Haribara, Y.; Hamerly, R.; Langrock, C.; Tamate, S.; Inagaki, T.; Takesue, H.; Utsunomiya, S.; Aihara, K.; et al. A fully programmable 100-spin coherent Ising machine with all-to-all connections. Science 2016, 354, 614–617. [Google Scholar] [CrossRef] [PubMed]
  21. Wang, Z.; Marandi, A.; Wen, K.; Byer, R.L.; Yamamoto, Y. Coherent Ising machine based on degenerate optical parametric oscillators. Phys. Rev. 2013, 88, 063853. [Google Scholar] [CrossRef]
  22. Hamerly, R.; Inagaki, T.; McMahon, P.L.; Venturelli, D.; Marandi, A.; Onodera, T.; Ng, E.; Langrock, C.; Inaba, K.; Honjo, T.; et al. Experimental investigation of performance differences between coherent Ising machines and a quantum annealer. Sci. Adv. 2019, 5, eaau0823. [Google Scholar] [CrossRef] [PubMed]
  23. Wen, J.; Wang, Z.; Huang, Z.; Cai, D.; Jia, B.; Cao, C.; Ma, Y.; Wei, H.; Wen, K.; Qian, L. Optical experimental solution for the multiway number partitioning problem and its application to computing power scheduling. Sci. China Physics, Mech. Astron. 2023, 66, 290313. [Google Scholar] [CrossRef]
  24. Zha, J.; Su, J.; Li, T.; Cao, C.; Ma, Y.; Wei, H.; Huang, Z.; Qian, L.; Wen, K.; Zhang, J. Encoding molecular docking for quantum computers. J. Chem. Theory Comput. 2023, 19, 9018–9024. [Google Scholar] [CrossRef]
  25. Li, W.; Wang, C.; Wei, H.; Hou, S.; Cao, C.; Pan, C.; Ma, Y.; Wen, K. Unified sparse optimization via quantum architectures and hybrid techniques. Quantum Sci. Technol. 2025, 10, 025059. [Google Scholar] [CrossRef]
  26. Huang, Y.; Li, W.; Pan, C.; Hou, S.; Lu, X.; Cui, C.; Wen, J.; Xu, J.; Cao, C.; Ma, Y.; et al. Quantum computing for mimo beam selection problem: Model and optical experimental solution. In Proceedings of the GLOBECOM 2023-2023 IEEE Global Communications Conference, Kuala Lumpur, Malaysia, 8–12 December 2023; IEEE: New York, NY, USA, 2023; pp. 5463–5468. [Google Scholar]
  27. Li, W.; Wang, C.; Zhu, H.; Gao, Q.; Ma, Y.; Wei, H.; Wen, K. Quantum-Classical Hybrid Quantized Neural Network. arXiv 2025, arXiv:2506.18240. [Google Scholar] [CrossRef]
  28. Kepaptsoglou, K.; Karlaftis, M. Transit route network design problem. J. Transp. Eng. 2009, 135, 491–505. [Google Scholar] [CrossRef]
  29. Bubeck, S.; Jiang, Q.; Lee, Y.T.; Li, Y.; Sidford, A. Near-optimal method for highly smooth convex optimization. In Proceedings of the Conference on Learning Theory, PMLR, Phoenix, AZ, USA, 25–28 June 2019; pp. 492–507. [Google Scholar]
  30. Gunantara, N. A review of multi-objective optimization: Methods and its applications. Cogent Eng. 2018, 5, 1502242. [Google Scholar] [CrossRef]
  31. Benoit, A.; Asef, P. Navigating Intelligence: A Survey of Google OR-Tools and Machine Learning for Global Path Planning in Autonomous Vehicles. Adv. Intell. Syst. 2024, 6, 2300840. [Google Scholar] [CrossRef]
  32. Lucas, A. Ising formulations of many NP problems. Front. Phys. 2014, 2, 5. [Google Scholar] [CrossRef]
  33. Mohseni, N.; McMahon, P.L.; Byrnes, T. Ising machines as hardware solvers of combinatorial optimization problems. Nat. Rev. Phys. 2022, 4, 363–379. [Google Scholar] [CrossRef]
  34. Tang, L.; Yang, C.; Wen, K.; Wu, W.; Guo, Y. Quantum computing for several AGV scheduling models. Sci. Rep. 2024, 14, 12205. [Google Scholar] [CrossRef]
  35. Boettcher, S. Deep reinforced learning heuristic tested on spin-glass ground states: The larger picture. Nat. Commun. 2023, 14, 5658. [Google Scholar] [CrossRef] [PubMed]
  36. Glover, F.; Kochenberger, G.; Du, Y. A tutorial on formulating and using QUBO models. arXiv 2018, arXiv:1811.11538. [Google Scholar]
  37. Bowles, J.; Dauphin, A.; Huembeli, P.; Martinez, J.; Acín, A. Quadratic unconstrained binary optimization via quantum-inspired annealing. Phys. Rev. Appl. 2022, 18, 034016. [Google Scholar] [CrossRef]
  38. Guerreschi, G.G. Solving quadratic unconstrained binary optimization with divide-and-conquer and quantum algorithms. arXiv 2021, arXiv:2101.07813. [Google Scholar]
  39. Jiang, J.R.; Chu, C.W. Classifying and benchmarking quantum annealing algorithms based on quadratic unconstrained binary optimization for solving NP-hard problems. IEEE Access 2023, 11, 104165–104178. [Google Scholar] [CrossRef]
  40. Oshiyama, H.; Ohzeki, M. Benchmark of quantum-inspired heuristic solvers for quadratic unconstrained binary optimization. Sci. Rep. 2022, 12, 2146. [Google Scholar] [CrossRef] [PubMed]
  41. Boettcher, S. Analysis of the relation between quadratic unconstrained binary optimization and the spin-glass ground-state problem. Phys. Rev. Res. 2019, 1, 033142. [Google Scholar] [CrossRef]
  42. Wolsey, L.A.; Nemhauser, G.L. Integer and Combinatorial Optimization; John Wiley & Sons: Hoboken, NJ, USA, 1999. [Google Scholar]
  43. Beijing Qboson Quantum Technology Co. Ltd. Kaiwu SDK. 2025. Available online: https://platform.qboson.com (accessed on 7 May 2025).
  44. Gurobi Optimization, LLC. Gurobi Optimizer Reference Manual. 2025. Available online: https://docs.gurobi.com/projects/optimizer/en/current/index.html (accessed on 20 August 2025).
  45. Pincus, M. A Monte Carlo method for the approximate solution of certain types of constrained optimization problems. Oper. Res. 1970, 18, 1225–1228. [Google Scholar] [CrossRef]
  46. Kirkpatrick, S.; Gelatt Jr, C.D.; Vecchi, M.P. Optimization by simulated annealing. Science 1983, 220, 671–680. [Google Scholar] [CrossRef]
  47. Fan, W.; Machemehl, R.B. Using a simulated annealing algorithm to solve the transit route network design problem. J. Transp. Eng. 2006, 132, 122–132. [Google Scholar] [CrossRef]
  48. Yu, B.; Yang, Z.Z.; Jin, P.H.; Wu, S.H.; Yao, B.Z. Transit route network design-maximizing direct and transfer demand density. Transp. Res. Part Emerg. Technol. 2012, 22, 58–75. [Google Scholar] [CrossRef]
  49. Queiroz, M.; Sörensen, K. Evaluating a Simulated Annealing metaheuristic for the Heterogeneous On-Demand Bus Routing Problem with a novel experimental setup. Comput. Oper. Res. 2025, 107116. [Google Scholar] [CrossRef]
  50. Glover, F. Future paths for integer programming and links to artificial intelligence. Comput. Oper. Res. 1986, 13, 533–549. [Google Scholar] [CrossRef]
  51. Osaba, E.; Villar-Rodriguez, E.; Oregi, I.; Moreno-Fernandez-de Leceta, A. Focusing on the Hybrid Quantum Computing—Tabu Search Algorithm: New Results on the Asymmetric Salesman Problem; Association for Computing Machinery: New York, NY, USA, 2021. [Google Scholar]
  52. Goto, H.; Tatsumura, K.; Dixon, A.R. Combinatorial optimization by simulating adiabatic bifurcations in nonlinear Hamiltonian systems. Sci. Adv. 2019, 5, eaav2372. [Google Scholar] [CrossRef] [PubMed]
  53. Mücke, S.; Gerlach, T.; Piatkowski, N. Optimum-preserving QUBO parameter compression. Quantum Mach. Intell. 2025, 7, 1. [Google Scholar] [CrossRef]
  54. OpenStreetMap contributors. OpenStreetMap. 2025. Available online: https://www.openstreetmap.org (accessed on 22 August 2025).
Figure 1. Structure and basic principle of the CIM.
Figure 1. Structure and basic principle of the CIM.
Entropy 27 00953 g001
Figure 2. Hamiltonian time-evolution diagram for obtaining the optimal solution by CIM. (a) Precision reduction using the PAM method. (b) Precision reduction using the PAS method.
Figure 2. Hamiltonian time-evolution diagram for obtaining the optimal solution by CIM. (a) Precision reduction using the PAM method. (b) Precision reduction using the PAS method.
Entropy 27 00953 g002
Table 1. Mathematical notation.
Table 1. Mathematical notation.
SSet of candidate stations for the new bus route
ESet of all stations
WSet of OD pairs
ASet of adjacent stations
x i j Binary variable indicating whether the path from station i to station j is selected (i and j are adjacent stations).
n i j Number of passenger demands with origin station i and destination station j
a i j Constant indicating whether stations i and j are adjacent stations. If the distance between them is below a certain threshold, a i j = 1 ; otherwise, a i j = 0 .
d i j Path length between stations i and j
θ i j Constant. θ i j = 1 indicates that station i S can reach target station j E via existing bus routes. Otherwise, θ i j = 0 . Note that θ i i = 1 .
Table 2. Computation performances of Gurobi, SA, Tabu search, and CIM with the PAM method.
Table 2. Computation performances of Gurobi, SA, Tabu search, and CIM with the PAM method.
PAMCIMGurobiSATabu
Average Runtime ± SD (ms)0.19 ± 0.161.17 ± 0.3269.57 ± 6.2673.86 ± 8.01
Time-saving ratio (%) 84.0699.7399.75
Success Probability (%)10010053.316.7
Table 3. Computation performances of Gurobi, SA, Tabu search and CIM with the PAS method.
Table 3. Computation performances of Gurobi, SA, Tabu search and CIM with the PAS method.
PASCIMGurobiSATabu
Average Runtime ± SD (ms)1.71 ± 1.50999.87 ± 14.6777.18 ± 8.89121.42 ± 9.08
Time-saving ratio (%) 99.8397.7998.60
Optimality Gap (%)0.0701.630.70
Success Probability (%)1010000
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ju, J.; Liu, Z.; Bai, Y.; Wang, Y.; Gao, Q.; Ma, Y.; Zheng, C.; Wen, K. Quantum Computing for Transport Network Optimization. Entropy 2025, 27, 953. https://doi.org/10.3390/e27090953

AMA Style

Ju J, Liu Z, Bai Y, Wang Y, Gao Q, Ma Y, Zheng C, Wen K. Quantum Computing for Transport Network Optimization. Entropy. 2025; 27(9):953. https://doi.org/10.3390/e27090953

Chicago/Turabian Style

Ju, Jiangwei, Zhihang Liu, Yuelin Bai, Yong Wang, Qi Gao, Yin Ma, Chao Zheng, and Kai Wen. 2025. "Quantum Computing for Transport Network Optimization" Entropy 27, no. 9: 953. https://doi.org/10.3390/e27090953

APA Style

Ju, J., Liu, Z., Bai, Y., Wang, Y., Gao, Q., Ma, Y., Zheng, C., & Wen, K. (2025). Quantum Computing for Transport Network Optimization. Entropy, 27(9), 953. https://doi.org/10.3390/e27090953

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop