Quantum annealing is a meta-heuristic most commonly known for solving optimization and decision problems [
19,
21,
28]. Although this meta-heuristic can also be simulated classically, it has been implemented in quantum hardware by companies such as D-Wave Systems. Those quantum annealers are designed to minimize a spin glass system, described by an Ising Hamiltonian in the following form:
where
\(\sigma _z^{(i)}\) is the Pauli
z-matrix operating on qubit
i,
\(h_{i}\) is the independent energy or bias of qubit
\(i,\) and
\(J_{ij}\) are the interaction energies or couplings of qubits
i and
j.
Within the fundamental process of quantum annealing, an initial Hamiltonian
\(\mathcal {H}_{I}\) with an easy-to-prepare minimal energy configuration (or ground state) is physically interpolated to a problem Hamiltonian
\(\mathcal {H}_{P}\) whose minimal energy configuration is sought (see Equation (
2)). The minimal energy configuration of the problem Hamiltonian corresponds to the best solution of the defined problem. The physical principle on which the D-Wave computation process is based on can be described by a time-dependent Hamiltonian as follows
\(\mathcal {A}(t)\) and
\(\mathcal {B}(t)\) are the anneal functions of D-Wave machines, with
\(\mathcal {A}(t)\) stating the tunneling energy and
\(\mathcal {B}(t)\) being the energy of the problem Hamiltonian at time
t in units of joules. The anneal functions must satisfy
\({\mathcal {B}(t = 0) = 0}\) and
\({\mathcal {A}(t = \tau) = 0}\), with
\(\tau\) being the total evolution time. As the state evolution changes from
\(t=0\) to
\(t=\tau\), the annealing process, described by
\(\mathcal {H}(t),\) leads to the final form of the Hamiltonian corresponding to the objective Ising problem that needs to be minimized. Therefore, the ground state of the initial Hamiltonian
\(\mathcal {H}(0) = \mathcal {H}_I\) evolves to the ground state of the problem Hamiltonian
\({\mathcal {H}(\tau) = \mathcal {H}_P}\). The measurements performed at time
\(\tau\) deliver low energy states of the Ising Hamiltonian as stated in Equation (
1).
According to the adiabatic theorem [
2], if this process is executed sufficiently slow and smooth (i.e.,
\(\tau\) is large) and the coherence is preserved long enough, the probability to acquire the ground state of the problem Hamiltonian is close to 1 [
1]. However, since no real-world computation can run in perfect isolation, the annealing process can suffer from non-adiabatic effects (i.e., thermal fluctuations), which can lead the system to jump from the ground state to an excited state. The minimum distance between the ground state and the first excited state—the one with the lowest energy apart from the ground state—throughout any point in the anneal process is called the
minimum spectral gap \(g_\text{min}\) of
\(\mathcal {H}(t)\) and is defined as
where
\(E_j(t)\) is the energy of any excited state and
\(E_0(t)\) is the energy of the ground state at time
t [
17]. By computing all those energy states and their corresponding eigenenergies, one can analyze the eigenspectrum of a (relatively small) Hamiltonian and assess its minimum spectral gap (Figure
1 presents an example of an eigenspectrum). However, every problem that one can specify has a different Hamiltonian and therefore a different corresponding eigenspectrum. According to D-Wave Systems, the most difficult problems in terms of quantum annealing are generally those with the smallest spectral gaps [
11]. For completeness, it should be noted that there is an alternative formulation to the Ising spin glass system that is used frequently. The so-called
Quadratic Unconstrained Binary Optimization (QUBO) formulation is mathematically equivalent to the Ising model and replaces each Pauli
z-operator
\(\sigma _z^{(i)}\) with a Boolean variable
\(x_i\); the conversion is as simple as setting
\(\sigma _z^{(i)} \rightarrow 2x_i - 1\) [
3,
29]. The D-Wave Systems annealer is also able to minimize the functional form of the QUBO formulation
\(x^TQx\), with
\(x \in \lbrace 0,1\rbrace ^n\) being a vector of size
n of binary variables and
\(Q \in \mathbb {R}^{n \times n}\) being a symmetric
\(n \times n\) real-valued matrix describing the interactions between the variables. Given matrix
Q, the annealing process tries to find binary variable assignments
x that minimize the objective function.