Quantum Annealing
Quantum annealing uses a changing quantum Hamiltonian to produce candidate solutions, often low-cost bit strings. A driver initially mixes configurations; the problem Hamiltonian favors the desired answers. Coherent transitions, thermal relaxation and the measurement process can all influence the returned distribution. Unlike ideal adiabatic quantum computation, an annealing protocol may deliberately use fast changes, pauses or reversals. Its usefulness depends on the measured answers and total cost, not merely on whether a quantum mechanism is present.
Helpful background. Adiabatic quantum computation explains Hamiltonian encodings and gaps. Thermal master equations explains when thermal transition rates provide a valid dynamical model.
Driver and problem Hamiltonians
Section titled “Driver and problem Hamiltonians”With and , bits and spin values obey
A two-local Ising objective has the form
The common transverse driver , with , has product ground state . A schedule can use
Here denotes any additional control terms. If the component Hamiltonians have energy units, and are dimensionless; other conventions must specify where the energy scale sits. Nonuniform or interacting drivers can change both preparation difficulty and the accessible dynamics.
For a decoder and objective , the diagonal relation
preserves the ordering of decoded costs. Increasing also changes physical gaps, thermal ratios and usually transition rates. A uniform scalar offset cancels from the normalized Gibbs state and contributes only a common phase to isolated evolution. Constraint penalties and chain couplings must fit the available coefficient range; making them stronger may require reducing all other physical energy scales.
Define success after decoding. If is the accepted set of answers, then physical string succeeds when . Several ground strings may all be valid, and broken-chain repair or rejection changes the returned distribution.
A schedule determines a process
Section titled “A schedule determines a process”A forward anneal usually reduces the relative driver strength and increases the problem strength. A pause holds selected coefficients fixed. A reverse anneal starts from a specified seed near the problem endpoint, moves toward a stronger driver and returns. A quench idealizes a rapid change; finite control bandwidth determines how well that idealization applies.
The initial state, full schedule and dynamics are needed to predict samples. For a terminal state and measurement effects ,
If a classical readout channel follows an ideal computational-basis measurement, then , and acceptance must use the actually reported outcomes.
Closed evolution follows . It has no bath temperature, although the initial state may be thermal. For an open system,
A fixed initial environment uncorrelated with arbitrary system inputs defines a channel on those inputs. With correlated preparations, the reduced evolution cannot automatically be represented by one channel on every possible system state.
A master equation such as
requires specified coupling operators, rates and approximation conditions. Weak-coupling thermal generators for slowly varying Hamiltonians have additional time-scale and secular requirements, as developed by Albash and colleagues. A local dissipator may fail to preserve the Gibbs state of an interacting Hamiltonian. Fast driving, strong coupling or memory can invalidate an instantaneous thermal description.
Coherent example: longer can be worse
Section titled “Coherent example: longer can be worse”Set . Prepare the ground state of , quench to , hold for time , then quench to and measure. Ideal zero-duration quenches leave the state unchanged at each switch. During the pulse,
The endpoint ground-state probability and energy are
| Dwell time | Ground probability | Mean final energy |
|---|---|---|
The probability returns to after a longer dwell. This is coherent interference, not relaxation to a thermal state or an application of an adiabatic theorem. A subsequent closed dwell under changes phases but leaves these measurement probabilities unchanged.
Thermal relaxation and incomplete equilibration
Section titled “Thermal relaxation and incomplete equilibration”For a fixed two-level energy basis with energies and , let be the excited-state population. Upward and downward rates give
where and . Thermal detailed balance requires , giving
The equilibrium population is a destination of this rate law, not a value reached instantly. Relaxation can lower or raise , depending on which side of the incoming state occupies.
For a concrete two-stage model, take , initial and parameters followed by . The energy basis is fixed, and the instantaneous parameter change is an idealization. Applying the update twice gives
Thus the actual ground probability is , far below the final Gibbs value . The second stage removes only the fraction of its incoming deviation from .
Two explicitly different models. The upper plot is the coherent pulse example; extending the pulse can reduce success. The lower plot follows the thermal rate example; the ground population rises but does not reach the new equilibrium value after the second stage. Neither plot is device data.
For time-dependent rates, define . The exact scalar solution is
It remembers the earlier schedule. If the remaining integrated rate is small, little further relaxation is possible in this model. A useful definition of freeze-out must specify such a kinetic model, observable and tolerance; there is no universal freeze time.
An effective-temperature fit alone cannot establish that mechanism. In the example,
although the bath has . Every strictly positive two-level diagonal distribution admits a fitted inverse temperature, possibly negative, so the fit is a particularly weak test of equilibration.
There is a useful special case: if the late Hamiltonian is , with , and populations equilibrate at then remain frozen in its fixed eigenbasis, fitting them in the final energy units gives . Residual transverse terms, later transitions or readout errors can spoil this inference. Amin discusses the quasistatic freeze-out interpretation and its limits.
Stoquasticity, embedding and errors
Section titled “Stoquasticity, embedding and errors”A Hamiltonian is stoquastic in a specified basis if all off-diagonal entries are real and nonpositive. This may avoid a sign problem in a particular equilibrium representation, but it does not guarantee rapid sampling or easy optimization. Nonstoquasticity, tunneling and entanglement likewise do not establish a speedup. The sign problem and complexity classes explain the separate computational questions.
An embedding represents one logical spin by several physical spins or other controls. Its coupling penalties, coefficient rescaling and broken-chain decoder affect the measured answers. For a spin-reversal gauge , define . Then
Decode with . The ideal spectrum is unchanged; averaging across gauges may reduce some control biases but is not quantum error correction.
For ideal low-energy accepted states separated from rejected states by , a Hermitian perturbation satisfying preserves a spectral separation. If the error is diagonal in the same computational basis, it also preserves the ordering of those accepted and rejected strings. A general off-diagonal error can rotate the low-energy subspace: a surviving gap alone does not ensure that computational-basis readout returns the same strings. Dynamical and readout errors require additional analysis.
Success probabilities and total time
Section titled “Success probabilities and total time”Mean energy, probability of an exact optimum, feasibility and approximation quality are different statistics. An accepted cost threshold should be fixed before comparing solvers. For known independent per-run ,
gives at least one accepted result with probability . Recognizing that result requires a checkable target or another justified selection rule. Correlations, drift, varying gauges or uncertainty in an estimated probability require a different statistical treatment.
A simple serial cost model is
This assumes one shared programming step. Reprogramming, multiple gauges, rejected samples and parallel resources must be counted when used. Algorithmic benchmarking explains matched comparisons, and optimization case studies connects them to applications. A successful small example or a short anneal time alone establishes neither favorable scaling nor an advantage.
Exercises
Section titled “Exercises”Map a Two-Bit QUBO to an Ising Hamiltonian
Section titled “Map a Two-Bit QUBO to an Ising Hamiltonian”Using , map
to a diagonal Ising Hamiltonian. Enumerate the four bit strings, identify the accepted minimum set, and explain which affine changes preserve that set.
Solution
Substitution gives
In the order , the objective values are
Thus the accepted set is . Adding a constant and multiplying by a positive number preserve this argmin. They do not preserve every physical statement: a positive scale changes gaps, , control ranges, and generally transition rates.
Apply and Decode a Spin-Reversal Gauge
Section titled “Apply and Decode a Spin-Reversal Gauge”For
apply the gauge , find the transformed Hamiltonian, and decode the transformed ground spin.
Solution
The coefficient rule , gives
The original ground spin is , with energy
It maps to the measured transformed spin . Decoding with recovers . The gauge is a unitary relabeling, so the ideal spectrum is invariant; averaging over gauges is not error correction.
Show That Stoquasticity Depends on the Basis
Section titled “Show That Stoquasticity Depends on the Basis”Compare with its transform under . Decide whether each matrix is stoquastic in the computational basis and state what remains invariant.
Solution
In the computational basis,
has nonpositive off-diagonal entries. Since ,
whose off-diagonal entries are positive in that same basis. The two Hamiltonians are unitarily related and have the same spectrum. Physical predictions agree only when states and observables are transformed as well. Neither sign pattern establishes efficient classical sampling or a quantum advantage.
Solve an Ideal One-Qubit Reverse Anneal
Section titled “Solve an Ideal One-Qubit Reverse Anneal”Let and seed the system in . Quench , hold for time , and quench back. Compute the probability of returning the accepted state .
Solution
During the dwell,
The final quench does not change the state, so
For , the accepted probabilities are . This ideal result depends on the declared seed and unbounded-bandwidth quenches. It is not a speedup statement.
Compare two inputs to a thermal pause
Section titled “Compare two inputs to a thermal pause”For a constant-stage equilibrium excited probability , rate , and pause duration , propagate incoming excited probabilities and . Does the same pause always improve ground-state success?
Solution
The constant-stage update is
For the first input,
so the ground probability increases. For the second,
so the ground probability decreases. Relaxation moves the population toward from either side; the same pause can help or hurt according to the incoming state.
Test a two-site chain embedding
Section titled “Test a two-site chain embedding”For , , and
enumerate the two-spin energies, find when unbroken chains are the only ground configurations, and test and .
Solution
In the order , the energies are
The two unbroken configurations are the only ground configurations exactly when ; at , one broken configuration becomes degenerate. For and , the energies are
so an unbroken chain wins. At , it is
and the broken configuration wins. Majority vote ties on any broken two-site chain, so one must specify a tie-breaking rule or reject those samples before computing success.
Calculate repetition and total time
Section titled “Calculate repetition and total time”Assume a known independent probability of meeting an efficiently checkable target cost, and require at least one accepted result with probability . There is one setup/program cost. Each run uses to anneal, to read and reset, and to decode. Compute the repeat count, end-to-end time, anneal-only time, and their ratio.
Solution
The repeat count is
Each full run costs , so
Anneal-only accounting gives . It underestimates the declared end-to-end time by
This calculation assumes fixed independent trials and a known success probability. Estimation uncertainty, drift, correlation, reprogramming, verification, or comparator work would require additional modeling and costs.
A frustrated triangle in an assumed Gibbs state
Section titled “A frustrated triangle in an assumed Gibbs state”For three spins, let
Assume the terminal state is exactly Gibbs at . Enumerate the energies and find the ground-state probability, mean energy and number of independent reads needed for probability of at least one ground string. Does this calculation determine how long an anneal needs to prepare that state?
Solution
The two aligned strings have energy . Each of the other six has two antiparallel bonds and one parallel bond, giving energy . Therefore
Each ground string has probability and each aligned string probability . Hence
Two independent reads give probability of at least one ground string, which can be recognized by its energy in this small example. This is conditional equilibrium combinatorics. It supplies no preparation dynamics, thermalization time or annealing schedule. The assumption that the final state is Gibbs cannot serve as a proof that an anneal produces it.
References
Section titled “References”- T. Albash, S. Boixo, D. A. Lidar, and P. Zanardi, “Quantum adiabatic Markovian master equations,” New Journal of Physics 14, 123016 (2012), doi:10.1088/1367-2630/14/12/123016.
- M. H. S. Amin, “Searching for quantum speedup in quasistatic quantum annealers,” Physical Review A 92, 052323 (2015), doi:10.1103/PhysRevA.92.052323.
- S. Bravyi, D. P. DiVincenzo, R. Oliveira, and B. M. Terhal, “The complexity of stoquastic local Hamiltonian problems,” Quantum Information & Computation 8(5), 361–385 (2008), arXiv:quant-ph/0606140.
- T. Kadowaki and H. Nishimori, “Quantum annealing in the transverse Ising model,” Physical Review E 58, 5355–5363 (1998), doi:10.1103/PhysRevE.58.5355.
- A. Lucas, “Ising formulations of many NP problems,” Frontiers in Physics 2, 5 (2014), doi:10.3389/fphy.2014.00005.
- T. F. Rønnow et al., “Defining and detecting quantum speedup,” Science 345, 420–424 (2014), doi:10.1126/science.1252319.