Abstract
Quantum optimization has recently drawn considerable attention as one of the possible applications of noisy intermediate-scale quantum computation, yet the problem of qubit requirement remains a major bottleneck when combinatorial optimization problems are converted into quantum circuits. This issue becomes especially critical in solving the capacitated vehicle routing problem (CVRP) with the quantum approximate optimization algorithm (QAOA), since the number of required qubits increases polynomially with respect to the number of nodes. This study investigates whether a heuristic divide-and-conquer strategy can be adapted to the quantum setting so as to improve qubit efficiency while preserving the optimization capability to a reasonable extent. The proposed method decomposes a single CVRP into multiple traveling salesman problems (TSPs) by the sweeping-based clustering method, searches for the sector configuration with the smallest angle sum by Grover’s search algorithm, and then solves each sector-wise TSP with the QAOA aided by the gravitational search algorithm. Experiments on five benchmark datasets show that the proposed approach attains feasible solutions within 3.4 to 12.7% of the reinforcement-learning baseline on the main test set. These results suggest that the proposed approach serves as a plausible quantum heuristic framework for constrained routing optimization, with the advantage of reducing the qubit burden by decomposing the original problem into smaller subproblems.
Keywords:
capacitated vehicle routing problem; quantum approximate optimization algorithm; quadratic unconstrained binary optimization; grover’s search algorithm; gravitational search algorithm; quantum heuristic optimization MSC:
68Q12
1. Introduction
In spite of its relatively short history of advancement, quantum computing is now regarded as one of the most highlighted domains of research and investment in the field of information technology. How well quantum computers will be able to actually perform still remains mostly unknown, but their seemingly optimistic potential has been drawing attention in various areas of interest from the theoretical sciences, such as chemistry simulation, to the industrial applications, including quantum machine learning [1]. Indeed, a number of studies have been recently introduced as a series of preliminary attempts to apply the known quantum advantages to several real-world problems, and although the first arrival of fully functional quantum computers are yet to come, we deem that it is safe enough to state that the practicability of quantum algorithms has been partially, if not fully, proven [2].
It has long been anticipated that the computational abilities of machines powered by quantum mechanics could dramatically surpass those of the classical counterparts, but the eye-catching terms such as quantum advantage or quantum supremacy have rather recently spread widely, thanks to the current competitions among the tech giants. For example, Google’s initial claim of achieving the first verified quantum supremacy was quickly defied by IBM in 2019, arousing the worldwide curiosity upon the controversial topic [3]. Apparently, the ongoing attention on quantum computing is largely due to the anticipation that it could provide with new approaches to handle the extremely large and complex problems, for which classical computers are generally considered either incapable or ineffective [4].
Devising quantum-intrinsic algorithms is a difficult task, since the logical systems behind quantum and classical circuits differ to a great extent. Even in the case of simple operations such as the basic arithmetic, it can be evidently shown that the quantum circuit is wired in a way that the classical circuit barely resembles [5]. Therefore, it has been a popular practice in the field of quantum computing to imitate the operational structure of the known, validated classical algorithms and reproduce their processes under the quantum rules. Quantum machine learning, quantum reinforcement learning, and quantum genetic algorithms are only a few well-known examples, not to mention a lot more of them throughout multiple domains of research in computer science.
Our study introduced in this paper is a contribution to the contemporary efforts of developing quantum algorithms, inspired by and based on the classically structured and functioning algorithms, that are intended to be applicable to real-world problems through which their practicability and feasibility could be verified with reasonable bench-marking. Specifically, we mainly focus on replicating the process and advantages of a heuristic optimization strategy upon a quantum computation structure to solve spatially large and complex optimization problems such as the capacitated vehicle routing problem (CVRP), which is the target of our choice in this study.
Decomposing a larger problem into smaller sub-problems is one method of the heuristic approach that can often simplify the given task. One could turn this fact to good advantage by removing the “dead-weight” factors, such as constraints in the constraint optimization problems, while keeping the increase in the algorithm’s overall complexity at bay. Our proposed approach is an attempt to examine whether imitation of a heuristic, divide-and-conquer model in a quantum computing environment could improve its computational effectiveness as an optimization problem solver, as well as to foster comparably economic use of quantum resources including qubits, the quantum version of bits.
The CVRP is one of the crucial and traditional archetypes of the combinatorial optimization problems. It is a broader, or generalized, traveling salesman optimization problem that involves a number of travellers with constraints, such as cargo weight, for all of which the optimal paths are sought [6]. Reversing the aforementioned notion, our intention is to decompose a single CVRP into several TSPs and resolve each individually with quantum computation. In detail, we exploit several quantum techniques, such as Grover’s search algorithm and the quantum approximate optimization algorithm, in an attempt to effectively divide the search space into smaller sectors and to solve the transformed TSPs individually.
This paper contains the following structure. In Section 2, we will briefly review the related studies on similar topics. In Section 3, the background information on quantum computing and several necessary techniques is introduced to help readers comprehend the theoretical aspects of this study. In Section 4 and Section 5, we thoroughly explain the proposed approach and share its experiment results. In Section 6, we make an analysis on the results, and we close the paper with conclusion in Section 7.
2. Related Literature Review
Quantum optimization is one of the major research branches of quantum computing, and many studies have already been introduced with regards to real-world applications, including the subject of path-finding problems presented by the TSP and VRP. In this section, we introduce a few noteworthy examples that we consider are relevant to our study. It is regarded that quantum optimization can be achieved via both the annealing-based and the circuit-based paradigms [7]. Here, we particularly focus on the circuit-based approaches that suit our research direction.
Apparently, the idea of performing optimization with quantum computation was not proposed by a single, distinct work. It was rather derived from the common belief among many that quantum computing, noted with its theoretically known advantages, could improve the computational efficiency in terms of both time and space. Nonetheless, it is generally recognized that Grover’s search algorithm in 1996 marks an exceptional impact upon countless successive studies across numerous domains, and quantum optimization is no exception [8]. The main contribution of Grover’s algorithm to effectively find an item out of an unordered data list appears to be highly applicable to various optimization techniques, and various works devoted to quantum optimization admit that their methods either adopt or are inspired by Grover’s algorithm [9]. In fact, the quantum algorithms for minimum and maximum searching, which are often an important task in optimization, are largely based on the methodology proposed by Grover [10,11].
The recent advancement in building actual quantum processors has widened the understanding of physical limitations as well, implying that fully functional quantum computers still require a substantial amount of time before realization. It was thus proposed that advancement of the noisy intermediate-scale quantum (NISQ) era must be taken into account [12]. The most distinctive feature of the NISQ algorithms is their classical–quantum hybrid structure, where both classical and quantum algorithms are run one after the other to complete a given task. One of the most well-known NISQ algorithms is the quantum approximate optimization algorithm (QAOA) [13], which is also introduced and applied in this study.
There have been multiple approaches proposed with regards to solving the VRP and TSP with quantum computation, where they are often referred to as the quantum VRP (QVRP) and quantum TSP (QTSP). Specifically, these studies have investigated circuit-based quantum approaches for solving routing problems directly. Harwood et al. in 2021 described a series of mathematical optimization models, along with their pros and cons, that are specially designed to solve the QVRP with time windows [14]. In addition, Fitzek et al. and Azad et al., in 2021 and 2022, respectively, presented their evaluations on utilizing the QAOA to solve the QVRP. They reached similar conclusions, noting that the QAOA is reasonably applicable to combinatorial optimization algorithms including the QVRP [15,16].
Some later studies adopted a two-phase or decomposition-based strategy in an attempt to solve the CVRP more effectively. The key concept is to decompose the original problem into multiple sub-problems and treat one after the other, aiming to compromise the lack of computational resources by the current hardware constraints. For example, Palackal et al. demonstrate the method of reducing a CVRP to a set of TSPs by modeling it as a multiple knapsack problem and distributing customer locations accordingly [17]. One other study by Herzog et al. proposes exploitation of a graph-shrinking method, which is devised to partition the problem graph heuristically for clustering purposes [18]. Additionally, Feld et al. and Borowski et al. introduce a number of algorithms that extensively utilize the process of quantum annealing [19,20].
A number of studies focused on improving the quality or feasibility of circuit-based route optimization itself. Some of them suggest use of Quantum Alternating Operator Ansatz on the matter, which is a variant of the QAOA and often abbreviated as AOA. For example, Xie et al. argue in their study that adopting AOA instead of QAOA leads to significantly increasing the solution’s feasibility and observation probability [21]. A paper by Hadfield et al. introduces a technique to better present the TSP-related constraints by selectively representing permutation matrices via superposition [22], while Bärtschi et al. propose an initialization method that improves the results by generating a uniform superposition over all such states [23]. In addition, the survey by Gemeinhardt et al. published in 2023 presents a detailed review of various quantum applications to combinatorial optimization problems [24].
Despite the preceding efforts, relatively little has been explicitly discussed on constructing a unified circuit-based quantum framework that addresses both the decomposition and routing steps for the CVRP. A number of existing studies, introduced above, either focus on the routing problem after a pre-defined clustering process or rely on quantum annealing-based approaches rather than circuit-based methods. In addition, the problem of reducing qubit burden by heuristically decomposing a single CVRP into smaller sub-problems, while preserving the optimization capability to a reasonable extent, has not been sufficiently examined. The main purpose of this study is to address this gap by proposing a quantum divide-and-conquer framework that transforms a single CVRP into multiple sector-wise TSPs, adopts Grover’s search algorithm to determine the sector configuration, and solves each resulting TSP by the quantum approximate optimization algorithm aided by the gravitational search algorithm. Through this structure, this study aims to examine the feasibility of a qubit-efficient heuristic optimization framework for constrained routing problems.
3. Quantum Computing Preliminaries
In this section, we briefly explain the foundational elements, including quantum computing and quantum information, that could help comprehend the context of our study. For the quantum-related parts, since they are discussed here in a relatively concise manner, readers are encouraged to refer to [2,4] for further readings that will provide all the necessary details.
3.1. Qubit and Quantum State
Qubit is a quantum analog of bit in a conventional computer, which acts as a basic data block. Unlike a bit, a qubit can represent the values of 0 and 1 simultaneously if a proper operation is applied to it. In terms of quantum physics, this phenomenon of superposition is more complex than it appears, since what actually coexist are their probability amplitudes, not the presence of the values themselves. In the literature on quantum computing in general, however, it is often described as mere possessing of two different values at the same time for the sake of simplistic explanation.
Any process of quantum computation can be written entirely with the linear algebraic description. A quantum state of a qubit, basically a specific vector representation in a Hilbert space, is written as
which is called the state vector representation. and are the probability amplitudes of and , respectively, constituting the square root of their relative probabilities for observation after measurement. Therefore, holds. A quantum state of multiple qubits can be written with the tensor product.
Note that the number of simultaneously represented states above is 4, which is two raised to the power of the number of qubits. Indeed, the number of states increases exponentially with the number of qubits put into superposition to represent them. In other words, placing n qubits into equal superposition enables representing at most quantum states.
A series of changes made to quantum states during quantum computation can be at the end turned into observables, and such jobs are done by quantum operators, which are generally in the form of a matrix gate. There are several important quantum operators frequently used for crucial calculations. The Hadamard gate H puts a qubit into superposition as shown in the following:
The two states now share equal probability to be measured, i.e., 50%. Note that the Hadamard gate is unitary, i.e., . In fact, every quantum gate is unitary in the sense that the quantum reversibility must be preserved as long as the system remains coherent. In terms of quantum mechanics, a quantum gate itself can be regarded as a Hamiltonian time evolution. Another important gate is the phase shift gate, which intrinsically takes the form of
which changes the relative phase of the component while leaving the computational-basis probabilities unchanged. In geometric terms, corresponds to a rotation about the z-axis on the Bloch sphere shown in Figure 1. Such phase-based operations are important because interference among quantum states depends not only on amplitudes but also on their relative phases.
Figure 1.
Bloch sphere with an arbitrary quantum state , marked as a red dot on its surface.
The phase shift gates generalize several notable quantum gates, including the Pauli-Z operator, which rotates the qubit state about the z-axis by radians. They are not Hermitian, and their application does not change the probability amplitudes of quantum states. Nonetheless, their role in quantum computing is significant and is vastly discussed in detail in relative studies.
Lastly, there is the measurement operator that marks the end of a certain process of quantum computation. The act of measurement collapses the quantum state, and in terms of quantum computing, it essentially transforms quantum information into classical information, which can be written with classical bits of 0 or 1. It probabilistically retrieves the information accordingly with the probability amplitudes of the superposed states, and the information of those not chosen is irreversibly lost. Quantum measurement lies between the quantum and classical systems, and is thus one of the most crucial concepts of quantum computing.
3.2. Quantum Search on Unordered Data Structure
The quantum unordered data search, widely known as Grover’s search algorithm, is designed to deliberately raise the probability amplitude of a desired state, which represents an item to pick, thereby increasing the chance to preserve it after wave function collapse at the measurement. In short, Grover’s algorithm iteratively performs the two-fold process of the oracle encoding and the Grover diffusion.
An oracle is an operator that “loads” a target problem into a quantum circuit. In other words, it prepares input data that the circuit’s main algorithm receives to operate with, including the desired state marked by the problem function. In the theoretical perspective, a quantum oracle is regarded as a black-box operation, since its actual implementation is often burdensome and thus omitted especially when it is less prioritized in terms of the scope of research. However, its usefulness lies on its capability to calibrate the theoretical complexity of the algorithm [25]. Depending on choice of the classical-to-quantum data encoding methods, the gate configuration of an oracle could vary. In implementing Grover’s algorithm, the oracle performs the basis encoding, i.e., translating real numbers into binary strings of 0 and 1.
What the oracle essentially prepares is a set of quantum states, each of which represents an item from an unordered data list. Since the qubits that form these states are put into superposition beforehand, the upper bound of the number of items is exponentially larger than the number of qubits loaded on the circuit to represent them. The states then proceed to the second step, the Grover diffusion, where their probability amplitudes are manipulated in pursuit of amplifying the marked state’s probability to a sufficient degree enough that it can be guaranteed to be observed after measurement. The Grover diffusion operates via two vector reflection processes, as shown in Figure 2. The number of iterations for Grover diffusion before attaining the desired item with high probability is analyzed as with N items in total, and this evaluation is the basis to the popular claim that Grover’s algorithm is quadratically faster than any known classical search algorithms [2].
Figure 2.
Grover diffusion process. A quantum state vector starts from equal superposition and rotates in the system’s Hilbert space by the two Grover reflection operators and with the reflective angle of . The goal is to move to , the desired state.
Since its revelation in 1997, Grover’s search algorithm has been further investigated and improved in multiple studies, among which the Grover-BBHT algorithm is particularly worth mentioning. The original algorithm demands the predetermined number of solutions before searching, since its required number of iterations depends on how many states are to be marked by the oracle. The Grover-BBHT algorithm circumvents this flaw by iterating the entire algorithm itself accordingly with threshold updates. The asymptotic upper bound of the algorithm’s complexity is kept at the same level, allowing the authors to claim that the quantum advantage of the original algorithm remains preserved [26]. The Grover-BBHT algorithm has become the basis of the quantum minimum and maximum finding methods [11].
It is worth noting that, in problems such as the CVRP, the feasibility conditions are not naturally given as an unordered list to be searched, and thus the oracle must be constructed so that the target condition is represented in a circuit-compatible form. Depending on the encoding strategy, this process may require additional ancilla qubits, comparison circuits, and data-loading overhead, which can reduce the practical benefit of the algorithm. Partially due to this reason, Grover’s algorithm is not used in this study to solve the constrained CVRP directly. Instead, it is employed only for the limited task of selecting the sector configuration, which keeps the oracle-setting process simpler than the direct encoding of the original routing constraints.
3.3. Quantum Approximate Optimization Algorithm
Implementing the whole algorithmic procedure from the beginning to the end under a quantum system is, in a practical sense, a difficult goal to achieve. Building and operating quantum processors in the real world have already been faced with several physical limitations, including the problem of quantum decoherence [2]. Therefore, the idea of noisy intermediate-scale quantum (NISQ) machines emerged, seeking quantum–classical hybrid approaches in order to secure increased practicality of quantum implementation with partial adoption of classical computation. The quantum approximate optimization algorithm, or QAOA, is one of the NISQ methods proposed to perform quantum optimization with the aid of a classical optimizer.
The QAOA is classified as a variational quantum algorithm, for which a classical algorithm is used to gradually optimize a parameterized quantum circuit via multiple iterations [27]. The circuit is divided into two parts, the problem Hamiltonian and the mixer Hamiltonian. The problem Hamiltonian is where a problem is loaded, and the mixer Hamiltonian guarantees that the result of each computation step is reflected upon the states. With regards to solving an optimization problem with the QAOA, it is a conventional approach to first convert the problem into the form of quadratic unconstrained binary optimization (QUBO), which then can be regarded as an Ising model. The converted problem is loaded on the gates as parameters inside the problem Hamiltonian, and each of these gates performs single-qubit rotation around the z-axis by degrees read from the parameters.
With a quantum state with x as a real-valued parameter, the task now is to minimize the expectation value of the total energy in the Hamiltonian H:
Here, is the expected cost value obtained from the state , and minimizing it is equivalent to searching for a state that approximates the ground state of the problem Hamiltonian H. In other words, the original combinatorial optimization problem is transformed into the task of finding the parameter setting that yields the lowest Hamiltonian expectation value.
To load a binary optimization problem into the Hamiltonian, the binary decision variable is mapped to the Pauli-Z operator by
where is the classical binary variable and is the corresponding Pauli-Z operator acting on the qubit assigned to that variable. Through this mapping, the classical cost function can be rewritten in an operator form and treated as a quantum Hamiltonian. Additionally, the Pauli-Z operator has the following relationship with the rotation gate :
The problem now has turned into finding , the angle that minimizes the problem Hamiltonian’s expectation value. Additionally, the algorithm requires a proper angle for the mixer Hamiltonian, demanding two angle parameters and . Overall, the main objective is to find the minimum value possible for the expectation value of the problem Hamiltonian , which is . It can be achieved by attaining two optimized angle parameters for the following state:
where is the unitary generated by the problem Hamiltonian , is the unitary generated by the mixer Hamiltonian , and p denotes the number of alternating layers. The role of the classical optimizer is to search for the parameters and that minimize . Therefore, the QAOA can be regarded as a hybrid iterative procedure in which the quantum circuit evaluates candidate parameters and the classical optimizer updates them.
It should be noted that the NISQ framework does not eliminate the physical limitations of actual quantum computation. Diverse factors such as noise accumulation and circuit-depth sensitivity remain substantial obstacles in practical optimization tasks. In particular, when a combinatorial problem is loaded by a direct QUBO-type encoding, the number of required qubits and the depth of the corresponding circuit may increase rapidly with the problem size, and the resulting computation may become vulnerable to error explosion. Therefore, decomposition of the original problem into smaller sub-problems introduced in this study should not be interpreted as a complete resolution of the NISQ limitations but as a heuristic strategy that may alleviate the qubit burden of each routing sub-problem at the cost of additional pre-processing and route-combination steps.
3.4. Gravitational Search Algorithm
The QAOA requires a classical optimizer to find suitable parameters for the circuit gates. The optimizer selected in this study is the Gravitational Search Algorithm (GSA), a classical optimization technique inspired by the gravitational laws of nature [28]. Among the numerous optimization techniques available in the literature, the GSA was chosen for the following reasons. First, the parameter set to be optimized in the QAOA consists of continuous-valued rotation angles, and the GSA is known to be suitable for optimization in a continuous search space [29]. Second, the expectation-value landscape returned by a variational quantum circuit may contain multiple local optima, for which a population-based meta-heuristic approach is considered appropriate. Third, this study is primarily concerned with examining the feasibility of the proposed quantum heuristic framework rather than exhaustively tuning the classical optimization stage itself, and the structurally simple iterative mechanism of the GSA is suitable for such a proof-of-concept setting. Therefore, GSA was adopted as the classical optimizer for updating the QAOA parameters.
The main principle of the GSA is its methodological metaphor of the Newtonian law of gravitation, stating that the mass of an object is proportional to the gravitational force it exerts [30]. The algorithm starts with generating a set of agents, which are then to be constantly and iteratively repositioned in the search space, accordingly with their masses and the corresponding gravitational interactions among them. The mass of each agent is recalculated at the end of each iteration , following the equation
where is the agent’s fitness value at . and are the agents with the highest and the lowest fitness values at , respectively. In other words, the mass of each agent constantly changes based on its interaction with the environment. The gravitational force,
between each pair of agents with masses and , apart by the distance of under the gravitational constant , is then calculated to find their velocity and acceleration, which are
and
respectively, with as a random coefficient used to preserve stochastic exploration. The graphical representation of the mentioned process is shown in Figure 3. In this study, the position of each agent represents a candidate set of QAOA parameters, and the corresponding fitness is evaluated from the expectation value returned by the quantum circuit. The GSA then repeatedly updates the candidate parameter vectors so that the QAOA may gradually approach a lower-cost solution. The overall optimization procedure of the GSA as used in the workflow described above is summarized in Algorithm 1.
Figure 3.
A 2D graphical abstract of a GSA agent relocated due to the gravitational effects from surrounding agents.
The concepts introduced in this section constitute the main computational elements of the proposed framework. In the following section, the CVRP is first formulated in a QUBO-compatible form, after which the sweeping-based clustering method is used to decompose the original problem into sector-wise TSPs. Grover’s search algorithm is then applied to select the sector configuration, while the QAOA and the GSA are jointly used to solve the resulting TSP in each sector. With these components combined, the next section presents the overall quantum heuristic approach in detail.
| Algorithm 1 GSA-based optimization of QAOA parameters. | |
| 1: | Input: number of agents k, number of iterations g, QAOA layer number p, search ranges of and |
| 2: | Output: optimized parameter vector (, ) |
| 3: | Generate k agents with random initial positions in the parameter space |
| 4: | Assign each agent’s position to a candidate QAOA parameter vector |
| 5: | Evaluate the fitness of each agent by computing the QAOA circuit expectation value |
| 6: | for to g do: |
| 7: | Find the current best and worst fitness values |
| 8: | Compute the mass of each agent |
| 9: | Compute the gravitational forces among the agents |
| 10: | Compute acceleration and velocity |
| 11: | Update the position of each agent in the parameter space |
| 12: | Re-evaluate the fitness values of the updated agents |
| 13: | end for |
| 14: | Return the parameter vector of the best agent |
4. Quantum Heuristic Approach
In this section, we introduce the proposed approach to achieve quantum optimization with a heuristic method as to the task of solving the VRP, based on the theoretical foundations introduced previously. The following principal notations may appear throughout the section and are recommended to be referred to for full comprehension.
4.1. Problem Formulation
A few studies on quantum optimization theory have introduced the adaptation of the QAOA on solving combinatorial optimization problems with notable results, but little has been addressed with regards to the number of required qubits to actuate their simulation methods. This issue is especially critical when converting a VRP instance into an Ising form for the problem Hamiltonian of the QAOA, since the number of required qubits is at least a polynomial of the number of the total nodes squared, or, more specifically, where n is the number of nodes [16]. While increasing computational efficiency is one important goal of developing quantum algorithms, regulating the number of utilized qubits to a reasonable extent is also a crucial factor, considering the coherence and result accuracy of the algorithm [31]. The choice of framework for the approach proposed in this paper is to decompose the VRP with the sweep method into several sub-problems that are represented as the TSPs, and the main motivation is to investigate whether such a framework could provide an aid to the current attempt of developing qubit-efficient quantum algorithms.
The TSP in a general form can be described as a linear program with the objective function
where is the distance between the destinations, or the nodes, i and j, with a binary decision variable
where . On the other hand, we assume a VRP with the following formulation.
where . The equations above represent a conventional VRP with capacity constraints, often abbreviated as CVRP. Equation (15) dictates the objective function to minimize the total distance of the chosen route. An additional continuous decision variable is introduced to represent the cumulated demand on the route that visits node j up to this visit. Equation (16) ensures that all customers are visited exactly once, and Equation (17) guarantees the correct flow of vehicles through the arcs by stating that if a vehicle arrives at h, then it must depart from the same node. Equation (18) limits the maximum number of routes to K, the number of vehicles. With regards to the capacity constraints, the followings conditions prevent the vehicle capacity from exceeding beyond the limit.
where is the demand of node j, Q is the maximum vehicle capacity, and is the lower bound associated with the demand variable. Equation (19) propagates the cumulative load along a chosen route, while Equation (20) ensures that the load variable remains within the feasible capacity range. Together, Equations (15)–(20) form the CVRP model considered in this study.
While several methods have been proposed to convert the cost function of the CVRP to QUBO, the most widely chosen is to encode based on sequential decision along the edges. A fully connected, undirected graph can be described by a cost matrix, for which each element in the ith row and the jth column represents the required cost to move from the node i to the node j. With it, the corresponding QUBO can be written as
where
is the total distance traveled by the vehicle along a path of edges with weights , each lying between a pair of nodes. Whether they are considered in the corresponding path is represented by binary variables and (Figure 4). t is a discrete variable of time frame, indicating along with and on which node the vehicle is present at a certain point of time. The second and third terms refer to the ”only-one-customer” and capacity constraints, respectively, with arbitrarily set penalty weights .
Figure 4.
An example of 3-node TSP.
The TSP and VRP are generally both considered as NP-hard, implying that verification of candidate solutions cannot be performed in a polynomial time with respect to the problem’s size. Adaptation of heuristics is therefore popular in both fields, and, for the same reason, the QAOA has been extensively exploited in related studies. Though they fall into the same class of complexity, given the same search space , where V and E are sets of vertices and edges, respectively, the VRP is considered more difficult to find the optimal or pseudo-optimal solutions due to the additional constraining factors. In fact, as the authors point out in [32], the VRP can be specialized to the TSP by removing or simplifying its constraints. Consequently, the two-step idea of decomposing a single VRP into multiple TSPs and solving them individually appears valid in terms of reducing the computational complexity, and, in addition, it can also contribute to alleviating the burden of massive qubit usage in utilization of the QAOA for solving combinatorial optimization problems, as we argue here.
The decomposition strategy of VRP-to-TSP provides a reasonable means to decrease the problem size to consider one at a time. Given a CVRP as a fully connected graph with and as the numbers of vertices and edges, respectively, one can set a hyperparameter s that rules the number of sectors after partitioning the entire graph. This process neglects the configuration of the edges and is only performed with respect to the vertices that correspond to the nodes to visit. The mean value for the number of nodes in a single sector is therefore , and the edges that lay between every pair of the sectors can be disregarded, since it is assumed that each sector is allocated to an individual vehicle. Every sector is now a smaller, separate graph with the numbers of its nodes and edges and , respectively, whose edge layout remains unchanged from the original graph G.
Preceding quantum studies on the two-step CVRP decomposition show that the clustering technique substantially contributes to reducing the amount of computational resources required for the TSP-solving quantum subroutine. For example, ref. [18] claims that decomposition reduces the number of qubits required to configure the circuit design to one-fifth. With regards to our study here, the main concern is to inspect whether the clustering phase could also be performed with quantum computation, as well as the latter step of solving TSPs, especially in the aspect of circuit-based quantum computing. Ref. [17] implies that its proposed approach also consists of a quantum-processed clustering phase, but a detailed procedure of adapting and implementing it in the context of solving a CVRP based on decomposition is not explicitly discussed. We intend to design both steps quantum computationally to actually solve a CVRP and present that the decomposing method of our choice achieves a similar effect of reducing qubit usage and that it suits as a notable means of VRP-to-TSP transition among others.
The proposed framework is based on the following assumptions. First, each CVRP instance is represented as a fully connected and undirected graph, and the travel cost between two nodes is assumed to be deterministic and known in advance. Second, the problem is assumed to consist of a single depot, customer nodes with fixed spatial coordinates, deterministic demand values, and a given maximum vehicle capacity. Third, the decomposition is assumed to generate sectors whose total demand does not exceed the capacity limit, allowing the capacity constraint of the original CVRP to be handled mainly at the clustering stage. These assumptions are introduced in order to focus on examining the feasibility of the proposed quantum heuristic framework under a simplified but representative CVRP setting.
4.2. Sweeping-Based Clustering
Application of the sweeping cluster to solving the CVRP has been examined by a number of precedent studies in the realms of classical computing, some of which are introduced and analyzed by Akhand et al. [33]. Given a problem of CVRP, the method assumes the depot as the center of the search space as a circle, with which a corresponding polar angle is assigned to each node. The process of sectionizing the search space can then be regarded as dividing a circle, with the depot as a center point, into a set of sectors each possessing nodes accordingly with the given constraints, which, in the case of the CVRP, are the vehicle capacity and the logistic demand from each node (Figure 5). In other words, the sectors are formed in a way that the total amount of logistic demands in each sector does not exceed the vehicle capacity, guaranteeing that the vehicle is allowed to visit every single node in each sector without the risk of exceeding its capacity limit. In this design, the original problem of CVRP is now transformed to solving multiple TSPs, represented as the sectors, separately.
Figure 5.
An example of the sweeping method on a VRP with 10 nodes, with the vehicle capacity of 20. Each arc indicates a sector that is formed accordingly with the problem constraints.
The search space in the aforementioned setting can be interpreted as a two-dimensional real vector space. In order to justify using the sweeping method in pursuit of the original task to minimize the vehicle routing distance, we introduce the following theorem.
Theorem 1.
Suppose that is a set of sectors with their corresponding angles such that is smaller than that of any other possible set G′ in the given search space. Let be a function that returns the total distance of the route generated by the sectors in G. Then, holds.
Proof of Theorem 1.
Assume two sectors and , where and an external node u exists between them. Assigning u to either of those sectors would not violate the capacity constraint. has a node that lies on its borderline closer to u so that an angle between the borderline and the vector form of u () exists. The same goes for as well (Figure 6). If one assigns u to , the minimum spanning tree (MST) of will increase by
In most cases, it is expected that . With a sufficiently large CVRP problem given, one can assume that the nodes in both sectors are uniform-randomly scattered so that the difference in the vertical component of and can be statistically disregarded. If , one then can claim that
With the Beardwood–Halton–Hammersley Theorem [34], which shows that both quantities of TSP and MST on independently and identically distributed points scale similarly, it is guaranteed that the same inequality also holds for the case of TSP in our matter. □
Figure 6.
A node u exists between two sectors and . If , it is expected that assigning u to would lead to generating a shorter TSP routing distance.
Considering the required transition to QUBO for implementing QAOA, the proposed approach of two-step decomposition can be advantageous to reducing the number of qubits needed to implement the algorithm. Suppose that there are nodes in the entire search space with the vehicle capacity C and the total customer demands combined as D. Then, the number of generated sectors by the sweep clustering method has the lower bound of
The expected value for the number of nodes in each sector can be written as
In other words, we can expect that with decomposition, the number of nodes to consider one at a time can be at least reduced by the factor of in average. The actual number of nodes in each sector would be more precisely traceable especially in larger, complex problems, where it is expected that , thus leading to .
It is rather illogical to state that for any sector due to the fact that n could only be smaller by a factor of an arbitrary integer. Since, however, the basic QAOA encoding technique, referring to the QUBO in (21) and the binary decision variable in (14), requires qubits to represent the visit to n nodes via n sequences [27], the difference could be significantly larger depending on the size of the problem. In the real world, the vehicle capacity is constrained by the physical limitation of automobiles, implying that for a sufficiently large problem, it is safe to assume that , i.e., with a constant c. Let and . One then can find arbitrary functions and that satisfy
since c will increase indefinitely with respect to the problem size, in which case it can be stated that is polynomially larger than . Even in cases that the difference is not as much, one can still expect considerable reduction in the number of required qubits to configure the needed QUBO.
As an improvement over the conventional setup, ref. [35] claims that the number of qubits for each TSP can be reduced to with a fixed starting point method, although it assumes that the traveler does not return to the starting point. Meanwhile, ref. [36] introduces an encoding technique that allows to encode a function with qubits as HOBO. We anticipate that exploitation of our proposed method could further be enhanced by adopting these tactics.
4.3. Algorithmic Procedure
As the name of the decomposition strategy suggests, the whole procedure is divided into two sequential parts. First, a set of feasible sector configurations is generated by the sweeping-based clustering method, and Grover’s search algorithm is applied to select the configuration whose total sector-angle sum is the smallest. Second, after the sector configuration is fixed, each resulting sector is treated as an independent TSP and solved by the QAOA with parameter optimization by the GSA. Therefore, Grover’s search and the QAOA are not used in an alternating manner within a single optimization loop; rather, the former is used first for sector-configuration selection, and the latter is applied afterwards to the selected sector-wise routing problems.
The initial VRP data is assumed to consist of the x and y coordinates and the demand value of each node, including the point of origin, as well as the maximum capacity of the vehicles. The first task is to juxtapose a series of possible sector combinations differed by sweep-starting points. Configuration of sectors, including their number and size, for a VRP instance can vary depending on which node the sweeping starts with (Figure 7). The possible number of combinations thus equals the total number of nodes, and the goal is to specify the combination case where the sector angle sum is minimized. This approach has already been discussed in numerous studies, but rarely addressed is the viability of applying quantum computation to not only solving a TSP in each cluster but also decomposing the original problem as well. Since part of our purpose in this study is to examine to which extent the CVRP can be solved with quantum application, the decomposition step of finding the smallest combination case is designed to exploit Grover’s search algorithm.
Figure 7.
An example of a VRP with 10 nodes distributed to 4 sectors, differentiated with distinct colors. The clockwise sweeping process starts at the node with , meaning that its capacity demand is 3. A node is assigned to a new sector if the constraint limit of has been met.
There are on-going debates on the actual practicability of Grover’s algorithm and its variants. One of the major concerns is about the encoding problem, stating that the amount of computational resources required to prepare and encode data into the algorithmic circuit could be larger than the amount expected to be saved by the algorithm’s comparable quantum speedup [37]. Relatively optimistic studies argue that introduction of quantum random access memory (QRAM) could resolve the matter [38], although it has not been physically implemented yet. Since it is outside the scope here, we do not intend to further discuss the algorithm’s contribution to the proposed method’s computational efficiency. Instead, we focus on arranging it as part of an operable quantum algorithmic structure to solve the CVRP.
Given a CVRP with n nodes in total, n different sector configurations can be generated, as aforementioned. The task is to find a single configuration for which the sum of all the involved sector angles is the smallest among others. To achieve it, all the possible configurations are listed along with their corresponding angle sums and allocated indices. Since the search is to be performed with a quantum algorithm, the list is encoded to a quantum circuit with qubits, with the values as binary strings. Two quantum registers, representing the index (key) and the angle sum (value) of each configuration, are prepared, upon which the quantum search proceeds.
With n configurations to encode, one needs at least qubits in the key register. For the angle sum, note that the angle values do not need to be explicitly encoded to represent their exact values; rather, being capable of telling their comparative differences would suffice. This can be performed by listing the values in order and converting them into consecutive binary strings. Therefore, one would also need up to qubits to stack the value register, making the total number of qubits required to encode data . A few more auxiliary qubits are needed for various purposes, including building the quantum oracle and the Grover’s diffuser, but their number does not grow proportionally with the size of the given problem or its data. After a series of iterations to allow Grover’s search, the circuit returns the index number of the desired combination, which then can be decoded back to an integer (Figure 8).
Figure 8.
A quantum circuit that implements Grover’s search on the sectoral configurations.
Now that the nodes have been distributed to the sectors, the constraint factors of the original problem can be disregarded, and the only task left is to solve the TSP in each sector and to combine the solutions together at the end. Each sector’s information, comprising the nodes’ coordinates and the distances among them, is converted to the QUBO cost function
Note that compared to (21), the demand and capacity constraint terms are now removed. This can be directly converted to the QAOA’s problem Hamiltonian form as in (5), and the task is then reduced to finding the minimum expectation value of the total energy in the system. The process of optimization is performed by the GSA iteratively, resulting in the optimized values for the rotation gate parameters on the circuit. The same procedure is performed on each sector, and at the end, a set of the optimal paths is secured.
The final operation is to concatenate the TSP solutions into a single path as a solution for the original VRP. While this part is crucial in terms of resulting in a complete solution, it is a relatively marginal priority with regards to the main scope of our work. We therefore chose the simple nearest selection method, which connects two adjacent paths by the two closest nodes from each. Algorithm 2 lists in order the necessary steps to implement the proposed method.
As a simple numerical example, consider a small CVRP instance consisting of one depot and four customer nodes, where the depot is located at (0,0), the customer nodes are located at , , , and , and each customer has unit demand under the vehicle-capacity condition . In this case, the sweeping method generates two feasible sectors, one including the two nodes on the right-hand side of the depot and the other including the two nodes on the left-hand side. For each candidate starting angle of the sweep, the corresponding total angle sum is calculated, and the set of sector divisions is encoded into the search space of Grover’s algorithm so that the division with the smallest angle sum may be selected. After the sector configuration is determined, each sector is treated as an independent TSP, and the corresponding route is encoded in QUBO form by the binary variables , which indicate whether node i is visited at time step t. The QAOA with GSA-based parameter optimization is then applied to each sector-wise TSP, and the obtained routes are finally combined to produce the complete CVRP solution. Although simplified, this example illustrates the essential flow of the proposed framework, in which the original CVRP is first decomposed and then solved through sector-wise quantum route optimization.
| Algorithm 2 Quantum Heuristic VRP Solver. | |
| 1: | Input: VRP data set consisting of n node coordinates and capacity constraints |
| 2: | Output: Sector-wise divided, optimized VRP paths |
| 3: | Generate A wheel table in dimension of () to contain arc combinations |
| 4: | Encode the values of the wheel table into a quantum circuit |
| 5: | Run Grover’s search algorithm times to identify the minimum arc angle combination |
| 6: | while do: // = the number of sectors generated |
| 7: | Initialize GSA population ← Generate k agents |
| 8: | while do: // g GSA iterations |
| 9: | Run QAOA to evaluate each agent’s fitness value // p parameter layers in the circuit |
| 10: | Run GSA upon the agents |
| 11: | end while |
| 12: | end while |
5. Computational Experiments
The main purpose of the experiment was to apply our proposed method to CVRP instances in various sizes and to measure the average number of qubits required for the overall procedure. The proposed quantum algorithm was developed and implemented with QISKIT (version 0.7.2), a Python-based quantum simulation and development kit published by IBM [39]. Prior to implementing the algorithm, we assumed a VRP instance consisting of the following features:
- Every node is connected with all the other nodes, i.e., the problem is visualized as a fully connected graph.
- Every vehicle shares the same maximum capacity, Q.
- The problem does not involve any time windows for nodes.
- The maximum number of nodes in a sector is limited to 5.
In other words, the target problem is a simplified form of the CVRP with the minimum number of constraints, designed specially to focus on verifying the proposed method’s capability to coup with an NP-hard problem. Since the main objective of this study is to suggest and validate a size-efficient quantum algorithm that can solve a problem with a considerably large size as to the number of available qubits at hand, the complexity features that are irrelevant to verifying the proposed method’s performance have been removed.
Generation of the VRP instances was fulfilled based on the procedure introduced in [40], with the varying number of nodes n ranging from 4 to 20. At the time of implementation, since the maximum number of qubits that could be simulated at once in QISKIT was 32, we arranged the problems in a way that, as noted above, each sector after division has up to 4 nodes only. This limitation is due to the aforementioned fact that the QAOA requires qubits to solve the TSP with n nodes. Since the CVRP must contain the initial starting point, the maximum number of nodes accounted for in each sector is . Any sector that exceeds this number in size would require equal to or more than qubits, violating the QISKIT’s qubit limitation. The experiment was conducted upon 500 TSP instances, uniformly distributed along the size range.
With the considerably low computation speed of the simulated QAOA in concern, we set the GSA population size and the number of the QAOA parameters relatively low, as 20 and 8, respectively. During each iteration, whether the QAOA’s computation result satisfies the TSP configuration was determined, and if not, both of the values were increased, by 5 and 1, respectively, to encourage improvement over the quantum accuracy at the expense of the computational cost. The number of iterations for the GSA is set to 100, which is widely accepted in the related studies and also appropriate with regards to the population size.
The overall procedure of the experiment can be summarized as follows.
- A set of combination cases for the VRP division into sectors, varying with respect to the starting point, is prepared.
- The total sum of the sector areas in each case is calculated and converted into a binary string, ready to be encoded to the quantum system.
- Build a quantum circuit that implements the Grover’s search algorithm, by which the case with the smallest area can be specified.
- Within each sector of the selected case, run the GSA-based QAOA to find the shortest TSP path that starts from and comes back to the depot.
- Concatenate all the paths from the sectors and return them as single solution for the VRP.
In order to provide a basic yet fundamental evidence for functional comparability of the proposed method to the classical counterparts’ optimization performance, a classical CVRP solver based on reinforcement learning (RL) [41] was additionally implemented to solve the same problem set and to be compared with the quantum method with regards to the optimization outcome. Table 1 shows the lengths of the optimized paths constructed by the proposed algorithm, marked as QVRP, with respect to the given problem’s size, as opposed to the solutions obtained by the RL model. To ensure the solution feasibility, the algorithm was iterated 10 times for each CVRP instance, and the state that appeared most frequently with the highest probability amplitude was selected as a solution, based on which the optimized distance was calculated.
Table 1.
Difference in performance of RL and QVRP on 5 VRP datasets.
The algorithm’s design implies that any sufficiently large CVRP would require the number of qubits that exceeds the presupposed range of qubit usage at the preparation stage. To compensate for such deficiency, the sectors are further divided into smaller spaces to become solvable with the available number of qubits and then combined together at the end to attain the full path. The worst possible scenario is when the vehicle capacity is larger than or equal to the total demand from all the nodes in the problem, where now the CVRP is treated as a single TSP, with an exponential growth of the required amount of qubits.
The extra divisions of sectors are performed in the following procedure. First, set the node-limit parameter and specify sectors that consist of more than nodes. Second, divide the specified sectors into smaller subsectors that consist of nodes. Third, the subsectors are applied with the identical process of the QAOA-based optimization to find the optimal path. Lastly, all the obtained paths are concatenated to complete the whole VRP solution. While this process would require additional vehicles, i.e., higher K in (18), since it is an independent, separate constraint, other constraints would remain affected. Figure 9 shows the graphical presentation of the aforementioned processes. An additional set of experiments was conducted on the datasets of VRP 6 and VRP 8 to verify the utility of the extra sector division, the results of which are listed in Table 2. Compared to the results in Table 1, it can be observed that the additional divisions of sectors hardly degenerate the optimization performance of the algorithm. On the contrary, it is shown that the proposed method outperforms RL on the dataset VRP 6.
Figure 9.
An example of extra sector division. The blue sector, originally consisting of 5 nodes, has been divided into two smaller sectors each with its own path formed by blue and yellow arrows.
Table 2.
Difference in performance of RL and QVRP with extra sector division.
Although examining the subdivision method on all available CVRP instances would enhance the perceived credibility of our approach, its introduction is primarily motivated by the simulation limitations of Qiskit, which currently supports simulations of up to 32 qubits. This constraint, rather than considerations of performance or feasibility of our method, dictated the scope of our experimental evaluation. We contend that the results obtained on VRP 6 and VRP 8 are sufficient to demonstrate the general applicability of the method to larger CVRP instances, given that the TSP sectors are treated independently of the overall problem size.
The computational experiments in this study are intended to serve as a proof-of-concept validation of the proposed framework rather than as an exhaustive benchmarking study against all existing solvers. The benchmark instances were generated according to the procedure introduced in [40], and the comparison baseline was selected so that the same CVRP instances could be solved directly without the decomposition process, where the reinforcement-learning solver serves as a reference for functional comparability at the problem level. Direct numerical comparison with previously reported QAOA-based, quantum-annealing-based, or exact-solver-based studies would not be desirable, since the corresponding works differ in formulation, hardware paradigm, constraint setting, and benchmark construction. For this reason, the main purpose of the experiment in this study is to verify whether the proposed decomposition framework can preserve a reasonable optimization capability while alleviating the burden of qubit usage under the given simulation environment.
6. Discussion and Analysis
Compared with the preceding circuit-based studies that directly apply the QAOA or its variants to routing problems [15,16,21,22,23], the proposed framework is not primarily intended to improve the routing subroutine itself. Its main focus lies in reducing the effective problem size before the QAOA stage by decomposing a single CVRP into smaller sector-wise TSPs. On the other hand, the studies based on quantum annealing [19,20] belong to a different computational paradigm, and therefore their numerical results are not directly comparable to those of a circuit-based simulation under the NISQ setting. Accordingly, the significance of the experiments of this study lies less in absolute superiority of the obtained routing distances than in verifying the feasibility of the proposed qubit-efficient decomposition framework.
The main contribution of the work introduced in this paper breaks down to two points: efficient exploitation of qubits and suppressed computational complexity in implementation of heuristic optimization via quantum computation. Although we consider that the work’s major achievement is more associated with the former, we analyze the experiment results and the proposed algorithm’s theoretical contribution to it in both aspects here.
6.1. Qubit Requirement
Let and be random variables that correspond to the number of qubits exploited for sector division and each sector’s TSP computation, respectively. With n nodes in total, can be written as
where is a parameter to decide the degree of approximation for encoding the sector angles to the quantum circuit. The method assumes it equal to n as explained in Section 4.3, but even taking it as a real number C between 0 and 360,
holds. On the other hand, can be written as
where is a random variable on the number of nodes in cluster i, and is a random variable such that
holds. The information for each node can be represented with the traveler’s visit schedule and his/her current existence at the node. For example, if the TSP’s initial status is marked as a binary string of 1000, it indicates that the salesman is at the first node in the first time frame. Since the salesman has to visit every node once, the number of time frames equals the number of nodes. Taking expectation values from both sides, we have
which then can be led to
The number of required qubits for the entire algorithmic procedure is therefore,
Without implementing the additional sector division, the worst case, where a single sector consists of the entire VRP, would require the qubit requirement of . Nonetheless, we can also assume that in such a case the problem size is comparatively small, allowing a single vehicle to visit every node before coming back to the starting point.
6.2. Time Complexity
The proposed algorithm was designed as a practical quantum method, eligible to be run on an actual quantum machine that is fully capable of allowing superposition. Since the algorithm consists of gate-based parallel computation processes, evaluating the time complexity based on computational queries would not result in a fair analysis. Therefore, the time complexity analysis here is performed based on depth of the circuit built to implement the algorithm.
In Algorithm 1, Lines 1 to 3 contribute to generating a list of possible sector combinations and commencing Grover’s search algorithm. With QRAM, they would be estimated to require and , respectively [10]. Table 3 shows the depth of the Grover’s diffuser accordingly with the problem sizes. It is shown that the depth is constant, thus not increasing the overall time complexity.
Table 3.
Grover search’s circuit depth with regards to the VRP size.
Since the second part of the algorithm, the QAOA, is a heuristic procedure that is applied to the sectors separately, the amount of time required to perform it depends on the values of parameters set before it is run. The most important among them is p, the number of layers in the circuit that consist of the rotation gates that receive the angles retrieved from the classical optimizer, GSA. Its performance rate is highly relevant to the population size, which is decided with the number of agents k. In each iteration during g times of repetition, every interaction among all the agents is calculated, and generally it is presumed that . The calculation procedure for a single sector, and depth of a single layer in the QAOA circuit with regards to the number of nodes in the sector is as shown in Table 4.
Table 4.
QAOA circuit depth with regards to the number of nodes in a sector.
The circuit depth appears to be proportional to , and thus the time complexity required for each sector becomes .
GSA has a structure similar to that of genetic algorithms (GAs) in terms of meta-heuristic optimization algorithms, and in particular, it can be compared to a GA that performs ordinal selection and uniform crossover. Roeva et al. [42] found that the size of the population that produces the most efficient optimization result for the number of repetitions of in the genetic algorithm is , which means that the values of the population size and the number of repetitions in the meta-heuristic optimization algorithm are asymptotically the same. On the other hand, if is the number of nodes in the largest sector, the number of agents required then is generally proportional to , and since the number of nodes in the largest sector is proportional to the total number of nodes in a given VRP problem, it can be expressed as . This implies that also holds for the same reason.
For the worst case, where one sector includes all the nodes of the entire VRP, and hold true. On the other hand, if the sector is divided into the smallest possible subsectors, then and hold true. However, since they are mutually exclusive and cannot occur at the same time, none of the cases significantly affect the time complexity. Furthermore, if the upper limit of the maximum number of nodes in each sector is set as an arbitrary parameter, it becomes a constant in the asymptotic notation. As a result, the total time complexity of the algorithm can be written as
It is quadratically proportional to the number of nodes, which we argue is noticeably confined, especially with regards to the complexity of the target problem.
Note that the time complexity analysis above is based on a presupposition that the circuit is decomposed to the extent where each step of the oracle generation and Grover diffusion is counted as a single computational query. Such is a common practice in the related literature as to analyzing the computational efficiency of quantum algorithms that involve Grover’s search, and further decomposition of the circuit would alter the complexity in terms of the algorithm’s big-O expression. It is also worth emphasizing that the primary focus of this work lies in employing a heuristic strategy to efficiently decompose the CVRP into multiple TSP subproblems, rather than in enhancing the performance of the QAOA itself. Although the development of an effective and feasible QAOA implementation remains an important objective, our intention is to investigate whether improvements in the decomposition process can lead to enhanced overall optimization outcomes.
6.3. Sensitivity
The experiment results suggest that the proposed framework is sensitive mainly to the size of each sector and to the computational resources assigned to the optimization task. The maximum number of nodes allowed in a sector directly determines whether the corresponding TSP can be handled within the available qubit pool. This is the reason the additional sector-division procedure was introduced for the larger cases. As shown in Table 2, further subdivision does not severely deteriorate the optimization result and, in the case of VRP 6, even leads to acquiring a better result than the RL baseline. Additionally, the optimization outcome is related to the parameter budget of the hybrid solver. In the experiment, the GSA population size and the number of QAOA parameters were initially set to relatively small values in consideration of the simulation speed, and they were increased whenever the obtained state did not satisfy the TSP configuration. This indicates a trade-off between computational cost and route quality, which is a characteristic of the present hybrid framework.
The main benchmark results in Table 1 differ from the reinforcement-learning baseline by approximately % to %, depending on the dataset, while the extra sector-division results in Table 2 show a performance change of about % for VRP 6 and % for VRP 8, relative to the baseline values. These observations suggest that performance of the proposed framework is influenced by the level of decomposition yet remains reasonably stable in preserving feasible optimization performance under the imposed qubit limitation.
7. Conclusions
This paper introduces a quantum heuristic framework for solving the CVRP by decomposing a single problem into multiple sector-wise TSPs and solving them with the aid of Grover’s search algorithm, the QAOA, and the GSA. The main finding of this study is that a divide-and-conquer structure could contribute to providing a plausible way to reduce the effective problem size handled by the quantum routing subroutine, thereby alleviating the burden of qubit usage while preserving feasible optimization performance to a reasonable extent. The experimental results on the selected benchmark datasets show that the proposed method is capable of generating valid routing solutions with optimization outcomes that remained comparable to the reference baseline under the given simulation environment. In addition, the extra sector-division procedure suggests that further decomposition may maintain, and in some cases improve, the optimization result when the number of nodes in a sector exceeds the practically manageable range. The main merit of the proposed framework lies in its qubit-efficient problem decomposition under the circuit-based quantum-computing paradigm. Unlike approaches that focus only on the routing stage, it attempts to address both the sector-selection and the sector-wise route optimization phases within a unified quantum-oriented structure. The theoretical analysis further indicates that the decomposition strategy can be advantageous in terms of both qubit requirement and implementation complexity.
Admittedly, the proposed study has several limitations. The experiments were conducted under a simplified CVRP setting without time windows, a homogeneous vehicle-capacity assumption, and the practical restriction that the number of nodes in a sector had to remain within the 32-qubit simulation limit of Qiskit. In addition, the experimental comparison was limited in scale, and the obtained routing quality was affected by the current configuration of the QAOA-based optimization procedure. As a result, future research may proceed in several directions accordingly. First, the proposed framework may be extended to richer variants of the VRP involving additional operational constraints. Second, improved variational-circuit designs and alternative classical optimizers may be investigated to strengthen the sector-wise routing performance. Third, a broader validation on larger benchmark sets and actual quantum hardware would further clarify the practical applicability of the proposed approach.
Author Contributions
Conceptualization, J.S.K. and C.W.A.; Methodology, J.S.K. and C.W.A.; Software, J.S.K. and D.L.; Validation, J.S.K., D.L. and C.W.A.; Formal analysis, J.S.K. and D.L.; Investigation, J.S.K. and C.W.A.; Resources, C.W.A.; Data curation, J.S.K. and D.L.; Writing—original draft, J.S.K. and D.L.; Writing—review and editing, J.S.K., D.L. and C.W.A.; Visualization, J.S.K. and D.L.; Supervision, C.W.A.; Project administration, J.S.K. and C.W.A.; Funding acquisition, C.W.A. All authors have read and agreed to the published version of the manuscript.
Funding
This research received funding from Hyundai Motor Company, KIA Corporation, Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Republic of Korea government (MSIT, Ministry of Science and ICT) (RS-2024-00347902), and the AI-based GIST Research Scientist Project grant funded by the GIST in 2025.
Data Availability Statement
The datasets presented in this article are not readily available due to the research project agreement. Requests to access the datasets should be directed to Hyundai Motor Company.
Conflicts of Interest
The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.
References
- Zhao, Z.; Pozas-Kerstjens, A.; Rebentrost, P.; Wittek, P. Bayesian Deep Learning on a Quantum Computer. Quantum Mach. Intell. 2018, 1, 41–51. [Google Scholar] [CrossRef] [Scilit]
- Nielsen, M.A.; Chuang, I.L. Quantum Computation and Quantum Information: 10th Anniversary Edition, 1st ed.; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
- Arute, F.; Arya, K.; Babbush, R.; Bacon, D.; Bardin, J.C.; Barends, R.; Biswas, R.; Boixo, S.; Brandao, F.G.S.L.; Buell, D.A.; et al. Quantum supremacy using a programmable superconducting processor. Nature 2019, 574, 505–510. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yanofsky, N.S.; Mannucci, M.A. Quantum Computing for Computer Scientists, 1st ed.; Cambridge University Press: Cambridge, UK, 2008. [Google Scholar]
- Giri, P.R.; Korepin, V.E. A Review on Quantum Search Algorithms. Quantum Inf. Process. 2017, 16, 315. [Google Scholar] [CrossRef] [Scilit]
- Laporte, G. The vehicle routing problem: An overview of exact and approximate algorithms. Eur. J. Oper. Res. 1992, 59, 345–358. [Google Scholar] [CrossRef] [Scilit]
- Moll, N.; Barkoutsos, P.; Bishop, L.S.; Chow, J.M.; Cross, A.; Egger, D.J.; Filipp, S.; Fuhrer, A.; Gambetta, J.M.; Ganzhorn, M.; et al. Quantum optimization using variational algorithms on near-term quantum devices. Quantum Sci. Technol. 2018, 3, 030503. [Google Scholar] [CrossRef] [Scilit]
- Grover, L.K. A Fast Quantum Mechanical Algorithm for Database Search. In Proceedings of the Twenty-Eighth Annual ACM Symposium on Theory of Computing, New York, NY, USA, 22–24 May 1996; STOC ’96. pp. 212–219. [Google Scholar] [CrossRef] [Scilit]
- SaiToh, A.; Rahimi, R.; Nakahara, M. A quantum genetic algorithm with quantum crossover and mutation operations. Quantum Inf. Process. 2014, 13, 737–755. [Google Scholar] [CrossRef] [Scilit]
- Dürr, C.; Hoyer, P. A Quantum Algorithm for Finding the Minimum. arXiv 1996, arXiv:quant-ph/9607014. [Google Scholar]
- Ahuja, A.; Kapoor, S. A Quantum Algorithm for finding the Maximum. arXiv 1999, arXiv:quant-ph/9911082. [Google Scholar] [CrossRef] [Scilit]
- Preskill, J. Quantum Computing in the NISQ era and beyond. Quantum 2018, 2, 79. [Google Scholar] [CrossRef] [Scilit]
- Farhi, E.; Goldstone, J.; Gutmann, S. A Quantum Approximate Optimization Algorithm. arXiv 2014, arXiv:quant-ph/1411.4028. [Google Scholar] [CrossRef] [Scilit]
- Harwood, S.; Gambella, C.; Trenev, D.; Simonetto, A.; Bernal, D.; Greenberg, D. Formulating and Solving Routing Problems on Quantum Computers. IEEE Trans. Quantum Eng. 2021, 2, 3100118. [Google Scholar] [CrossRef] [Scilit]
- Fitzek, D.; Ghandriz, T.; Laine, L.; Granath, M.; Kockum, A. Applying quantum approximate optimization to the heterogeneous vehicle routing problem. Sci. Rep. 2024, 14, 25415. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Azad, U.; Behera, B.; Ahmed, E.; Panigrahi, P.; Farouk, A. Solving Vehicle Routing Problem Using Quantum Approximate Optimization Algorithm. IEEE Trans. Intell. Transp. Syst. 2022, 24, 7564–7573. [Google Scholar] [CrossRef] [Scilit]
- Palackal, L.; Poggel, B.; Wulff, M.; Ehm, H.; Lorenz, J.; Mendl, C. Quantum-Assisted Solution Paths for the Capacitated Vehicle Routing Problem. In Proceedings of the 2023 IEEE International Conference on Quantum Computing and Engineering, QCE 2023, Bellevue, WA, USA, 17–22 September 2023; Muller, H., Alexev, Y., Delgado, A., Byrd, G., Eds.; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2023; pp. 648–658. [Google Scholar] [CrossRef] [Scilit]
- Herzog, L.S.; Wagner, F.; Ufrecht, C.; Palackal, L.; Plinge, A.; Mutschler, C.; Scherer, D.D. Improving Quantum and Classical Decomposition Methods for Vehicle Routing. arXiv 2024, arXiv:quant-ph/2404.05551. [Google Scholar] [CrossRef] [Scilit]
- Feld, S.; Roch, C.; Gabor, T.; Seidel, C.; Neukart, F.; Galter, I.; Mauerer, W.; Linnhoff-Popien, C. A Hybrid Solution Method for the Capacitated Vehicle Routing Problem Using a Quantum Annealer. Front. ICT 2019, 6, 13. [Google Scholar] [CrossRef] [Scilit]
- Borowski, M.; Gora, P.; Karnas, K.; Błajda, M.; Król, K.; Matyjasek, A.; Burczyk, D.; Szewczyk, M.; Kutwin, M. New Hybrid Quantum Annealing Algorithms for Solving Vehicle Routing Problem. In Proceedings of the Computational Science—ICCS 2020; Krzhizhanovskaya, V.V., Závodszky, G., Lees, M.H., Dongarra, J.J., Sloot, P.M.A., Brissos, S., Teixeira, J., Eds.; Springer: Cham, Switzerland, 2020; pp. 546–561. [Google Scholar]
- Xie, N.; Lee, X.; Cai, D.; Saito, Y.; Asai, N.; Lau, H. A feasibility-preserved quantum approximate solver for the Capacitated Vehicle Routing Problem. Quantum Inf. Process. 2024, 23, 291. [Google Scholar] [CrossRef] [Scilit]
- Hadfield, S.; Wang, Z.; O’Gorman, B.; Rieffel, E.G.; Venturelli, D.; Biswas, R. From the Quantum Approximate Optimization Algorithm to a Quantum Alternating Operator Ansatz. Algorithms 2019, 12, 34. [Google Scholar] [CrossRef] [Scilit]
- Bartschi, A.; Eidenbenz, S. Grover Mixers for QAOA: Shifting Complexity from Mixer Design to State Preparation. In Proceedings of the 2020 IEEE International Conference on Quantum Computing and Engineering (QCE), Los Alamitos, CA, USA, 12–16 October 2020; pp. 72–82. [Google Scholar] [CrossRef] [Scilit]
- Gemeinhardt, F.; Garmendia, A.; Wimmer, M.; Weder, B.; Leymann, F. Quantum Combinatorial Optimization in the NISQ Era: A Systematic Mapping Study. ACM Comput. Surv. 2023, 56, 70. [Google Scholar] [CrossRef] [Scilit]
- Akimoto, Y. Saddle point optimization with approximate minimization oracle. In Proceedings of the Genetic and Evolutionary Computation Conference, New York, NY, USA, 10–14 July 2021; GECCO ’21. pp. 493–501. [Google Scholar] [CrossRef] [Scilit]
- Boyer, M.; Brassard, G.; Høyer, P.; Tapp, A. Tight Bounds on Quantum Searching. Fortschritte Der Phys. 1998, 46, 493–505. [Google Scholar] [CrossRef] [Scilit]
- Choi, J.; Kim, J. A Tutorial on Quantum Approximate Optimization Algorithm (QAOA): Fundamentals and Applications. In Proceedings of the 2019 International Conference on Information and Communication Technology Convergence (ICTC), Jeju, Republic of Korea, 16–18 October 2019; pp. 138–142. [Google Scholar] [CrossRef] [Scilit]
- Rashedi, E.; Nezamabadi-pour, H.; Saryazdi, S. GSA: A Gravitational Search Algorithm. Inf. Sci. 2009, 179, 2232–2248. [Google Scholar] [CrossRef] [Scilit]
- Rashedi, E.; Rashedi, E.; Nezamabadi-pour, H. A comprehensive survey on gravitational search algorithm. Swarm Evol. Comput. 2018, 41, 141–158. [Google Scholar] [CrossRef] [Scilit]
- Mohd Sabri, N.; Puteh, M.; Rusop, M. A review of gravitational search algorithm. Int. J. Adv. Soft Comput. Its Appl. 2013, 5, 1–39. [Google Scholar]
- Johnston, E.R.; Harrigan, N.; Gimeno-Segovia, M. Programming Quantum Computers: Essential Algorithms and Code Samples, 1st ed.; O’Reilly Media: Sebastopol, CA, USA, 2019. [Google Scholar]
- Dantzig, G.; Ramser, J. The Truck dispatching Problem. Manag. Sci. 1959, 6, 80–91. [Google Scholar] [CrossRef] [Scilit]
- Akhand, M.A.H.; Al, M.; Sultana, T.; Shuvo, M. Constructive and Clustering Methods to Solve Capacitated Vehicle Routing Problem. Orient. J. Comput. Sci. Technol. 2017, 10, 549–562. [Google Scholar] [CrossRef] [Scilit]
- Beardwood, J.; Halton, J.H.; Hammersley, J.M. The shortest path through many points. Math. Proc. Camb. Philos. Soc. 1959, 55, 299–327. [Google Scholar] [CrossRef] [Scilit]
- Lucas, A. Ising formulations of many NP problems. Front. Phys. 2014, 2, 5. [Google Scholar] [CrossRef] [Scilit]
- Glos, A.; Krawiec, A.; Zimborás, Z. Space-efficient binary optimization for variational quantum computing. NPJ Quantum Inf. 2022, 8, 39. [Google Scholar] [CrossRef] [Scilit]
- Gonzalez-Conde, J.; Watts, T.; Rodriguez-Grasa, P.; Sanz, M. Efficient quantum amplitude encoding of polynomial functions. Quantum 2024, 8, 1297. [Google Scholar] [CrossRef] [Scilit]
- Giovannetti, V.; Lloyd, S.; Maccone, L. Quantum Random Access Memory. Phys. Rev. Lett. 2008, 100, 160501. [Google Scholar] [CrossRef] [Scilit]
- Aleksandrowicz, G.; Alexander, T.; Barkoutsos, P.; Bello, L.; Ben-Haim, Y.; Bucher, D.; Cabrera-Hernández, F.J.; Carballo-Franquis, J.; Chen, A.; Chen, C.-F.; et al. Qiskit: An Open-Source Framework for Quantum Computing, Version 0.7.2; Zenodo: Geneva, Switzerland, 2019. [Google Scholar] [CrossRef]
- Nazari, M.; Oroojlooy, A.; Snyder, L.; Takác, M. Reinforcement learning for solving the vehicle routing problem. Adv. Neural Inf. Process. Syst. 2018, 31, 9839–9849. [Google Scholar]
- Kool, W.; van Hoof, H.; Welling, M. Attention, Learn to Solve Routing Problems! In Proceedings of the International Conference on Learning Representations, Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
- Roeva, O.; Fidanova, S.; Paprzycki, M. Influence of the population size on the genetic algorithm performance in case of cultivation process modelling. In Proceedings of the 2013 Federated Conference on Computer Science and Information Systems (FedCSIS), Krakow, Poland, 8–11 September 2013; pp. 371–376. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.








