선정목록으로
Evaluation of Quantum and Hybrid Solvers for Combinatorial Optimization
필름·전자재료 · (11) 배리어 필름
기본 정보
- 저자
- DOI
- 10.48550/arxiv.2403.10455
- 저널
- arXiv (Cornell University)
- 발행년도
- 2024
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.2403.10455
- 토픽
- Chemical and Physical Properties of Materials
- OpenAlex ID
- W6910670851
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (11) 배리어 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 배리어 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Academic and industrial sectors have been engaged in a fierce competition to develop quantum technologies, fueled by the explosive advancements in quantum hardware. While universal quantum computers have been shown to support up to hundreds of qubits, the scale of quantum annealers has reached three orders of magnitude (i.e., thousands of qubits). Therefore, quantum algorithms are becoming increasingly popular in a variety of fields, with optimization being one of the most prominent. This work aims to explore the topic of quantum optimization by comprehensively evaluating the technologies provided by D-Wave Systems. To do so, a model for the energy optimization of data centers is proposed as a benchmark. D-Wave quantum and hybrid solvers are compared, in order to identify the most suitable one for the considered application. To highlight its advantageous performance capabilities and associated solving potential, the selected D-Wave hybrid solver is then contrasted with CPLEX, a highly efficient classical solver.
본문 46,636자
본문 펼치기
### Abstract
## Evaluation of Quantum and Hybrid Solvers for Combinatorial Optimization
Amedeo Bertuzzi <sup>1</sup>, Davide Ferrari <sup>1</sup>, Antonio Manzalini <sup>2</sup>, and Michele Amoretti <sup>1,*</sup>
1Quantum Software Laboratory, University of Parma, Parma, Italy
2TIM - Telecom Italia, Turin, Italy
*Corresponding author: Michele Amoretti, michele.amoretti@unipr.it
candidate to profit from such a revolution [1].
Academic and industrial sectors have been engaged in a
fierce competition to develop quantum technologies, fueled
by the explosive advancements in quantum hardware. While
universal quantum computers have been shown to support
up to hundreds of qubits, the scale of quantum annealers
has reached three orders of magnitude (i.e., thousands of
qubits). Therefore, quantum algorithms are becoming increasingly popular in a variety of fields, with optimization
being one of the most prominent. This work aims to explore
the topic of quantum optimization by comprehensively evaluating the technologies provided by D-Wave Systems. To
do so, a model for the energy optimization of data centers
is proposed as a benchmark. D-Wave quantum and hybrid
solvers are compared, in order to identify the most suitable
one for the considered application. To highlight its advantageous performance capabilities and associated solving potential, the selected D-Wave hybrid solver is then contrasted
with CPLEX, a highly efficient classical solver.
_Index terms—_ Quantum Optimization, Quantum Solvers,
Hybrid Solvers
### 1 Introduction
The advent of quantum technologies has opened new horizons in various information and communication technology
fields, sparking unprecedented interest in the potential of
quantum machines compared to classical computers. The
use of quantum principles promises to overcome the intrinsic limitations of classical devices in solving problems previously considered impossible or excessively costly, ushering
in a new era of computing capabilities.
Despite quantum technologies are still in their early stages,
and undoubtedly have a long evolutionary path ahead, their
performance capabilities are already visible, not only at a theoretical level but also in practical applications. Some quantum algorithms for carefully selected tasks require exponentially fewer computational steps than the best known classical
algorithms. Optimization is frequently identified as a prime
This work aims to explore the topic of quantum optimization by comprehensively evaluating the technologies provided by D-Wave Systems [2]. To do so, a model for the energy optimization of data centers is proposed as a benchmark,
because of its challenging complexity. D-Wave quantum and
hybrid solvers are compared, in order to identify the most
suitable one for the proposed benchmark. To highlight its advantageous performance capabilities and associated solving
potential, the selected hybrid solver is then contrasted with
CPLEX, a highly efficient classical solver.
The paper provides the following constributions:
- A Constrained Quadratic Model (CQM) concerning
the energy optimization of a data center consisting of
servers connected via switches in a complex tree topology. The challenging complexity of the model makes it
suitable as a benchmark for quantum and hybrid solvers.
- An overview of D-Wave’s quantum and hybrid solvers,
analyzing their capabilities and suitability for different
classes of combinatorial optimization problems. Based
on this analysis, the most suitable solver for the benchmark model is selected.
- The implementation and experimental evaluation of a
solution to the considered benchmark model based on
Leap’s hybrid CQM solver. In particular, a thorough
comparative evaluation of the proposed solution with a
classical CPLEX [3] implementation is presented.
The rest of the paper is organized as follows. In Section 2,
preliminary concepts on quantum optimization and suitable
quantum computation models are introduced. In Section 3,
the considered optimization problem and the proposed CQM
model are illustrated. In Section 4, the quantum and hybrid
solvers provided by the D-Wave platform are presented in
detail. In Section 5, the results of the experimental evaluation
are presented and discussed. The paper is concluded with
a discussion of the lesson learned and an outline for future
work.
### 2 Preliminary Concepts
2.1 Combinatorial Optimization Problems
The field of mathematical optimization plays a key role in
solving several practical problems, ranging from intelligent
resource allocation to complex strategic decision-making,
applicable to an infinite variety of industrial and logistical
fields. The theory of optimization aims to provide tools and
methodologies for finding an optimal or near-optimal solution within the set of possible ones, given a well formulated
problem.
Optimization problems are mainly divided into two classes
based on the involved variables: if continuous, they are referred to as continuous optimization problems; if discrete,
they are termed combinatorial optimization problems. This
work delves into the latter category.
A combinatorial optimization problem is defined by a
mathematical model that describes constraints and ways to
compute solutions. A mathematical model consists of three
main structures:
- Sets of Variables : These represent the variables of the
optimization problem, each belonging to a mathematical
numerical set (binary, Ising, positive integers, etc.);
- Constraints : These represent the limitations on solution sets, modeling real constraints related, for example,
to the mutual exclusivity of certain elements;
- Objective Function : It is a means to maximize or minimize a numeric value of interest. Based on the values
of the variables in the solution set and the parameters
associated with them, the objective function calculates
an objective value used to evaluate the solution set and
compare it with others.
Mathematical models further divide based on the presence
of constraints and the type of variables they accept. This
work primarily focuses on the following types:
- CQM (Constrained Quadratic Model): Models with
constraints that use boolean and integer variables;
- BQM (Binary Quadratic Model): Models without constraints that use only boolean variables;
- DQM (Discrete Quadratic Model): Models without
constraints that use only discrete variables;
- Ising : Models without constraints that use spin variables (-1, 1).
2.2 Adiabatic Quantum Computation
In the constant pursuit of accelerating computational capabilities, quantum computing emerges as a solution to overcome
the physical limits imposed by classical machines. In quantum computing, there are various models of computation.
The _Adiabatic Quantum Computation_ (AQC) model [4] is
capable of solving minimization problems on binary strings
_{x_ 1 _,...,_ _xn}_ with an objective function _f_ : _{_ 0 _,_ 1 _}_ <sup>_n_</sup> _→_ _R_ . The
variables of the problem represent the state of _n_ particles interacting with each other. A focal point of this model is the
_Hamiltonian H_ ( _t_ ), which is a 2 <sup>_n_</sup> _×_ 2 <sup>_n_</sup> matrix, describing the
possible energy levels at time _t_ _∈_ [0 _,_ _T_ ]. The eigenvectors
of this matrix represent the system’s eigenstates, while the
eigenvalues represent their energies. The eigenstate with the
minimum value is called _ground state φ_ ( _t_ ).
An AQC algorithm has three fundamental phases:
- The definition of an initial Hamiltonian _H_ (0), chosen so
that its ground state _φ_ (0) is easy to prepare;
- The definition of a final Hamiltonian _H_ (1), which describes the objective function, and its ground state _φ_ (1)
represents the optimal solution to the optimization problem.
- An adiabatic evolution path that controls the transition
from _H_ (0) to _H_ (1), defined as:
_H_ ( _s_ ) = _A_ ( _s_ ) _H_ (0)+ _B_ ( _s_ ) _H_ (1) (1)
where:
– _s_ = _t/T_
– _A_ ( _s_ ) is a function decreasing from 1 to 0;
– _B_ ( _s_ ) is a function increasing from 0 to 1.
According to the _adiabatic_ _theorem_ by Max Born and
Vladimir Fock [5], it is possible to achieve a transition that, if
slow enough, allows the system to remain in the ground state
throughout the process.
D-Wave machines do not strictly use an AQC model,
which requires operating at zero temperature, but rather
_Quantum_ _Annealing_ (QA) devices [6, 7]. QA is a more
”messier” version that operates at positive temperatures,
where qubits are strongly coupled to their environment while
still maintaining some quantum coherence.
### 3 Problem Statement
In a world with increasingly decentralized and cloud-based
ICT, it becomes of vital importance to tackle cloud infrastructure issues such as resource sizing and scheduling, managing
networking processes, managing and responding to cyber attacks, ensuring stable and fast services, and minimizing energy consumption. While the sought-after result for some of
these is purely efficiency for better performance, energy consumption is a pivotal point to achieve not only a reduction
in operating costs and, in some cases, performance improvement but also, or especially, a lower environmental impact.
3.1 Topology and ILP Model
The development of an optimization model for energy consumption has become a key challenge in cloud infrastructure
design [8–11]. Obtaining an optimal solution is possible for
small instances, as the problem is NP-Hard [12–14]. For
medium and large instances, the running time grows exponentially [11].
The energy efficiency of a _Virtual_ _Data_ _Center_ (VDC)
is improved by reducing the energy consumption of _Virtual_
_Machines_ (VMs) and networking using intelligent placement
and routing techniques. Over the years, various models have
been proposed. A first formulation as an _Integer Linear Pro-_
_gram_ (ILP) was provided by Jin et al. [15], along with a unified representation method that converts the VM placement
problem into a routing problem. They also introduced an
approach that divides the network into clusters processed in
parallel, along with a depth-first search-based algorithm.
Han et al. [16] proposed two greedy bin packing heuristics for embedding algorithms to achieve near-optimal solutions, a path followed by other publications suggesting different types of heuristic algorithms [17–21].
In [11] and [22], two different topologies with their respective ILPs were proposed, later converted into a Quadratic
Unconstrained Binary Optimization (QUBO) problem. This
conversion enables quantum processing based on Quantum
Annealing.
Because of its challenging complexity, which makes it a
good benchmark, the ILP model defined in [11] is considered in this work and further developed. The model concerns a physical system of servers connected via switches in a
complex tree topology, where each switch is connected to all
switches in the previous and next levels, ultimately reaching
the last layer of switches before the servers, which is connected in a binary manner (Fig. 1).
Figure 1: Servers and switches connected in a complex tree
topology
Despite the addition of connections between switches, the
ILP model remains very similar to that proposed in [11]. In
particular, the structure is as follows (a quick summary of the
notation is contained in Table 1).
_on_ ( _n_ 1 _,_ _n_ 2) _≤_ _on_ ( _n_ 1) _,_ _∀ln_ 1 _,n_ 2 (10)
_on_ ( _n_ 1 _,_ _n_ 2) _≤_ _on_ ( _n_ 2) _,_ _∀ln_ 1 _,n_ 2 (11)
The objective (Eq. 2) is divided into four fundamental
summations:
- the static power consumption of servers due to keeping
them powered on to allocate VMs;
_<u>M</u>_ <u>number of total servers</u>
_<u>N</u>_ <u>number of total VMs</u>
_<u>K</u>_ <u>number of total switches</u>
_<u>F</u>_ <u>number of total flows</u>
_<u>si</u>_ <u>test</u>
_<u>v</u>_ _<u>ji</u>_ _<u>j</u>_ <u>th VM on the</u> _<u>i</u>_ <u>th server</u>
_<u>u</u>_ <u>(</u> _<u>v</u>_ _<u>ji</u>_ <u>)</u> <u>the normalized CPU utilization of</u> _<u>v</u>_ _<u>ji</u>_
_<u>swk</u>_ _<u>k</u>_ <u>th switch</u>
_<u>ρ</u>_ <u>(</u> _<u>f</u>_ _<u>,</u>_ <u>(</u> _<u>n</u>_ <u>1</u> _<u>,</u>_ _<u>n</u>_ <u>2))</u> <u>part of the</u> _<u>f</u>_ <u>th flow going from node</u> _<u>n</u>_ <u>1</u> <u>to</u> _<u>n</u>_ <u>2</u>
_<u>P</u>_ <u>(</u> _<u>fn,</u>_ <u>(</u> _<u>n</u>_ <u>1</u> _<u>,</u>_ _<u>n</u>_ <u>2))</u> _<u>ρ</u>_ <u>(</u> _<u>f</u>_ _<u>,</u>_ <u>(</u> _<u>n</u>_ <u>1</u> _<u>,</u>_ _<u>n</u>_ <u>2))+</u> _<u>ρ</u>_ <u>(</u> _<u>f</u>_ _<u>,</u>_ <u>(</u> _<u>n</u>_ <u>2</u> _<u>,</u>_ _<u>n</u>_ <u>1))</u>
_<u>on</u>_ <u>(</u> _<u>n</u>_ <u>1)</u> <u>status of node</u> _<u>n</u>_ <u>1</u>
_<u>on</u>_ <u>(</u> _<u>n</u>_ <u>1</u> _<u>,</u>_ _<u>n</u>_ <u>2)</u> _<u>|</u>_ _<u>ln</u>_ <u>1</u> _<u>,n</u>_ <u>2</u> <u>link between node</u> _<u>n</u>_ <u>1</u> <u>and</u> _<u>n</u>_ <u>2</u>
_vsrc_ <u>(</u> _<u>f</u>_ <u>)</u> _<u>,i</u>_ <u>VM on</u> _i_ <u>th server, transmitting on</u> _f_ <u>th fowl</u>
_vdst_ <u>(</u> _<u>f</u>_ <u>)</u> _<u>,i</u>_ <u>VM on</u> _i_ <u>th server, receiving on</u> _f_ <u>th flow</u>
_<u>Pi</u>_ <sup>_<u>idle</u>_</sup> <u>the idle power consumption of node</u> _<u>i</u>_
_<u>Pi</u>_ <sup>_<u>idle</u>_</sup> <u>the idle power consumption of node</u> _<u>i</u>_
_<u>Pi</u>_ <sup>_<u>dyn</u>_</sup> <u>dynamic power consumption of node</u> _<u>i</u>_
_<u>Pi</u>_ <sup>_<u>dyn</u>_</sup> <u>dynamic power consumption of node</u> _<u>i</u>_
_<u>Cs</u>_ <u>capacity of server</u> _<u>s</u>_
_Cln_ <u>1</u> _<u>,n</u>_ <u>2</u> capacity of the link between node _n_ <u>1</u> and _n_ <u>2</u>
_<u>d</u>_ _<u>f</u>_ _<u>,l</u>_ <u>data rate of flow</u> _<u>f</u>_ <u>on link</u> _<u>l</u>_
Table 1: Notation for the problem formulation
_N_
#### ∑
_j_ =1
_i_
+
_min_
_M_
#### ∑
_i_ =1
_siPi_ <sup>_idle_</sup>
_i_ <sup>_idle_</sup> + _Pi_ <sup>_dyn_</sup>
_u_ ( _v_ _ji_ ) _v ji_
_K_
#### ∑
_k_ =1
( _ρ_ ( _f_ _,_ ( _n,_ _k_ ))+ _ρ_ ( _f_ _,_ ( _k,_ _n_ )))
(2)
_F_
#### ∑ f =1 n∈ ∑ M∪K
_k_
+
_swkPk_ <sup>_idle_</sup>
_k_ <sup>_idle_</sup> + _Pk_ <sup>_dyn_</sup>
Subject to:
_N_
#### ∑
_j_ =1
_M_
#### ∑
_i_ =1
_k_
#### ∑
_k_ =1
_k_
#### ∑
_k_ =1
_u_ ( _v_ _ji_ ) _v_ _ji ≤_ _Cisi,_ _∀i ∈{_ 1 _,..,_ _M}_ (3)
_v ji_ = 1 _∀_ _j ∈{_ 1 _,..,_ _N}_ (4)
_ρ_ ( _f_ _,_ ( _i,_ _k_ )) _≤_ _vsrc_ ( _f_ ) _,i,_ _∀i ∈{_ 1 _,..,_ _M},_ _∀_ _f_ _∈{_ 1 _,..,_ _F}_ (5)
_ρ_ ( _f_ _,_ ( _k,_ _i_ )) _≤_ _vdst_ ( _f_ ) _,i,_ _∀i ∈{_ 1 _,..,_ _M},_ _∀_ _f_ _∈{_ 1 _,..,_ _F}_ (6)
_vsrc_ ( _f_ ) _,i −_ _vdst_ ( _f_ ) _,i_ =
_k_
#### ∑
_k_ =1
_ρ_ ( _f_ _,_ ( _i,_ _k_ )) _−_
_k_
#### ∑
_k_ =1
_ρ_ ( _f_ _,_ ( _k,_ _i_ )) _,_
(7)
(8)
_∀i ∈{_ 1 _,..,_ _M},_ _∀_ _f_ _∈{_ 1 _,..,_ _F}_
_ρ_ ( _f_ _,_ ( _k,_ _n_ )) _,_
_∀_ _f_ _∈{_ 1 _,..,_ _F},_ _∀k ∈{_ 1 _,..,_ _K}_
#### ∑
_n∈M∪K_
#### ρ ( f, ( n, k )) = ∑
_n∈M∪K_
_F_
#### ∑ d f,ln 1,n 2 P ( fn, ( n 1, n 2)) ≤ Cln 1,n 2 on ( n 1, n 2), ∀ln 1,n 2 (9)
_f_ =1
the dynamic power consumption of VMs related to their
performance requirements;
- the static power consumption of switches due to keeping them powered on to enable communications through
them;
- the dynamic power consumption of switches related to
incoming and outgoing flows connecting them to other
nodes.
The variables of the problem are:
- _si_, a binary variable indicating the status, on or off, of
the _i_ th server.
- _v_ _ji_, a binary variable indicating the allocation of the _j_ th
VM to the _i_ th server.
- _swk_, a binary variable indicating the status of the _k_ th
switch.
- _ρ_ ( _f_ _,_ ( _n_ 1 _,_ _n_ 2)), a binary variable indicating if the _f_ th flow
passes from node _n_ 1 to node _n_ 2.
- _on_ ( _n_ 1 _,_ _n_ 2), a binary variable indicating whether the link
between _n_ 1 and _n_ 2, with _n_ 1 _< n_ 2, is on.
Eq. 3 ensures that each VM can be assigned only to a
powered-on server with enough capacity to host it. Eq. 4
guarantees that each VM is assigned to one and only one
server. Eq. 5 ensures that outgoing flows from a server
are less than or equal to the number of transmitting hosted
VMs. The same applies to incoming flows and receiving
VMs, guaranteed by Eq. 6. Additionally, it ensures that the
difference between outgoing and incoming flows is exactly
equal to the difference between the number of VMs assigned
for transmission and reception, as guaranteed by Eq. 7. The
equality between outgoing and incoming flows in a switch is
guaranteed by Eq. 8, while the correct balancing and assignment of flows, crucial to the routing problem, is ensured by
Eq. 9. Finally, Eq. 10 and Eq. 11 ensure that a link between
nodes is on if and only if both are on and therefore necessary
for routing a transmission.
The formulation methodology of this problem is crucial, as
it is noticeable that it does not contain quadratic constraints
nor non-binary variables. This has been done in anticipation
of the need to convert it into a QUBO model to attempt direct
resolutions using quantum computers.
Before delving into D-Wave solvers, it is essential to remind that the considered problem is formulated by means of
a CQM, whose expression capabilities are superior to those
of BQMs, which have access to only binary variables and no
constraints at all. Although the model has been designed to
be convertible into a BQM, it does not mean that its conversion would be optimal nor efficient, even though necessary
for computation on quantum machines. Conversion between
models is addressed in [23], where it is noted that the transition between the various categories, both downstream (BQM
to CQM) and upstream (CQM to BQM), is often suboptimal
in the latter case, creating extremely complicated problems
due to the relaxations necessary for adaptation.
### 4 D-Wave Solvers
4.1 QPU Structure
D-Wave computing systems rely on a _Quantum_ _Processing_
_Unit_ (QPU) that is essentially a complex arrangement of interconnected qubits, organized in a two-dimensional lattice
denoted as Chimera [2], to create a mapping network for optimization problems.
The qubits are microscopic rings of niobium, which exhibit
quantum behaviors at low temperatures. The electric currents
in these rings can circulate either clockwise or counterclockwise, determining the assignable spin value to the qubit (+1
or -1) [6]. To ensure the quantum properties of niobium, each
system is cooled to extremely low temperatures.
In the Chimera structure, qubits are oriented vertically or
horizontally, intertwining in clusters, also known as unit cell.
A component called coupler connects qubits of the same or
different cluster. There are three types of couplers:
- Internal Coupler : Connects each qubit to those in the
same cluster but with orthogonal orientation (verticalhorizontal and vice versa).
- External Coupler : Connects colinear qubits, either vertically or horizontally aligned, but from different clusters.
- Odd Coupler : Connects qubits with the same orientation but not colinear.
During the processing, the system maps the QUBO (or
Ising) problem onto the topology of the QPU, based on the
objective function to be computed. Specifically:
- each qubit represents a variable (node) of the objective
function;
- each coupler represents a quadratic component (edge)
of the objective function, specifically composed of the
two variables (qubits) it connects.
Each of these components is then associated with the parameter (bias) defined in the objective function for calculating the final value.
Qubits have a limited and predefined number of connections, meaning that if the problem has edges between nodes
not directly connected or an excessive number of edges on a
node, it cannot be mapped directly. To address this issue, the
system uses qubit chains, which are strong connections between qubits aiming to ”merge” them into a single one, thus
increasing the number of connections (and therefore neighbor qubits) it has access to. This is achieved through strong
coupling by setting the value of the coupler that connects
them to a negative value significant enough to ensure that
they always have the same classical state at the end of the
annealing phase, acting as a single variable. This process,
called chaining, can be replicated with _N_ qubits, creating
qubit chains long enough to satisfy any condition (within the
limits of the developed architecture) [24].
Although the quantum computing structure remains the
same, D-Wave provides, through its SDK, two classes
of solving methodologies for optimization problems [25],
namely _quantum_ _solvers_ and _hybrid_ _solvers_ . Their features
are illustrated below.
4.2 Quantum Solvers
The full quantum methodology [26] works directly with the
quantum machine without any intermediate steps, as seen in
Figure 2, later undergoing the process of minor embedding
for resolution. During this phase, the D-Wave machine manages the problem by attempting, through heuristic methods,
to find the best possible embedding on its structure. Once
found, a resolution algorithm, called Sampler, searches for
a solution to the problem through a quantum annealing process.
Although this methodology is the only one to fully exploit
the quantum technology, it is highly limited by the hardware
constraints of the machine, not only by the number of qubits
(and edges) within it, but also by the mapping, which may
require qubit chains, further reducing the machine’s capabilities, as observed in [22].
Figure 2: The full quantum methodology: the Solver API
(front-end) is directly connected to the QPU (back-end).
4.3 Hybrid Solvers
Using both classical and quantum resources to solve problems while maximising their complementary capabilities is
known as quantum-classical hybridization. Ocean software
currently supports two types of hybrid solvers: hybrid workflow solvers and Leap’s hybrid solvers.
4.3.1 Hybrid Workflow Solvers
The hybrid workflow methodology [27] (illustrated in Fig. 3)
aims to overcome the limitations of the full quantum methodology by processing the problem on multiple resolution flows
(denoted as _branches_ ), which are both quantum and classical.
Each of these flows can contain a direct solver for the problem or a customized ensemble of the following components:
- Decomposer : A decomposition algorithm that, given a
complete problem and a decomposition rule, produces a
solvable subproblem.
- SubSampler : A resolution algorithm, quantum or classical, for subproblems.
- Composer : A composition algorithm that, based on a
defined rules, decides how to integrate the subproblem’s
result into the complete collection of variables (sample).
If multiple branches are present, a merging rule is required
to determine how to fuse the various intermediate results.
Figure 3: Example of hybrid workflow solver architecture.
4.3.2 Leap’s Hybrid Solvers
The last methodology is that of Leap’s hybrid solvers [23,28],
which further explores the topic of hybrid computing, seeking to maximize its results. The general functioning of these
systems, portrayed in Fig. 4, is based on a classical solver
that processes the problem (either BQM, DQM, or CQM) and
then starts one or more hybrid heuristic solvers that run in
parallel to search for solutions. Each heuristic solver contains a classical _heuristic_ _model_ that explores the solution
space, and a unit called _Quantum Module_ (QM) that formulates quantum queries for the QPU. Replies from the QPU
guide the heuristic module toward more promising regions of
the search space, or to improve existing solutions.
Figure 4: Generic flow structure of a Leap’s hybrid solver.
### 5 Results
The considered problem (illustrated in Section 3) is formulated as a model with constraints, so even though it only
presents binary variables, it is not directly processable by a
BQM solver. The conversion led to a significant increase in
computational difficulty and also made the BQM solver inefficient even at the early stages of tree depth (a problem also
noted in [23]). On the other hand, the CQM solver, capable
of processing the problem in its native state, was able to solve
it optimally for various depths. It is crucial to point out that
the number of variables (and constraints) increases exponentially as the tree grows, starting from a minimum of nearly 50
variables at tree depth 2 and increasing to almost 3 _·_ 10 <sup>4</sup> variables at tree depth 6, meaning that the unconstrained version
becomes even more complicated after the relaxation.
For these reasons, only Leap’s hybrid solvers produced
correct results in reasonable times and only the CQM one was
able to manage the problem through increasing tree depths,
leading us to discard all the other methods and stick with the
latter. The implementation and performance evaluation of the
solution based on Leap’s hybrid CQM solver are illustrated
in the remainder of this section.
5.1 Implementation
To represent the tree structure, a class `Proxytree` was defined, containing both the tree structure (its depth, number
of servers, adjancy list, number of switches, etc.) and its
variables (servers capacities, switches capacities, flow capacities, etc.). Once the tree is instantiated, a function creates
the CQM problem using Ocean’s methods. This is forwarded
to another function which calls on D-Wave’s cloud system
Leap [29] for the problem resolution using the hybrid CQM
solver. Solution value, times and other possible information
is then saved.
To further evaluate this technologies, a split version of the
problem was developed, which divides it in two phases. The
first phase is the VM assignment on servers, the second one is
the path planning between servers. Initially, this choice was
made to the purpose of having a simpler problem to map on
a QPU and permit a full quantum resolution. As soon as it
became clear that only hybrid solvers were scalable enough
for studying large problem instances, the split version was
used to evaluate how much the problem gets worsen by the
suboptimal resolution.
The source code developed for this research work is available on GitHub <sup>1</sup> .
5.2 Experimental Setup
The tree creation values, except for the depth, remained the
same for all the tests, with many being automatically scaled
based on the selected tree dimension. The parameters are:
1https://github.com/AmedeoB/quantum-optimization-performance
_Cs_ = 10, determines the servers capacities and the
_cpu_ _~~u~~_ _til_ of the VMs equal to 6 (choice made to grant
that only one VM could be assigned to each server);
- _Cl_ = 5, which is then multiplied by the depth and decremented by 2 at each deeper level, determining the capacities of the links;
- _P_ <sup>_idle_</sup> = 10, which is then multiplied by the depth and
decremented by 5 at each deeper level, determining the
idle power consumption of a tree node;
- _P_ <sup>_dyn_</sup> = 2, which is then multiplied by the depth and
decremented by 1 at each deeper level, determining the
dynamic power consumption of a tree node;
- _davg_ = 4, average data rate that determines the data rate
_d_ of all flows.
The lowering power consumption, both dynamic and idle,
aims to encourage the solver to use higher level nodes only
when necessary by giving them an higher cost. Communications between VMs are fixed and correspond to numbers
ranging from 0 to _N −_ 1 paired in sequential order (0-1, 2-3,
etc.). Also, the number of VMs is always equal to the number
of servers.
By construction, the tree has always an even number of
servers corresponding to a power of 2 determined by the
depth. Increasing this parameter thus results in doubling the
number of servers at each level, as well as a general doubling
of the number of nodes.
During the tests with D-Wave’s hybrid CQM solver, it
emerged that the maximum tree depth for which a result
could be obtained in both complete and split version is 6.
Beyond this value, the system begins to struggle, no longer
providing a result for the complete problem and, at the next
level, not even for the path planning one. Moreover, already
at depth 6, the problem proved to be unstable, failing to find
a feasible solution for the complete problem 50% of the runs.
For this reason, the reported results stop at this tree depth.
It is important to note that, especially at greater depths,
the hybrid CQM solver provides highly variable results,
emphasizing the non-deterministic nature of the computing
paradigm.
There are several classical libraries that deal with optimization using different techniques. It was decided to use
DOcplex [30], a Python modeling library developed by IBM
using CPLEX [3]. Despite differences in function and parameter names, and in the data structures used for result management, the conversion from the D-Wave library [24] is quite
direct and linear, with variables, constraints, and objectives
translating easily from one version to another.
DOcplex offers various stopping options, where the default
is to find the optimal solution. Since the considered problem
is complex and cannot rely on finding optimal solutions in
acceptable times, two different stopping rules were decided.
The first stopping rule imposes a maximum computation
time equal to the time taken by the hybrid system, to evaluate
the efficiency of the result in equal response times. The second stopping rule imposes to return the first feasible solution
found, to evaluate its efficiency, but above all, the time required to find it, which is crucial in comparing data at major
tree depths.
Regarding the hardware used, the classical computation
was performed on a machine equipped with 16 GB of RAM,
an `AMD` `RYZEN` `7` `3800XT` processor and Windows 10 operating system, allocating 4 workers (cores) to computation.
Although the number of workers may seem limited, it was
chosen after multiple tests involving both a number of workers from 1 to 16 on the specified configuration and a number of workers from 1 to 32 (which is the maximum number
of workers that can be created) on a configuration equipped
with an `INTEL` `XEON` `E5` and 50 GB of dedicated RAM. In
all these configurations, it was observed that the growth of
parallelization led to a slowdown, in some cases excessive,
in computation speed due to overhead from the merging of
parallel streams.
Even ILOG CPLEX documentation indicates that an increase in workers leads to a linear increase in memory consumption and that increased parallelization is not always the
ideal approach, depending on the specific problem being
tackled [3].
5.3 Comparison Between Hybrid and Classical Solvers
Before comparing hybrid and classical solvers, it is important
to outline some peculiarities in the resolution of the problem
at various tree depths, regardless of the adopted method.
The resolution of the split version of the problem combines a trivial phase, VM assignment, to a non-trivial one,
path planning. The peculiarity of this methodology, however,
is the non-optimized assignment of VMs. In fact, having no
particular constraints, the first part of the split problem makes
decisions related only to the availability of servers, and not
to the relative position of VMs in the network based on their
connections. As shown in Table 2, at low tree depths the total
energy values of the split problem are generally greater than
the full model ones, which takes into account all the conditions.
<u>ENERGY</u>
<u>Tree Depth</u> <u>Split Model</u> <u>Full Model</u>
<u>2</u> <u>168.4</u> <u>130</u>
<u>3</u> <u>453.6</u> <u>376</u>
<u>4</u> <u>1185.6</u> <u>1043.2</u>
<u>5</u> <u>2851.8</u> <u>2921.6</u>
<u>6</u> <u>7178</u> <u>54026.66</u>
Table 2: Table of total energy values for D-Wave’s hybrid
CQM solver at various tree depths.
This advantage is also present in the classical version, denoting a fundamental peculiarity. As shown in Table 3, the
advantage of the complete problem lowers as the tree depth
grows and, at depth 4, the split version performs better. This
happens because the problem begins to be too complex for
the solver, which benefits more from the simplified but suboptimal structure of the split problem, than from the optimal
but complex structure of the complete one.
<u>ENERGY</u> <u>Time Limited</u> <u>Solution Limited</u>
<u>Tree Depth</u> <u>Split Model</u> <u>Full Model</u> <u>Split Model</u> <u>Full Model</u>
<u>2</u> <u>178</u> <u>130</u> <u>178</u> <u>178</u>
<u>3</u> <u>455</u> <u>376</u> <u>480</u> <u>473</u>
<u>4</u> <u>1190</u> <u>984</u> <u>1652</u> <u>2230</u>
<u>5</u> <u>2918</u> <u>8025</u> <u>3864</u> <u>9312</u>
<u>6</u> <u>NaN</u> <u>NaN</u> <u>7291</u> <u>NaN</u>
Table 3: Table of total energy values for the CPLEX classical solver, time limited and solution limited, for various tree
depths.
5.3.1 Time Limited Solution
The comparison method based on the first stopping rule (i.e.,
fixed execution timeframe) is the most direct and illuminating
on the capabilities of the two solvers (D-Wave’s hybrid CQM
solver and CPLEX classical solver), confronting them on the
individual quality of their results.
<u>ENERGY</u> <u>Hybrid</u> <u>Classical</u>
<u>Tree Depth</u> <u>Split Model</u> <u>Full Model</u> <u>Split Model</u> <u>Full Model</u>
<u>2</u> <u>168.4</u> <u>130</u> <u>178</u> <u>130</u>
<u>3</u> <u>453.6</u> <u>376</u> <u>455</u> <u>376</u>
<u>4</u> <u>1185.6</u> <u>1043.2</u> <u>1190</u> <u>984</u>
<u>5</u> <u>2851.8</u> <u>2921.6</u> <u>2918</u> <u>8025</u>
<u>6</u> <u>7178</u> <u>54026.66</u> <u>NaN</u> <u>NaN</u>
Table 4: Table of energy comparison between D-Wave’s hybrid CQM solver and CPLEX classical solver with time limited computation, at various tree depths, and % difference.
As shown in Table 4, the energy of the solutions increases
exponentially with the depth of the tree. Although it can be
noted that hybrid solutions are generally better than classical
ones, there are no significant differences in values up to a
tree depth of 4. After this point, the energy of the classical
resolution of the complete problem shoots up to quadruple
the others. Finally, at depth 6, the classical solver fails to
produce any feasible solution within the imposed time limit.
5.3.2 First Feasible Solution
By imposing to stop at the first feasible solution found, an
attempt was made to explore in more detail how much time
the classical solver took to produce a feasible result and, at
the same time, to obtain results for the deeper levels that the
classical solver failed to produce with limited time.
With this method, it was sought to emphasize the weight
of the advantage given by the QPU to the hybrid method,
<u>y</u>
<u>Tree Depth</u> <u>Split Model</u> <u>Full Model</u> <u>Split Model</u> <u>Full Model</u>
<u>2</u> <u>168.4</u> <u>130</u> <u>178</u> <u>178</u>
<u>3</u> <u>453.6</u> <u>376</u> <u>480</u> <u>473</u>
<u>4</u> <u>1185.6</u> <u>1043.2</u> <u>1652</u> <u>2230</u>
<u>5</u> <u>2851.8</u> <u>2921.6</u> <u>3864</u> <u>9312</u>
<u>6</u> <u>7178</u> <u>54026.66</u> <u>7291</u> <u>NaN</u>
Table 5: Table of energy comparison between D-Wave’s hybrid CQM solver and CPLEX classical solver with first solution limited computation, at various tree depths, and % difference.
<u>TIME [s]</u> <u>Hybrid</u> <u>Classical</u>
<u>Tree Depth</u> <u>Split Model</u> <u>Full Model</u> <u>Split Model</u> <u>Full Model</u>
<u>2</u> <u>6.072</u> <u>5.0438</u> <u>0.0182</u> <u>0.017</u>
<u>3</u> <u>10.186</u> <u>5.261</u> <u>0.057</u> <u>0.044</u>
<u>4</u> <u>10.326</u> <u>5.112</u> <u>0.156</u> <u>0.173</u>
<u>5</u> <u>15.758</u> <u>9.107</u> <u>0.662</u> <u>5.261</u>
<u>6</u> <u>22.711</u> <u>17.053</u> <u>42.959</u> <u>1501.65</u>
Table 6: Table of time comparison between D-Wave’s hybrid
CQM solver and CPLEX classical solver with first solution
limited computation, at various tree depths.
trying to identify how much the gap between methodologies
amounted to once the critical point was reached.
In Table 5, it is evident how the split solution of the classical solver is the less affected by the first-feasible-solutionfound limitation, while the complete one visibly worsens
compared to previous values. The energy gap between the
solutions becomes more prominent at depth 4, especially between complete resolutions. Despite this, as shown in Table 6, the classical solver always takes less than one second
to produce these non-optimal but feasible solutions, and only
at depth 5 we see a real increase in the minimum computation
time to obtain an acceptable result. This not only requires a
time similar to the hybrid CQM solver, but even produces an
extremely worse solution. Moreover, the split model for the
hybrid CQM solver takes more time than the full one. This
highlights a clear lower bound, which is around 5 seconds,
to problem resolution on D-Wave platform, caused by their
automatic resolution time calculator applied to the solver.
A crucial point is the last depth level, where two aspects
come to light. The first is the solution of the split problem
produced by the classical solver, which catches up to the hybrid CQM solver one, as shown in Table 5, but with a significant time gap of almost 90%, as shown in Table 6. This
indicates how the support to the QPU guided the resolution
of the problem, leading to a considerable speedup, as well as
a minimal optimization of the energy value.
The second is the considerable increase in the gap between
the split and complete solution, which not only underscores
the marked difficulty that the problem is reaching but also
highlights how the classical solver is unable, despite giving it
almost 9000% of the time used by the hybrid CQM solver, of
producing a feasible solution, something that its competitor
manages to do in less than 20 seconds.
### 6 Conclusion
Despite D-Wave’s QPUs alone are still too immature to handle excessively complex problems, the support of classical
computers in hybrid systems leads to a significant performance increase compared to classical solutions. In summary,
while these quantum machines represent a promising frontier for the future of mathematical optimization, at this stage
their strength emerges primarily when synergistically integrated with classical computers.
Future work could deepen into D-Wave framework’s limits, still using the same benchmark but trying different network topologies with different constraints and growth rates,
to visualize a better break point for both quantum and hybrid approaches. Another possible development could be the
design and implementation of completely different benchmarks, to see which of them are best suited for quantum
solvers, and which of them are best suited for hybrid solvers.
### Acknowledgement
Michele Amoretti acknowledges financial support from the
European Union - NextGenerationEU, PNRR MUR project
PE0000023-NQSTI. This research benefits from the HPC
(High Performance Computing) facility of the University of
Parma, Italy.
### References
[1] A. Abbas, A. Ambainis, B. Augustino, A. B¨artschi,
H. Buhrman, C. Coffrin, G. Cortiana, V. Dunjko, D. J.
Egger, B. G. Elmegreen, N. Franco, F. Fratini, B. Fuller,
J. Gacon, C. Gonciulea, S. Gribling, S. Gupta, S. Hadfield, R. Heese, G. Kircher, T. Kleinert, T. Koch, G. Korpas, S. Lenk, J. Marecek, V. Markov, G. Mazzola,
S. Mensa, N. Mohseni, G. Nannicini, C. O’Meara, E. P.
Tapia, S. Pokutta, M. Proissl, P. Rebentrost, E. Sahin,
B. C. B. Symons, S. Tornow, V. Valls, S. Woerner,
M. L. Wolf-Bauwens, J. Yard, S. Yarkoni, D. Zechiel,
S. Zhuk, and C. Zoufal, “Quantum optimization: Potential, challenges, and the path forward,” 2023.
[2] D-Wave Systems Inc., “D-wave systems web page,”
2023. [Online]. Available: [https://www.dwavesys.com/](https://www.dwavesys.com/)
[3] IBM Corporation, “Ilog cplex optimization studio,”
2024. [Online]. Available: [https://www.ibm.com/docs/](https://www.ibm.com/docs/en/icos/22.1.1)
[en/icos/22.1.1](https://www.ibm.com/docs/en/icos/22.1.1)
[4] E. Farhi, J. Goldstone, S. Gutmann, and M. Sipser,
“Quantum computation by adiabatic evolution,” 2000.
[5] M. Born and V. Fock, “Beweis des adiabatensatzes,”
_Zeitschrift_ _f¨ur_ _Physik_, vol. 51, no. 3-4, pp. 165–180,
1928.
[6] C. Mcgeoch and C. Wang, Experimental evaluation of
an adiabiatic quantum system for combinatorial optimization,” in _Proceedings of the 2013 ACM Conference_
_on Computing Frontiers_ . Ischia, Italy: ACM, 05 2013.
[7] S. Boixo, T. F. Rønnow, S. V. Isakov, Z. Wang,
D. Wecker, D. A. Lidar, J. M. Martinis, and
M. Troyer, “Evidence for quantum annealing with
more than one hundred qubits,” _Nature_ _Physics_,
vol. 10, no. 3, p. 218–224, Feb. 2014. [Online].
Available: [http://dx.doi.org/10.1038/nphys2900](http://dx.doi.org/10.1038/nphys2900)
[8] K. Zheng, X. Wang, L. Li, and X. Wang, “Joint power
optimization of data center network and servers with
correlation analysis,” in _IEEE INFOCOM 2014 - IEEE_
_Conference_ _on_ _Computer_ _Communications_ . Toronto,
Canada: IEEE, 2014, pp. 2598–2606.
[9] B. Lu, S. S. Dayapule, F. Yao, J. Wu, G. Venkatara
mani, and S. Subramaniam, “Popcorns: Power optimization using a cooperative network-server approach
for data centers,” in _2018 27th International Conference_
_on_ _Computer_ _Communication_ _and_ _Networks_ _(ICCCN)_ .
Hangzhou, China: IEEE, 2018, pp. 1–9.
[10] A. Jayanetti and R. Buyya, “J-opt: A joint host and
network optimization algorithm for energy-efficient
workflow scheduling in cloud data centers,” in
_Proceedings_ _of_ _the_ _12th_ _IEEE/ACM_ _International_
_Conference_ _on_ _Utility_ _and_ _Cloud_ _Computing_, ser.
UCC’19. New York, NY, USA: Association for
Computing Machinery, 2019, p. 199–208. [Online].
Available: [https://doi.org/10.1145/3344341.3368822](https://doi.org/10.1145/3344341.3368822)
[11] M. Amoretti, D. Ferrari, and A. Manzalini, “Classical
and quantum solvers for joint network/servers power
optimization,” arXiv:2205.01165, 2022.
[12] H. I. Christensen, A. Khan, S. Pokutta, and P. Tetali,
“Multidimensional bin packing and other related problems: A survey,” 2016.
[13] L. Hyafil and R. L. Rivest, “Graph partitioning and con
structing optimal decision trees are polynomial complete problems,” Iria Laboratory, Tech. Rep., 1973.
[14] M. Garey, “Some simplified NP-complete graph prob
lems,” _Theoretical_ _Computer_ _Science_, vol. 1, pp. 237–
267, 1976.
[15] H. Jin, T. Cheocherngngarn, D. Levy, A. Smith, D. Pan,
J. Liu, and N. Pissinou, “Joint host-network optimization for energy-efficient data center networking,” in
_2013_ _IEEE_ _27th_ _International_ _Symposium_ _on_ _Parallel_
_and Distributed Processing_ . Boston, MA, USA: IEEE,
2013, pp. 623–634.
[16] Y. Han, J. Li, J.-Y. Chung, J.-H. Yoo, and J. W.-K.
Hong, “SAVE: Energy-aware virtual data center embedding and traffic engineering using SDN,” in _Pro-_
_ceedings of the 2015 1st IEEE Conference on Network_
_Softwarization_ _(NetSoft)_ . London, UK: IEEE, 2015,
pp. 1–9.
[17] C. Guo, K. Xu, G. Shen, and M. Zukerman,
“Temperature-aware virtual data center embedding to
avoid hot spots in data centers,” _IEEE Transactions on_
_green_ _communications_ _and_ _networking_, vol. 5, no. 1,
pp. 497–511, 2020.
[18] Z. Wang, C. Guo, S. K. Bose, and G. Shen, “Frequency
adaptive vdc embedding to minimize energy consumption of data centers,” _IEEE Transactions on Green Com-_
_munications_ _and_ _Networking_, vol. 6, no. 1, pp. 447–
461, 2021.
[19] C. Pham, N. H. Tran, S. Ren, W. Saad, and C. S.
Hong, “Traffic-aware and energy-efficient vnf placement for service chaining: Joint sampling and matching
approach,” _IEEE Transactions on Services Computing_,
vol. 13, no. 1, pp. 172–185, 2017.
[20] G. Sun, D. Liao, S. Bu, H. Yu, Z. Sun, and V. Chang,
“The efficient framework and algorithm for provisioning evolving vdc in federated data centers,” _Future Gen-_
_eration Computer Systems_, vol. 73, pp. 79–89, 2017.
[21] F. Carpio, W. Bziuk, and A. Jukan, “Replication of vir
tual network functions: Optimizing link utilization and
resource costs,” in _2017 40th International Convention_
_on_ _Information_ _and_ _Communication_ _Technology,_ _Elec-_
_tronics and Microelectronics (MIPRO)_ . Opatija, Croatia: IEEE, 2017, pp. 521–526.
[22] G. Colucci, S. van der Linde, and F. Phillipson, “Power
network optimization: a quantum approach,” _IEEE Ac-_
_cess_, vol. 11, pp. 98 926–98 938, 2023.
[23] D-Wave Systems Inc., “Hybrid solver for constrained
quadratic models,” 2021. [Online]. Available: [https:](https://www.dwavesys.com/media/rldh2ghw/14-1055a-a_hybrid_solver_for_constrained_quadratic_models.pdf)
[//www.dwavesys.com/media/rldh2ghw/14-1055a-a](https://www.dwavesys.com/media/rldh2ghw/14-1055a-a_hybrid_solver_for_constrained_quadratic_models.pdf)
hybrid ~~s~~ olver ~~f~~ or ~~c~~ [onstrained](https://www.dwavesys.com/media/rldh2ghw/14-1055a-a_hybrid_solver_for_constrained_quadratic_models.pdf) ~~q~~ uadratic ~~m~~ odels.pdf
[24] ——, “D-wave documentation web page,” 2023.
[Online]. Available: [https://docs.dwavesys.com/docs/](https://docs.dwavesys.com/docs/latest/index.html)
[latest/index.html](https://docs.dwavesys.com/docs/latest/index.html)
[25] ——, “Ocean sdk web page,” 2023. [Online].
Available: [https://docs.ocean.dwavesys.com/en/stable/](https://docs.ocean.dwavesys.com/en/stable/#)
[#](https://docs.ocean.dwavesys.com/en/stable/#)
[26] D-Wave Systems Inc, “Quantum solvers,” 2024.
[Online]. Available: [https://docs.ocean.dwavesys.com/](https://docs.ocean.dwavesys.com/en/stable/overview/qpu.html)
[en/stable/overview/qpu.html](https://docs.ocean.dwavesys.com/en/stable/overview/qpu.html)
[27] ——, “Hybrid workflow solvers,” 2024. [Online].
Available: [https://docs.ocean.dwavesys.com/en/stable/](https://docs.ocean.dwavesys.com/en/stable/docs_hybrid/intro/overview.html#overview-hybrid)
docs ~~h~~ [ybrid/intro/overview.html#overview-hybrid](https://docs.ocean.dwavesys.com/en/stable/docs_hybrid/intro/overview.html#overview-hybrid)
[28], Leap s hybrid solvers, 2024. [Online].
Available: [https://docs.ocean.dwavesys.com/en/stable/](https://docs.ocean.dwavesys.com/en/stable/overview/hybrid.html#leap-hybrid-solvers)
[overview/hybrid.html#leap-hybrid-solvers](https://docs.ocean.dwavesys.com/en/stable/overview/hybrid.html#leap-hybrid-solvers)
[29] D-Wave Systems Inc., “Leap web page,” 2024.
[Online]. Available: [https://cloud.dwavesys.com/leap/](https://cloud.dwavesys.com/leap/)
[30] IBM Corporation, “Ibm decision optimization cplex
modeling for python,” 2024. [Online]. Available:
[https://ibmdecisionoptimization.github.io/docplex-doc/](https://ibmdecisionoptimization.github.io/docplex-doc/)
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.