Quantum

Quantum annealing

By CourseTron Team ·  2 min read ·  Updated Oct 2026 💬 𝕏 in f
Table of Contents
    ? Print / Save as PDF

    In short: Quantum annealing is a special-purpose quantum computing paradigm that finds low-energy solutions to optimization problems by encoding them as an Ising/QUBO Hamiltonian and slowly evolving a physical system toward its ground state — in contrast to universal gate-model machines, it solves only one class of problem but scales to thousands of qubits today.

    Ask most engineers to name a quantum computer and they picture a gate-model machine running Shor's or Grover's algorithm. But the largest quantum processors in commercial use right now are not gate-model at all — they are quantum annealers built by D-Wave, with over 5,000 qubits. Understanding why that number is so much larger than the ~100–1,000 qubits of gate-model systems, and what it buys you, is the key to this whole topic.

    The optimization problem underneath everything

    Annealing attacks a single, enormously useful question: given a cost function with many interacting variables, what assignment minimizes it? Think of portfolio selection, protein folding, VLSI cell placement, fault diagnosis, or traffic routing. These are combinatorial optimization problems, and most are NP-hard — the search space explodes as 2N for N binary variables.

    Classical solvers tackle this with simulated annealing: start hot, let variables flip randomly, cool slowly so the system settles into a low-energy configuration. The analogy is literal metallurgy — anneal steel by cooling it slowly and crystals reach a low-stress state. Quantum annealing replaces thermal fluctuations with quantum tunnelling, letting the system pass through energy barriers rather than having to climb over them.

    The Ising model and QUBO: the only input format

    A quantum annealer cannot run arbitrary code. You must cast your problem into an Ising Hamiltonian:

    H = Σi hi σiz + Σi Jij σiz σjz

    Here each spin σ takes value +1 or −1, the hi are per-qubit biases, and the Jij are coupling strengths between pairs. Equivalently you can write it as a QUBO (Quadratic Unconstrained Binary Optimization) over {0,1} variables; the two forms are related by a simple linear substitution. The entire craft of using an annealer is turning your real problem — a scheduling constraint, a Boolean satisfiability clause — into values of h and J.

    Key fact: Any NP problem can be mapped to QUBO, but constraints become quadratic penalty terms. A single "exactly one of these" constraint over k options adds a penalty like A(Σx − 1)², which couples all k variables — this is why real problems consume far more qubits than their variable count suggests.

    Adiabatic evolution: the physics that makes it work

    The machine starts in the ground state of a simple "driver" Hamiltonian HB (a transverse magnetic field that puts every qubit into an equal superposition). It then slowly interpolates:

    H(t) = A(t)·HB + B(t)·Hproblem, with A→0 and B→max over the anneal time.

    The adiabatic theorem guarantees that if this change is slow enough relative to the minimum energy gap between the ground state and first excited state, the system stays in its ground state the whole way — ending in the ground state of your problem Hamiltonian, i.e. the optimal solution. The catch is that the required time scales inversely with the square of that minimum gap, and for hard instances the gap can shrink exponentially.

    Energy levels during the anneal min gap Δ First excited state Ground state t = 0 (driver) t = T (problem) CourseTron · coursetron.com
    As H(t) sweeps from driver to problem, the energy gap Δ between ground and first-excited state narrows; anneal slower than ~1/Δ² to stay on the green curve.

    Watching a spin settle (animated)

    The diagram below shows the essence in motion: a qubit begins in superposition (oscillating), the transverse field fades, and the spin commits to the orientation that lowers the total energy.

    A spin settling as the field fades Superposition Committed spin Transverse field A(t) Field decays, spin locks to the low-energy orientation CourseTron · coursetron.com
    As the transverse field A(t) decays, the qubit stops oscillating and locks to the low-energy orientation dictated by its biases and couplings.

    Annealing vs the gate model

    This is the comparison interviewers love. Both are "quantum", but they are not interchangeable.

    AspectQuantum annealingGate-model QC
    GeneralityOptimization / sampling onlyUniversal — any quantum algorithm
    ProgrammingSet h, J (QUBO/Ising)Circuits of unitary gates
    Scale today~5,000+ qubits (D-Wave Advantage)~100–1,000 physical qubits
    Error correctionNone in commercial unitsRequired; still largely experimental
    Theoretical guaranteeAdiabatic theorem (gap-limited)Proven speedups (Shor, Grover)

    Crucially, adiabatic quantum computation is formally equivalent to the gate model in power — but that equivalence requires encoding problems that D-Wave's restricted connectivity and analog, noisy hardware cannot realize. Practical annealers are therefore a heuristic, not a proven speedup. For the broader near-term landscape of noisy machines, see our companion piece on the NISQ era of quantum computing.

    Real hardware, real limits

    D-Wave's Advantage processor uses superconducting flux qubits on a "Pegasus" graph where each qubit couples to only 15 others. Your problem's connectivity rarely matches that, so you perform minor embedding: chaining several physical qubits to act as one logical variable. A fully-connected 150-variable problem can easily consume most of a 5,000-qubit chip. Chains that break mid-anneal introduce errors, which is why embedding quality dominates real-world results.

    Key fact: A typical anneal lasts only ~20 microseconds, and the machine samples the result thousands of times per second. You treat it as a stochastic sampler — read many low-energy states and keep the best — not a deterministic solver that returns "the" answer.

    Minor embedding: chaining qubits Logical: fully connected Physical: sparse couplers ABC ABC1C2 C1 + C2 chain acts as one variable C CourseTron · coursetron.com
    A fully connected triple A, B, C does not fit a sparse qubit graph, so C is built from a chain of two physical qubits (C1, C2) that act as one logical variable.

    The honest engineering verdict: on most industrial benchmarks, well-tuned classical heuristics and modern solvers still match or beat annealers. The research interest lies in specific rugged energy landscapes where tunnelling may help, and in using annealers as fast samplers for machine-learning and Monte-Carlo tasks. If you work in chip design, these optimization formulations echo the placement-and-routing cost functions tools like Cadence and Synopsys solve classically every day — a connection we explore in quantum methods for EDA engineers.

    Want to go from the Ising model to running your own QUBO on real D-Wave hardware? CourseTron's Quantum Computing track walks you through embedding, penalty tuning, and hybrid solvers with hands-on labs. Explore the full course catalogue →

    Frequently Asked Questions

    Is quantum annealing faster than classical computers?

    Not reliably yet. For narrow problem classes with the right energy landscape, annealers can be competitive, but on most practical benchmarks tuned classical solvers still win. There is no proven asymptotic speedup for commercial annealers.

    Can a quantum annealer run Shor's algorithm?

    No. Annealers are special-purpose optimization machines. While adiabatic computation is theoretically universal, D-Wave's noisy, sparsely-connected hardware cannot implement the gate-equivalent circuits needed for factoring.

    What is minor embedding and why does it matter?

    It is the process of mapping your problem graph onto the fixed, limited connectivity of the physical qubit lattice by chaining qubits into logical variables. Poor embeddings waste qubits and introduce chain-break errors, so it is often the single biggest factor in solution quality.

    Do I need to know quantum physics to use D-Wave?

    Surprisingly little. You mainly need to express your problem as a QUBO or Ising model and understand penalty weights for constraints. D-Wave's Ocean SDK and hybrid solvers abstract away most of the physics.

    For hands-on VLSI and quantum-adjacent training, our partner ChipXpert's semiconductor training programs complement this theory with industry tooling.

    Advertisement