Quantum annealing

On this page 7

Quantum annealing is a heuristic optimization method that encodes a problem into the energy landscape of interacting qubits and then slowly reduces a transverse field so that the system settles into low-energy configurations, which correspond to good or optimal solutions. Among quantum algorithms it occupies a special place because it runs on dedicated analog hardware rather than on a gate-based circuit.

In quantum computing, quantum annealing is closely related to adiabatic quantum computation, but it relaxes the strict requirements of that model. It accepts finite temperature, noise and imperfect schedules, so it is best understood as a practical sampler of low-energy states rather than a guaranteed solver.

How quantum annealing searches an energy landscape

Quantum annealing works by interpolating between two Hamiltonians. The process starts with a driver Hamiltonian made of transverse-field terms, whose ground state is an equal superposition of all bit strings and is easy to prepare. Over the anneal, the weight of the driver falls while the weight of the problem Hamiltonian rises, until only the problem remains.

If the change is slow compared with the inverse square of the minimum energy gap, the adiabatic theorem keeps the system close to its instantaneous ground state. During the evolution, quantum tunneling lets the state pass through tall but thin energy barriers, which is the main intuitive difference from thermal simulated annealing, where the state must climb over barriers.

The table below lists the stages of a typical annealing run.

StageDominant termState of the qubits
InitializationTransverse fieldUniform superposition
Early annealDriver, weakeningBroad exploration via tunneling
Freeze-out regionBoth comparableDynamics slow and largely stop
End of annealProblem HamiltonianClassical bit string near a minimum
ReadoutNoneMeasured spin configuration
Stages of a quantum annealing run

Problem formulation with Ising models and QUBO

Quantum annealers accept problems written as an Ising model or an equivalent QUBO, a quadratic unconstrained binary optimization. The user supplies linear biases on individual qubits and coupling strengths between pairs, and the annealer seeks the assignment of spins with the lowest total energy.

Constraints are not native, so they enter as penalty terms added to the objective. Choosing penalty weights is an art: weights that are too small allow invalid solutions, while weights that are too large compress the useful energy scale and make the true optimum harder to distinguish from noise.

The following table shows the main parameters a practitioner controls.

ParameterTypical settingEffect on results
Anneal timeAbout 1-2000 µsLonger runs reduce diabatic errors
Number of readsHundreds to thousandsMore samples improve the best found
Chain strengthTuned per problemKeeps embedded logical qubits consistent
Penalty weightScaled to objectiveBalances validity and precision
Anneal schedule shapeLinear, paused or reverseChanges where tunneling is effective
Main parameters of a quantum annealing job

Quantum annealing is one of several approaches to optimization that use quantum effects, and it is often confused with its neighbors. The key differences concern guarantees, hardware and programmability.

The comparison table below places it next to the closest concepts in the topic.

MethodHardwareGuaranteeTypical use
Quantum annealingAnalog annealerNone; heuristicSampling low-energy solutions
Adiabatic quantum computationIdealized closed systemUniversal if gaps stay largeTheoretical model of computation
QAOAGate-based processorApproaches optimum as depth growsVariational combinatorial optimization
Simulated annealingClassical computerConverges with slow coolingBaseline heuristic
Quantum annealing versus related optimization methods

The most important distinction is that adiabatic quantum computation with arbitrary Hamiltonians is polynomially equivalent to the circuit model, whereas quantum annealing with stoquastic Ising Hamiltonians is not believed to be universal. Claims of speedup must therefore be checked carefully against strong classical heuristics.

Embedding problems on real annealing hardware

Physical annealers have limited qubit connectivity, so an arbitrary problem graph rarely fits directly. Minor embedding solves this by representing each logical variable as a chain of physical qubits bound together by strong ferromagnetic couplings.

Embedding has a real cost. Dense problems may need several to many physical qubits per variable, which reduces the effective problem size, and broken chains, where qubits in a chain disagree at readout, must be repaired by majority vote or discarded. Precision of the analog couplers, often a few percent, adds integrated control errors that can shift the apparent ground state.

Strengths, limitations and the speedup debate

Quantum annealing has demonstrated coherent quantum dynamics at scales of thousands of qubits, and it has been valuable for simulating quantum magnetism in materials models. For general optimization, however, the evidence for a broad advantage over the best classical algorithms remains limited and actively disputed.

The table below summarizes typical observations and their causes.

ObservationLikely causeMitigation
Best solution is not optimalSmall spectral gap or noiseLonger anneals, more reads, pauses
Many invalid solutionsPenalty weights too weakRescale constraints
Frequent chain breaksChain strength too lowIncrease strength or improve embedding
Results vary between runsAnalog control errorsSpin-reversal transforms and averaging
Common issues in quantum annealing practice

Practitioners therefore treat quantum annealing as one tool in a hybrid workflow, combining it with classical preprocessing and local search, and they benchmark it against tuned classical solvers before drawing conclusions.

Put simply

Imagine a landscape of hills and valleys. The lowest valley is the best answer to a problem. A ball rolling downhill can get stuck in a small dip. Quantum annealing lets the ball slip through thin hills instead of climbing over them.

The machine starts in a state that covers every possible answer at once. It then slowly turns the problem on. If all goes well, it ends up in or near the lowest valley. It does not promise the perfect answer. It gives many good guesses quickly.

In practice

A logistics planner wants to assign 40 delivery vehicles to time slots at a busy warehouse so that loading docks never overflow and drivers wait as little as possible. The team writes the problem as a QUBO, with penalty terms for overbooked docks, and submits it to a quantum annealer with 1,000 reads of about 20 microseconds each.

After embedding, each binary variable uses a short chain of physical qubits. The annealer returns many low-penalty schedules within seconds. The team then polishes the best samples with a classical local search. In this case the hybrid result matches a tuned classical solver in quality, and the team keeps both tools in its pipeline while it tests larger instances.