TSP JQC 48792
TSP JQC 48792
DOI: 10.32604/jqc.2024.048792
ARTICLE
ABSTRACT
The paper presents a novel quantum method for addressing two fundamental routing problems: the Traveling
Salesman Problem (TSP) and the Vehicle Routing Problem (VRP), both central to routing challenges. The proposed
method, named the Indirect Quantum Approximate Optimization Algorithm (IQAOA), leverages an indirect
solution representation using ranking. Our contribution focuses on two main areas: 1) the indirect representation
of solutions, and 2) the integration of this representation into an extended version of QAOA, called IQAOA. This
approach offers an alternative to QAOA and includes the following components: 1) a quantum parameterized
circuit designed to simulate string vectors on a quantum processor, 2) a classical meta-optimization method
executed on a classical computer, and 3) the computation of the average cost for each string vector, achieved
through a well-established algorithm from the operations research community tailored to the specific problem.
IQAOA provides an efficient means to address quantum optimization problems by combining quantum and
classical computation methods. Its primary advantage lies in deriving a quantum circuit that requires significantly
fewer gates, making it suitable for execution on current noisy quantum computing platforms. Through numerical
experiments employing IQAOA, we successfully solved instances of the 10-customer Traveling Salesman Problem
(TSP) using the IBM simulator. To our knowledge, this is the largest application of a QAOA-based approach to
solving the TSP. Additionally, IQAOA enables the resolution of the Vehicle Routing Problem (VRP) by leveraging
the Split algorithm, which transforms a TSP permutation into a corresponding VRP solution.
KEYWORDS
QAOA; IQAOA; TSP; VRP
1 Introduction
Quantum optimization emerges as a promising and innovative discipline with substantial potential
implications in the domain of operations research. This burgeoning frontier affords the opportunity
to address minimization through quantum metaheuristics, presenting a notably efficacious approach
that circumvents the prevalent issue encountered by conventional local search algorithms—namely,
the propensity to become trapped in local minima. The effectiveness of methods based on Simulated
Annealing, a common technique in the field of operations research, relies on gradually reducing
a parameter ‘t’ to zero, which aids in overcoming potential energy barriers. Different metaheuris-
tic approaches employ diverse strategies to prevent premature convergence to local minima while
maintaining robust capabilities for thorough exploration of the search space. Among these various
metaheuristic techniques, which encompass a wide range of methods like memetic algorithms, GRASP
(Greedy Randomized Adaptive Search Procedure), and VNS (Variable Neighborhood Search), the
Simulated Annealing method stands out. Together, these metaheuristic techniques expand the toolkit
available for addressing optimization challenges in the ever-evolving field of operations research.
Viewed through the lens of quantum mechanics, quantum fluctuations exhibit similarities to
thermal fluctuations. What distinguishes quantum mechanics from classical methodologies is the
capacity of waves to penetrate potential energy barriers—a concept elucidated by Martoňák et al. in
2004 [1]. In recent times, the quantum physics community has introduced several quantum metaheuris-
tics, culminating in a family of quantum approximate algorithms. Among these, the Adiabatic-based
Algorithms stand out, offering an approximate resolution to the Schrödinger equation formulated by
Schrödinger in 1926 [2]. Recently, Reference [3] introduced a new class of algorithms centered around
alternating between two distinct sets of operators: the Hamiltonian and the mixing Hamiltonian. This
alternating process gives rise to Quantum Approximate Optimization Algorithms, commonly known
as QAOA. These algorithms represent a hybrid approach wherein the classical computer explores
the search space to optimize a set of parameters, while a quantum device handles the evaluation of
probability distributions. It’s worth noting that QAOA doesn’t account for local search considerations
but offers a comprehensive exploration of the entire search space. This ground-breaking work was
further expanded upon in the notable publication by Hadfield in 2018 [4]. In their research, they
introduced a new ansatz specifically designed to facilitate the exploration of the feasible subspace,
ensuring inherent satisfaction of hard constraints. This approach bears resemblance to classical
methodologies in the Operations Research (OR) community, involving a meticulous definition of
classical operations, such as qubit permutations within the qubit-string used for solution modeling.
The TSP received a lot of attention for decades since it is the corner stone of all routing
problems since it is emblematic of a broad category of optimization problems in classical compu-
tation, specifically within the realm of combinatorial optimization. Analysis of recent publications
in quantum resolution of TSP permit to clarify the difference between the theoretical capabilities
of quantum computing and the practical realities of applying these technologies to classical TSP
optimization. Numerous quantum optimization algorithms have been investigated for the TSP: the
recent publication of [5] propose a state-of-the-art of all QAOA based approaches investigated in
gate-bases quantum computers. They provide numerical experiments with different QAOA mixer for
5 nodes TSP. Note that not only QAOA received attention, but also Grover since [6] introduces a
quantum algorithm for the Traveling Salesman Problem (TSP) based on the Grover Adaptive Search
(GAS). The method has been successfully applied to the resolution of one seven-node TSP using the
Qiskit library. Lately, in 2024, the last investigations permit to solving 6 nodes TSP. For example,
Reference [7] propose a two-step quantum search algorithm with two distinct operators for preparing
the initial state and solving TSP. The algorithm first amplifies an equal superposition state of all
feasible solutions of TSP and subsequently amplifies the optimal solution states among these feasible
solution states. Larger instances can be addressed only by decomposition methods due to the large
number of qubit required or due to the large number of gates. Reference [8] elaborate combination of
two decomposition methods, namely graph shrinking and circuit cutting. Graph shrinking reduces the
problem size before encoding into QAOA circuits, while circuit cutting decomposes quantum circuits
JQC, 2024, vol.6 27
into fragments for execution on medium-scale quantum computers. For a TSP with seven cities, the
algorithm retrieves the optimum solution by consecutively running two 7-qubit QAOA circuits.
In summary, it is pertinent to highlight that many Operations Research (OR) problems find
effective solutions through the utilization of indirect solution representations. The core concept
involves exploring not the entire array of solutions, but rather a set of representations (such as
the set of giant tours for VRP or the set of Bierwith’s vectors for Job-Shop, for instance). These
objects, employed for indirect solution representation, typically take the form of vectors, enabling
the formulation of mapping functions that operate within O(n) complexity. The primary advantage of
employing these indirect representations lies in the metaheuristic’s exploration of a smaller-sized set
of such representations (e.g., Bierwith’s vectors), in contrast to the larger set of solutions. This shift
28 JQC, 2024, vol.6
in focus redistributes the complexity of problem modeling away from the metaheuristic and onto the
mapping function, resulting in a more manageable computational load for the metaheuristic.
This property justifies the term ‘subsequent function’ a term that can be found, for example,
in [17].
Moreover we have: f (0) = 0
Let us note f denoted by:
f ∼ [f (n − 1) ; f (n − 2) ; . . . ; f (1) ; f (0)] (3)
Let us note Fn the set of functions satisfying the previous condition: Card (Fn ) = n!. For example,
F2 = {00, 10} and F3 = {000, 100, 200, 010, 110, 210}. The subexceedant function f related to σ can
be obtained by iterative assignment of f [i] = σ [i]. The last elements of σ have to be decreased of one
unit, to ensure that at the position i + 1 to n the number are in the interval [0; n − i] as stressed on
Algorithm 1.
Algorithm 1: Compute_f ()
Input parameters:
σ : a permutation of n element
[n]: the interval
Output parameters:
f : the subexceedant function
Begin
For i = n − 1 to 1 do
f [i] = σ [i]
For j = i − 1 to 0 do
If (σ [j] > i) then
(Continued)
JQC, 2024, vol.6 29
Algorithm 1 (continued)
σ [j] = σ [j] − 1
Endif
EndFor
EndFor
Return f
End
At iteration 1 the number σ [1] = 2 is added to f At iteration 3 the number σ [3] = 0 is added to f
σ = [2; 1; 0; 2] f = [2, _, _, _, ] and the last digits 1 is decreased of one unit.
σ = [_; _; 0; 1] f = [2, 1, 0, _]
Since no remaining number of σ is larger than 2, hence
σ [2], σ [3] are not updated but σ [4] is decrease σ = [_; _; _; 0] f = [2, 1, 0, _]
of one unit. σ = [_; 1; 0; 2] f = [2_, _, _, ]
At iteration 2 the number σ [2] = 1 is added to f At iteration 4 the number σ [4] = 0 is added to f .
and the two last digits 0 and 1 are iteratively σ = [_; _; _; _] f = [2, 1, 0, 0]
investigated: 2 which is greater to 1 is decreased
of one unit. σ = [_; 1; 0; 2] f = [2, _, _, _, ]
hence
σ = [_; _; 0; 1] f = [2, 1, _, _]
To conclude, f = [2, 1, 0, 0] = [f (3) , f (2) , f (1) , f (0)] is the subexceedant function associated to
σ = [2; 1; 0; 3] .
Conversely, given a subexceedant function f , it is possible to calculate the associated permutation
using Algorithm 2.
Algorithm 2: Compute_Permutation()
Input parameters:
f : a subexceedant function
[n]: an interval
Output parameters:
σ : a permutation of n elements
Local parameters:
v: an ordered list of n elements beginning at 0
Begin
v = [n − 1, n − 2, . . . , 1, 0]
σ = []
(Continued)
30 JQC, 2024, vol.6
Algorithm 2 (continued)
For i = n − 1 to 0 do
x = f (i)
y = v (x)
σ [i] = y
v = v − {y}
EndFor
Return σ
End
Algorithm 2. Computation of σf .
Example
Let us σ = [5, 1, 4, 0, 2, 3] and f = [_, _, _, _, _, _]
At iteration 1 the number σ [1] = 5 is added to f
σ = [_, 1, 4, 0, 2, 3] and f = [5, _, _, _, _, _]
At iteration 2 the number σ [2] = 1 is added to f
σ = [_, _, 3, 0, 1, 2] and f = [5, 1, _, _, _, _]
At iteration 3 the number σ [3] = 3 is added to f
σ = [_, _, _, 0, 1, 2] and f = [5, 1, 3, _, _, _]
At iteration 4 the number σ [4] = 0 is added to f
σ = [_, _, _, _, 0, 1] and f = [5, 1, 3, 0, _, _]
At iteration 5 the number σ [5] = 0 is added to f
σ = [_, _, _, _, _, 0] and f = [5, 1, 3, 0, 0, _]
At iteration 6 the number σ [6] = 0 is added to f
σ = [_, _, _, _, _, _] and f = [5, 1, 3, 0, 0, 0]
To conclude, f = [5, 1, 3, 0, 0, 0] is the subexceedant function associated to σ = [5, 1, 4, 0, 2, 3] .
Reverse Example
Let us f = [5, 1, 3, 0, 0, 0] and v = [5, 4, 3, 2, 1, 0]
(continued)
2.3 Indirect Representation of Solutions: Bijection with Permutation over Interval [n]
One-to-one correspondence with a permutation over the interval [n] and a function f : [n] →
{0, . . . , n − 1}.
Property
For any x ∈ N, we have:
n−1
x= xi .(i! ) (4)
i=0
And f = (xn−1 , xn−2 . . . x0 ) is subexceedant for xi ≤ i because, if not, then xi . (i! ) ≥ (i + 1). (i! ) =
(i + 1) !
Example
For example, we have:
208 = 1 × 5! +3 × 4! +2 × 3! +2 × 2! +0 × 1! +0 × 0! (5)
And
f = (1; 3; 2; 2; 0; 0) is subexceedant
For example, we have 10 = 1 × 3! + 2 × 2! + 0 × 1! + 0 × 0! and f = (1; 2; 0; 0) is subexceedant.
For a set of n customers, we have n! permutations numbered from 0 to n! −1. Let us consider
x ∈ [0; n! −1], i.e., a rank in the list. For a rank x ∈ [0; n! −1], it is possible to defined f and by
consequence the permutation σ . To conclude for any rank x ∈ [0; n! −1] (Fig. 2):
• we can compute the subexceedant function by decomposing x in the factorial base;
• we can compute the permutation σf (x) associated to the subexceedant function f (x)
(Algorithm 2); n−2
• we can compute the cost of any permutation σf (x) considering: cost = i=0 dσi ,σi+1 + dσn−1 ,σ0 ,
assuming di,j is the distance from customer i to customer j.
32 JQC, 2024, vol.6
H and an initial state |ψ0 allows to compute the ground state. The time-dependent Schrödinger’s
equation can be explicitly solved in very specific situation (see [19], for one example).
For a fixed β, γ , the quantum computer is used to make the stage |ϕ(β, γ ) and the measure in
the computational basis is achieved to get a string x and evaluated ϕ(β, γ )|C p |ϕ(β, γ ).
The binary representation of rank
n
and the
1
n
And to conclude:
e−i.γ .HP
= Rz 20 .γ ⊗ Rz 21 .γ . . . Rz(2n .γ ) (10)
The algorithm description is illustrated in Fig. 3 that is included in a main loop iterative method
introduced in the next section.
• The number of qubits p such that 2p ≥ n! and the number of gates is very small as regards the
number of qubits and gates.
Let us note that the expectation value ϕ(β, γ )|C p |ϕ(β, γ ) estimated by sampling that is the
common criteria with QAOA can be replaced by more specific criteria including median, quartile
or any convenient combination of this criteria depending on the objective we expect on the final
distribution of probabilities. Contrary to the classical OR approaches, on a quantum computer,
all the solution are simultaneously investigated giving a potential advantage as regards the partial
enumeration technics.
2.7 C_GRASP × ELS for β∗ , γ∗ Computation
Investigation of the optimal parameters required powerful local search, or meta-heuristic based
approaches including but not limited to Cobyla, Genetic Algorithm, GRASP × ELS . . . with
performances that are related to the problem under consideration. In the OR (Operationnal Research)
community the GRASP × ELS has been proved to be the more adequate for a large class of problems.
The GRASP × ELS is a fusion of two powerful algorithms: GRASP (Greedy Randomized Adaptive
Search Procedure) [20] and ELS (Evolutionary Local Search) [11,21]. This combination joins the
strengths of both methods. The multi-start strategy of GRASP relies on a greedy randomized heuristic
that generates the set of initial solutions (np solutions). These solutions are then refined through a local
search procedure (Fig. 4).
The second component is ELS, an extension of ILS (Iterated Local Search) introduced by [22].
In each iteration (ne), a duplicate of the current solution is created, and this copy generates nd child
solutions. The best-performing solution among these offspring becomes the new current solution. The
overarching goal of GRASP is to enhance diversity during the exploration of the global solution space,
while ELS’s purpose is to intensify the search within the vicinity of the current local optimum. Let us
note that the method lies on local search and not on gradient and that suppose an ad hoc neighborhood
definition. To summarize, the proposed model unites the mapping of the circuit encoding of the string
into the solution space (Fig. 5) with the variational parameters optimization (GRASP×ELS) into a
classical way that meet the QAOA requirement as stressed in [23] for example. Note the special role
of measurement that permits to evaluate one estimation of the average cost for example [24] or any
relevant criteria [25].
Remark 1.
An efficient implementation of C_GRASP × ELS for Continuous GRASP × ELS required a
neighbouring system that consists in a proper definition of Δβ and Δγ .
β, γ → (β + Δβ; γ + Δγ ) (11)
Remark 2.
For efficiency reason C_GRASP × ELS can be used to optimize simultaneously β and γ first and
to minimize second γ only.
Remark 3.
Depending on the desired probability distribution, it is necessary to choose the right criteria or
criteria to minimize. Among all these criteria, we can mention, without aiming to be exhaustive:
36 JQC, 2024, vol.6
• Minimization of the expectation value of the distribution that provides insight into the central
tendency;
• Minimization of the decile, i.e., minimization of the data set part that contain 10% of the data;
• Minimization of the expectation value of the decile, i.e., expectation value of the data that
contain 10% of the data;
• Minimization of the quartile, i.e., minimization of the data set part that contain 25% of the data.
• Minimization of the expectation value of the quartile, i.e., expectation value of the data that
contain 25% of the data.
The quartile and the decile are used for summarizing the central tendency and spread of a
dataset. Both quartile and decile provide a way to assess the distribution and variability of data
while also identifying potential outliers and extreme values. To obtain a probability distribution that
concentrates probabilities on low-cost solutions and avoids having a large number of values with
JQC, 2024, vol.6 37
residual probabilities, one can consider combinations of both the mean and a criterion related to
the mean trend (e.g., decile or quartile, for instance). The numerical tests conducted and presented
below demonstrate that it is possible to obtain a probability distribution that concentrates on high-
quality solutions close to the optimal solution and even on the optimal solution itself. These tests are
performed on instances ranging from 6 to 10 clients with different types of objectives to minimize
and various parameters. It is worth noting that the parameters used were determined after a brief
numerical study but were not subject to a specific investigation, which would be beyond the scope
of this publication. The indirect QAOA we introduce permit to define very compact quantum circuit
with a very small number of gates favoring the execution on real quantum computing however, in the
NISQ era simulator with no noise is the common way to perform experimentation. All the experiments
have been achieved using Qiskit (IBM) using the simulator. The quality of quantum gates strongly
influences of all quantum algorithm.
3 Numerical Experiments
3.1 Resolution of a TSP with 6 Customers
The total number of permutations is 720 but there is only 53 different costs and the distance
between customers are introduced in Table 2. A sampling of permutations permits to show that the
high quality solutions have a very low probability (Fig. 6). Note that the higher probabilities are related
to very low quality solutions: some solution with a cost about 800 and 900 have a probability greater
than 15%.
Table 2: Distances
0 1 2 3 4 5
0 0 31 2 23 14 50
1 31 0 110 152 213 14
2 2 110 0 21 221 23
3 23 152 21 0 311 32
4 14 213 221 311 0 41
5 50 14 23 32 41 0
The instance has 12 optimal solutions listed in Table 3 that shows the correspondence between
rank, permutation and cost.
C_GRASP × ELS is executed with the following parameters:
• Minimization of the expectation value of the decile plus the expectation value of the
distribution.
• The sampling of |ϕ(β, γ ) is achieved with 50 shots.
• The parameters np = 20, ne = 5, nd = 3 for the first C_GRASP × ELS execution to optimize
β and γ .
• The parameters np = 20, ne = 5, nd = 5 for the second C_GRASP × ELS execution to
optimize γ .
• Both Δβ and Δγ (in the local search) vary from 0.1 to 0.001 first at the beginning of the ELS.
The value 0.001 is slowly decreased (divided by 10) at each iteration neighborhood generation.
38 JQC, 2024, vol.6
The landscape of the function, with ranks represented on the x-axis, is not a smooth landscape
that facilitates the search for local minima (Fig. 7). However, the C_GRASP x ELS method easily,
with a relatively low number of iterations, finds a minimum of the function. Likewise, it seems evident
that gradient-based methods will face significant challenges with this type of problem.
The sampling with 1000 shots gives 1010111101 with 283 shots (Fig. 8) meaning that about 28%
of the probabilities is now on 1010111101 that model the rank 701 and the rank number 701 is mapped
into the permutation σ = [6, 5, 1, 4, 3, 2].
The details provided in Table 4 confirm what the visual representation suggests, namely very high
probabilities concentrated on low-cost solutions, thus demonstrating the effectiveness of the IQAOA
method in solving this 6-customers TSP problem.
Table 5: Distances
0 1 2 3 4 5 6 7
0 0 10 21 23 40 115 66 17
1 10 0 11 47 88 29 55 161
2 21 11 0 12 22 123 24 25
3 23 47 12 0 13 32 66 34
4 40 88 22 13 0 14 42 33
5 115 29 123 32 14 0 15 52
6 66 55 24 66 42 15 0 16
7 17 161 25 34 33 52 16 0
The optimal solution is 108 avec the related family permutation is: σ = [1, 2, 3, 4, 5, 6, 7, 8].
The experiments were carried out with:
• The parameters np = 20, ne = 5, nd = 3 for the first C_GRASP × ELS execution to optimize
simultaneously β and γ .
• The parameters np = 20, ne = 5, nd = 5 for the second C_GRASP × ELS execution to
optimize γ .
JQC, 2024, vol.6 41
The instance encompasses 16 optimal solutions that value 108 meaning that uniform sampling
gives a probability about 0.039% to find one optimal solution (Fig. 9).
The representations of the distributions in Figs. 9 and 10 show that the probability distribution
has been significantly altered to concentrate on high-quality solutions. It should be noted that the
median is 306, which means that 50% of the data corresponds to solutions with costs lower than 306.
The final sampling achieved at the end of the optimization gives probability of 4.2% associated with
108. The fact that the probability distribution only marks certain solutions, and that this distribution
is very different from a uniform distribution, is clearly visible in the diagram of Fig. 11, where the
various possible ranks are represented on the x-axis.
Figure 10: Final distribution of solutions for the instance with 8 customers
42 JQC, 2024, vol.6
Figure 11: Final distribution of solutions for the instance with 8 customers—Qiskit vizualisation
It is difficult to give a representation of the function to minimize. However, Fig. 12 gives a partial
representation of β with the cost, that pushes us into considering that the function encompasses
numerous local minima.
Figure 12: Partial representation of the solution landscape just around the best solution found
• The parameters np = 10, ne = 10, nd = 5 for the second C_GRASP × ELS execution to
optimize γ .
The distances used are introduced in Table 6. The optimal solution is 137 avec the related family
permutation is: σ = [1, 3, 7, 2, 6, 4, 5, 9, 8]. The total number of solutions is 362,880 permutations and
310 different costs. The final sampling achieved at the end of the optimization gives probability of 0.6%
associated with 108 (Fig. 13) which is 40 times better that the probability to find 108 by one uniform
random sample that is only of 0.014% (there is only 54 permutations that gives 108).
Figure 13: Final distribution of solutions for the instance with 9 customers
transform optimally any permutation σ into a solution of the VRP by execution on one shortest path
into an auxiliary graph. Such decomposition has been intensively used in routing problem thanks
to the publication of [11] which defines a metaheuristic based method that takes advantages of such
decomposition. Using the Split algorithm, it is possible to transform a rank into a VRP solution.
The IQAOA capability in VRP solving is evaluated on the 7 customers VRP instances introduced in
Tables 7 and 8 with vehicles of capacity 10.
The final sampling achieved at the end of the optimization gives probability of 13% to have a
solution lower than 151 (Fig. 14) which is 6 times better that the probability to find 108 by one uniform
random sample (Fig. 15).
The optimal solution is σ = [0, 1, 5, 2, 3, 6, 4, 0] which is splitted into 3 trips described in the Fig. 15
and that models a solution of cost 145. The solution is composed of 3 trips introduced in Figs. 16
and 17.
JQC, 2024, vol.6 45
4 Conclusions
We have introduced the IQAOA approach, which utilizes an indirect representation of permuta-
tions. Our findings provide valuable insights into the performance of IQAOA and propose promising
strategies for its practical implementation on near-term quantum devices. This is a new approach in
quantum and one of the first inclusion of indirect solution modelisation into a quantum process. To
the best of our knowledge, this is the first quantum solution for the 10-customer TSP. The inclusion
of indirect coding within the QAOA framework gives rise to the IQAOA approach, requiring a highly
specialized technique for angle optimization and the ability to leverage the potential of well-established
meta-heuristics within the OR community.
Acknowledgement: Special thanks to Kevin Espiguinha and Samy Dif for preliminary discussion on
Lehmer representation.
Funding Statement: The authors received no specific funding for this study.
Author Contributions: The authors confirm contribution to the paper as follows: study conception and
design: Philippe Lacomme and Eric Bourreau; data collection: all authors; analysis and interpretation
of results: Gérard Fleury and Eric Bourreau; draft manuscript preparation: Philippe Lacomme and
Gérard Fleury. All authors reviewed the results and approved the final version of the manuscript.
Availability of Data and Materials: The data that support the findings of this study are available from
the corresponding author, Philippe Lacomme, upon reasonable request.
Conflicts of Interest: The authors declare that they have no conflicts of interest to report regarding the
present study.
JQC, 2024, vol.6 47
References
[1] R. Martoňák, G. E. Santoro, and E. Tosatti, “Quantum annealing of the traveling-salesman problem,”
Phys. Rev., vol. 70, no. 5, 2004, Art. no. 057701. doi: 10.1103/PhysRevE.70.057701.
[2] E. Schrödinger, “An ondulatory theory of the mechanics of atoms and molecules,” Phys. Rev., vol. 28, no.
6, pp. 1049–1070, 1926. doi: 10.1103/PhysRev.28.1049.
[3] E. Farhi, J. Goldstone, S. Gutmann, and L. Zh, “The quantum approximate optimization algorithm and
the sherrington-kirkpatrick model at infinite size,” 2022, arXiv:1910.08187v4.
[4] S. Hadfield, “Quantum algorithms for scientific computing and approximate optimization” Ph.D. thesis,
Columbia University, USA, 2018.
[5] W. Y. Qian, R. A. M. Basili, M. M. Eshaghian-Wilner, A. Khokhar, G. Luecke and J. P. Vary, “Comparative
study of variations in quantum approximate optimization algorithms for the traveling salesman problem,”
Entropy, vol. 25, no. 8, 2023, Art. no. 1238. doi: 10.3390/e25081238.
[6] J. Zhu, Y. Gao, H. Wang, T. Li, and H. Wu, “A realizable GAS-based quantum algorithm for traveling
salesman problem,” 2022, arXiv:2212.02735.
[7] R. Sato, G. Cui, K. Saito, H. Kawashima, T. Nikuni and S. Watabe, “Design of two-step quantum search
algorithm for solving traveling salesman problems,” 2024, arXiv:2405.07129.
[8] L. S. Herzog et al., “Improving quantum and classical decomposition methods for vehicle routing,” 2024,
arXiv:2404.05551.
[9] C. Bierwith, “A generalized permutation approach to jobshop scheduling with genetic algorithms,” OR
Spektrum, vol. 17, no. 2–3, pp. 87–92, 1995. doi: 10.1007/BF01719250.
[10] J. E. Beasley, “Route-first cluster-second methods for vehicle routing,” Omega, vol. 11, no. 4, pp. 403–408,
1983. doi: 10.1016/0305-0483(83)90033-6.
[11] C. Prins, P. Lacomme, and C. Prodhon, “Order-first split-second methods for vehicle routing prob-
lems: A review,” Transp. Res. Part C: Emerg. Technol., vol. 40, no. 1, pp. 179–200, 2014. doi:
10.1016/j.trc.2014.01.011.
[12] G. B. Dantzig and J. H. Ramser, “The truck dispatching problem,” Manage. Sci., vol. 6, no. 1, pp. 80–91,
1959. doi: 10.1287/mnsc.6.1.80.
[13] A. Cheng, M. Gen, and Y. Tsumjimura, “A tutorial survey of job-shop scheduling problems using
genetic algorithms–representations,” Comput. Indust. Eng., vol. 30, no. 4, pp. 983–997, 1996. doi:
10.1016/0360-8352(96)00047-2.
[14] D. H. Lehmer, “Teaching combinatorial tricks to a computer,” in Proc. Sympos. Appl. Math. Comb. Anal.,
Amer. Math. Soc., vol. 10, pp. 179–193, 1960. doi: 10.1090/psapm/010.
[15] C. A. Laisant, “Sur la numération factorielle, application aux permutations,” Bulletin De La Société
Mathématique De France, vol. 2, pp. 176–173, 1888. doi: 10.24033/bsmf.378.
[16] D. Knuth, “The art of computer programming,” in Sorting and Searching, 2nd ed., USA: Addison-Wesley,
1981, vol. 3.
[17] F. Rakotondrajao, “Permutation by number of fixed points and anti-excedances,” Africa Mathematica, vol.
23, no. 1, pp. 121–133, 2012. doi: 10.1007/s13370-011-0025-y.
[18] E. Farhi and J. Goldstone, “A quantum approximate optimization algorithm,” Quantum Phys..
arXiv:1411.4028. 2014.
[19] T. Kadowaki and H. Nishimori, “Quantum annealing in the transverse Ising model,” Phys. Rev. E, vol. 58,
no. 5, pp. 5355–5363, 1998. doi: 10.1103/PhysRevE.58.5355.
[20] T. A. Feo and M. G. C. Resende, “Greedy randomized adaptive search procedures,” J. Glob. Optim., vol.
6, no. 2, pp. 109–133, 1995. doi: 10.1007/BF01096763.
[21] S. Wolf and P. Merz, “Evolutionary local search for the super-peer selection problem and the p-hub median
problem,” in HCI/ICCV 2007, T. Bartz-Beielstein, Ed., Springer, Heidelberg: LNCS, 2007, vol. 4771, pp.
1–15.
[22] H. R. Lourenço, O. C. Martin, and T. Stutzle, “Iterated local search,” in Handbook of Metaheuristics, F.
Glover and G. A. Kochenberger, Eds., Boston, MA: Springer, 2003, vol. 57. doi: 10.1007/0-306-48056-5_1.
48 JQC, 2024, vol.6
[23] Y. Ruan, S. Marsh, X. Xue, Z. Liu, and J. Wang, “The quantum approximate algorithm for solv-
ing traveling salesman problem,” Comput. Mater. Continua, vol. 63, no. 3, pp. 1237–1247, 2020. doi:
10.32604/cmc.2020.010001.
[24] T. Stollenwerk and S. Hadfield, “Measurement-based quantum approximate optimization,” 2024,
arXiv:2403.11514v1.
[25] G. Fleury and P. Lacomme, “A technical note for the 91-clauses SAT resolution with indirect QAOA based
approach,” 2024, arXiv:2402.00065v1.
Figure A1: Cumulative final/initial distribution of solutions for the instance with 10 customers
JQC, 2024, vol.6 49
It is worth noting that defining the number of samples based on the number of iterations makes
sense. This is particularly relevant for high-quality solutions that are close to the optimal one, where the
probability of making incorrect comparisons (given that we only have estimates of both quartile energy
and average value) should be lower compared to situations where the solutions under consideration
have lower quality. The following parameters are used:
• The parameters np = 10, ne = 5, nd = 3 for the first C_GRASP × ELS execution to optimize
simultaneously β and γ .
• The parameters np = 10, ne = 5, nd = 5 for the second C_GRASP × ELS execution to
optimize γ .
At each ELS iterations the number of sampling is increased of 10 units starting with 40 samplings.
The results are those of Fig. A2 and are relevant even if the process of convergence should require more
iterations.
Figure A2: Final distribution of solutions for the instance with 10 customers (number of sampling
varying from iterations)
50 JQC, 2024, vol.6
The Fig. A3 gives the general circuit representation for rank encoding that is composed on
successive application of HD (Fig. A4) and HP (Fig. A5).
It could be possible to investigate difference expression for HD including but not limited to
H (β) = ⊗n−1
1
D j=0 RYj (β) . ⊗j=0 CXj,j+1
n−2
or
HD2 (β) = ⊗n−1
j=0 RXj (β) . ⊗j=0 CXj,j+1
n−2
or
HD3 (β) = ⊗n−1
j=0 RYj (β) . RXj (β) . ⊗j=0 CXj,j+1
n−2
or
HD4 (β) = ⊗n−2
j=0 CXj,j+1 . ⊗j=0 RYj (β)
n−1
which are inspired by the usual VQE proposals. Depending on the instances, depending on the
problems and considering the previous published works on VQE, it seems reasonable that HD mixer
to claim that HD should have significant impact on the convergence rate of the method.
Figure A3: Example of IQAOA circuit for a 2 depth circuit (2 times the sequence of HD , HP )
JQC, 2024, vol.6 51