Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Minor embedding in quantum annealers

Minor embedding represents a problem interaction graph inside a hardware graph by mapping one logical variable to a connected group of physical variables.

Edition released Coverage: Overview · Technical · Research
On this page

Explanation and significance

Limited hardware connectivity can force one optimization variable to occupy a chain of physical qubits. Ferromagnetic couplings encourage the chain to act consistently. Embedding changes resource counts, control precision and failure modes, so reporting only the number of problem variables can hide substantial physical overhead.

Mechanism and mathematical structure

If physical spins s_a,s_b in {±1} represent one logical spin, a term -J_F s_a s_b favors alignment for J_F>0. Broken chains require a decoding rule, which can alter solution quality. Stronger chain coupling competes with finite hardware coefficient range: rescaling all terms to fit can reduce the effective energy scale of the original problem.

Fully worked reference example

For a two-spin chain with J_F=2 in arbitrary energy units, aligned configurations contribute -2 and anti-aligned configurations +2, a penalty difference of four. If a hardware range forces the full programmed Hamiltonian to be divided by four, an original problem bias of 0.2 becomes 0.05 in physical units. The chain is stronger relative to that bias, but the problem signal is now smaller relative to fixed calibration error and thermal energy.

Limits and misconceptions

An embedding is not an error-correcting code merely because it uses redundant spins. Chain-break repair can exploit classical heuristics and must be included in timing and success criteria. Different embeddings of the same instance can perform differently.

Scientific relationships

Is an engineering mapping used by annealing hardware. Depends on connectivity and control range. Is distinct from quantum error-correcting encoding.

Deriving a chain-strength condition

A ferromagnetic chain represents one logical Ising variable by several physical spins that should agree. For two spins, write E=−J_F s1 s2+h1 s1+h2 s2, with s1,s2 in {−1,+1} and J_F>0. Choose synthetic opposing fields h1=0.8 and h2=−0.8. The aligned configurations both have energy −J_F. The configuration s1=−1,s2=+1 has energy J_F−1.6, while the opposite broken configuration has energy J_F+1.6. Alignment is energetically preferred only when −J_F<J_F−1.6, or J_F>0.8.

At J_F=0.5 the favorable broken chain has energy −1.1, below the aligned energy −0.5. At J_F=1 it has energy −0.6, above the aligned energy −1. This exact enumeration shows that the chain penalty must be compared with the fields and couplers that benefit from breaking it. Choosing a large number without specifying the remaining energy terms has no universal meaning. Equality gives degeneracy, which can be problematic even in an ideal zero-temperature optimization.

Generalizing the local argument

If a connected subset of a chain flips while the rest stays fixed, each cut chain edge changes its contribution from −J_F to +J_F, costing 2J_F per edge. Fields and external couplings can lower their energy by an amount that depends on the neighboring spin configuration. A conservative sufficient condition compares the chain-edge cost with the largest possible gain from all those terms. Such bounds can be deliberately loose because not every neighboring configuration that maximizes each term is simultaneously attainable.

For a subset separated by b chain edges, a field-only bound is J_F b>sum over the subset of |h_i|. External couplers add their possible contributions to the right-hand side. This is a sufficient worst-case condition under the specified classical energy model, not a necessary optimum chain strength for sampled performance. During an anneal, transverse terms and finite temperature introduce dynamics beyond the final classical comparison.

Rescaling changes the thermal problem

Suppose the hardware accepts coefficients only up to magnitude one. An embedded problem needing J_F=4 must be uniformly rescaled by four if all other terms are to retain their relative values. A logical coefficient originally equal to one becomes 0.25 in hardware units. If the physical energy unit and temperature are unchanged, its ratio to k_B T is four times smaller. Calibration offsets expressed in hardware units also become four times larger relative to the intended logical coefficient.

The chain penalty can thus improve consistency of the representation while making the represented optimization landscape more vulnerable to noise and thermal occupation. This tradeoff is not captured by minimizing the number of broken chains alone. A run with perfectly aligned chains can still return poor logical solutions because the problem terms have been compressed below a useful physical scale.

A thermal chain calculation

For an isolated two-spin chain with no fields, the two aligned states have energy −J_F and the two broken states have energy +J_F. Its equilibrium broken-chain probability is 1/[1+exp(2 beta J_F)], where beta=1/(k_B T). At beta J_F=1, this is approximately 0.119203; at beta J_F=3, approximately 0.00247262. The degeneracy factors cancel because there are two states of each type. A longer chain has more places to form domain walls, so these numbers cannot be transferred unchanged to an arbitrary embedding.

This equilibrium calculation also does not predict a driven annealer's final chain-break distribution without a relaxation model. It provides a reference scale connecting penalty energy and temperature. Freeze-out, control errors, and coupling to other chains can produce different distributions.

Decoding a broken representation

A majority assignment maps a broken chain to a logical value, but an even-length chain can tie. Choosing a tie convention adds a classical rule that can change solution statistics. Energy-based repair instead evaluates how candidate logical assignments affect the original problem, potentially using information beyond the chain itself. Its computational cost and success contribution should be included when comparing complete solution procedures.

Discarding every broken-chain sample reports conditional performance and changes the acceptance rate. Repairing every sample reports an unconditional procedure with classical postprocessing. These are distinct outcomes. Neither should be described as quantum error correction: the chains enforce a classical representation constraint and do not preserve an arbitrary unknown quantum state against a correctable error set.

Embedding preserves a classical subspace, not all dynamics

Within the aligned-chain subspace, a correctly constructed embedding reproduces the intended classical couplings up to constants and scaling. A physical transverse X on one member, however, takes the chain outside that subspace. Reversing the entire represented variable can require a sequence of physical flips through energetically penalized configurations. The resulting effective tunneling amplitude need not match the transverse field of an unembedded logical model. Thus identical final classical energies do not establish identical annealing dynamics. Chain length and penalty can change the approach to the target even when the final representation is exact in the aligned sector.

Sources