Skip to main content
KetQat

Appearance

Topic · intermediate

Hardware-Aware Algorithms

Designing and compiling quantum algorithms around the device that will run them. Noise-aware layout and routing from calibration data, crosstalk-aware scheduling, connectivity-aware constructions such as swap networks, hardware-efficient ansatze and their trade-offs, and algorithm–hardware co-design.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Overview

An algorithm's cost on paper (gate count, depth) and its cost on a device can differ by large factors. Devices have limited connectivity, error rates that vary from qubit to qubit and from day to day, and errors that depend on which gates run simultaneously. Hardware-aware algorithms take these facts into account at two levels.

  • In the compiler. Noise-aware mapping chooses physical qubits and routes using calibration data (Murali et al.; Tannu and Qureshi), and crosstalk-aware scheduling serialises gates that disturb each other (Murali et al.).
  • In the algorithm. Constructions are reorganised so that they need only the connectivity the device has, as in the fermionic swap network for chemistry (Kivlichan et al.), or circuits are built directly from native gates, as in the hardware-efficient ansatz (Kandala et al.).

Co-design goes one step further: choosing the problem, the encoding and the hardware layout together. Experiments on problems that match the device graph and on problems that must be compiled onto it show how much this matters (Harrigan et al.).

Intuition

A generic compiler sees a circuit and a device and does its best. An algorithm designer who knows the device can often do better, because many algorithms have freedom the compiler cannot see: the order of commuting terms in a Trotter step, the choice of qubit encoding, the form of a variational circuit. Using that freedom to make every interaction nearest-neighbour removes routing altogether.

Noise awareness is a second, independent lever. Two qubits with the same nominal gates may differ in error rate by a large factor, so the "same" circuit placed on different physical qubits succeeds with different probability. Using the best qubits and links is cheap, as long as one remembers that calibrations drift.

Prerequisites

Quantum compilation, in particular the routing problem and the SWAP identity; parameterized circuits for the variational parts. The lessons on QAOA and VQE in practice give concrete settings.

Mathematical Definitions

DefinitionQubit connectivity graphEstablished definition

The connectivity graph of a device is G=(V,E)G = (V, E) with VV its physical qubits and {u,v}∈E\{u, v\} \in E when a native two-qubit gate can be applied to uu and vv. It may be time-dependent: in devices that move qubits, EE is the set of pairs that can be brought together in a given step.

A stabilizer code can be measured by a constant-depth circuit of native gates, one ancilla per check, when every check's qubits are adjacent to its ancilla in GG. Typical cases:

  • Planar nearest-neighbour graphs (square grid): sufficient for the surface code, whose checks have weight at most four (Fowler and co-authors). If the device's qubits sit in the plane with bounded-length couplers, the code's checks are geometrically local in two dimensions and the Bravyi–Poulin–Terhal bound limits its parameters.
  • Bounded-degree graphs with some long edges: the bivariate-bicycle memory of Bravyi and co-authors needs a degree-6 graph made of two edge-disjoint planar subgraphs, and in exchange keeps 12 logical qubits with 288 physical qubits.
  • Reconfigurable connectivity: in neutral-atom arrays the edges are created by moving atoms (Bluvstein and co-authors), and in trapped-ion charge-coupled devices by shuttling ions between zones (Kielpinski, Monroe and Wineland); both trade time for connectivity.

Gates between qubits that are not adjacent must be routed, through SWAP chains, moving qubits, ancilla paths or teleportation, and the routing cost is part of every resource estimate.

DefinitionHardware-efficient ansatzEstablished definition

A hardware-efficient ansatz of depth DD on nn qubits prepares

∣ψ(θ)⟩=∏ℓ=D1(Uent⨂q=1nRq(θℓ,q))  ⨂q=1nRq(θ0,q) ∣0⟩⊗n,\ket{\psi(\theta)} = \prod_{\ell = D}^{1} \Big( U_{\mathrm{ent}} \bigotimes_{q=1}^{n} R_q(\theta_{\ell, q}) \Big)\; \bigotimes_{q=1}^{n} R_q(\theta_{0, q})\, \ket{0}^{\otimes n},

where each Rq(θℓ,q)R_q(\theta_{\ell,q}) is a product of native single-qubit rotations with real parameters and UentU_{\mathrm{ent}} is a fixed circuit of native two-qubit gates acting only on edges of GG (or, as in the original proposal, the device's natural cross-resonance evolution). The parameters θ\theta are optimised classically, as in any parameterized quantum circuit. The construction was introduced by Kandala et al. to run a variational eigensolver for small molecules with circuits short enough for the hardware of the time.

The ansatz needs no routing, but it encodes no symmetry or structure of the problem. Deep random instances approach unitary designs and then suffer from barren plateaus, and hardware noise itself can flatten the landscape (Wang et al.), so its use is usually restricted to shallow depths.

Holds when
  • A device with connectivity graph G=(V,E)G = (V, E) and a native entangling gate on each edge.
EquationEstimated success probability of a compiled circuitEstablished definition
ESP(C)  =  ∏g∈C(1−ϵg)  ∏m∈C(1−ϵm)  ∏qe−tq/Tq\mathrm{ESP}(C) \;=\; \prod_{g \in C} \big(1 - \epsilon_g\big)\; \prod_{m \in C} \big(1 - \epsilon_m\big)\; \prod_{q} e^{-t_q / T_q}

The product is the probability that no error occurs anywhere if each location fails independently with its calibrated rate. Taking logarithms turns it into a sum of per-location costs −log⁡(1−ϵ)-\log(1-\epsilon), which is how it is used as an edge weight in layout and routing searches: a path through high-fidelity couplers can beat a shorter path through poor ones. Compilers that choose layouts and routes from daily calibration data in this spirit are studied by Murali et al. and Tannu and Qureshi, who show that variation between qubits and links makes such choices matter. The ESP is a ranking heuristic: it is not the probability of a correct answer for algorithms that tolerate some errors, it ignores crosstalk between simultaneous gates, and its accuracy is limited by the drift of calibration data between characterization and execution.

Holds when
  • Errors at different locations are independent and any error ruins the run; ϵg\epsilon_g and ϵm\epsilon_m are the calibrated error rates of gate gg and measurement mm on the specific physical qubits used.
  • The idle factor, with idle time tqt_q and a coherence time TqT_q of qubit qq, is optional and crude; it ignores how errors propagate and cancel.

Theorems

TheoremSwap networks make every pair adjacent once on a lineEstablished result

After the nn rounds the qubit that started at position ii is at position n−1−in - 1 - i, the network contains exactly n(n−1)/2n(n-1)/2 SWAPs, and every unordered pair of qubits occupies adjacent positions and is swapped exactly once.

Consequently, a layer of commuting two-qubit gates acting on all (n2)\binom n2 pairs (for example the ZZZZ terms of a QAOA layer on a complete graph, or the pair terms of a Trotter step) can be applied on a line in depth nn by merging each pair's gate into the SWAP that exchanges it. For fermions under the Jordan–Wigner encoding the SWAP is replaced by a fermionic SWAP, which keeps the encoding local; Kivlichan et al. use this to apply a Trotter step of the electronic-structure Hamiltonian in depth NN with about N2/2N^2/2 entangling gates on a linear array. The output order is reversed, which is harmless if the next layer runs the network backwards.

Holds when
  • Qubits (or modes) at positions 0,…,n−10, \dots, n-1 of a path graph; in round t=1,…,nt = 1, \dots, n a SWAP is applied to every pair {y,y+1}\{y, y+1\} with y≡t−1(mod2)y \equiv t - 1 \pmod 2 and y+1≤n−1y + 1 \le n - 1.
Proof · Proof that swap networks make every pair adjacent once

Active pairs. In round t+1t+1 the SWAPs act on the pairs {y,y+1}\{y, y+1\} with y≡t(mod2)y \equiv t \pmod 2. Each position xx belongs to at most one active pair: as its left member if x≡tx \equiv t and x≤n−2x \le n-2, as its right member if x≡t+1x \equiv t+1 and x≥1x \ge 1. Position n−1n-1 with n−1≡tn - 1 \equiv t and position 00 with 0≡t+10 \equiv t + 1 are the only positions not in an active pair.

Trajectories. Define the fold map F(u)=uF(u) = u for 0≤u≤n−10 \le u \le n-1, F(u)=2n−1−uF(u) = 2n-1-u for n≤u≤2n−1n \le u \le 2n-1 and F(u)=−1−uF(u) = -1-u for −n≤u≤−1-n \le u \le -1. For the qubit starting at ii put ui(t)=i+tu_i(t) = i + t if ii is even and ui(t)=i−tu_i(t) = i - t if ii is odd; for 0≤t≤n0 \le t \le n these stay in [−n,2n−1][-n, 2n-1]. Call the qubit a right-mover after tt rounds if ui(t)∈[0,n−1]u_i(t) \in [0, n-1] with ii even or ui(t)∈[−n,−1]u_i(t) \in [-n, -1] with ii odd, and a left-mover otherwise. From the formulas, F(ui(t+1))=F(ui(t))+1F(u_i(t+1)) = F(u_i(t)) + 1 for a right-mover not at position n−1n-1, F(ui(t+1))=F(ui(t))−1F(u_i(t+1)) = F(u_i(t)) - 1 for a left-mover not at position 00, and F(ui(t+1))=F(ui(t))F(u_i(t+1)) = F(u_i(t)) for a right-mover at n−1n-1 or a left-mover at 00. A direct parity check gives: a qubit with F(ui(t))=xF(u_i(t)) = x is a right-mover exactly when x≡t(mod2)x \equiv t \pmod 2 (for even ii unreflected x=i+tx = i + t; reflected x=2n−1−i−tx = 2n-1-i-t; for odd ii unreflected x=i−tx = i - t; reflected x=t−1−ix = t - 1 - i).

We show by induction on tt that after tt rounds the qubit starting at ii sits at F(ui(t))F(u_i(t)). This holds for t=0t = 0. Assume it after tt rounds and consider round t+1t+1. A right-mover at x≤n−2x \le n-2 has x≡tx \equiv t, so it is the left member of an active pair and moves to x+1x + 1. A left-mover at x≥1x \ge 1 has x≡t+1x \equiv t + 1, so it is the right member of an active pair and moves to x−1x - 1. A right-mover at n−1n - 1 (then n−1≡tn - 1 \equiv t) and a left-mover at 00 (then 0≡t+10 \equiv t+1) are in no active pair and stay. In every active pair the left member is a right-mover and the right member a left-mover, so these moves are exactly the SWAPs of the round, and each agrees with F(ui(t+1))F(u_i(t+1)) as computed above.

Reversal. The ranges stay within the domain of FF: for even ii, ui(n)=i+n∈[n,2n−1]u_i(n) = i + n \in [n, 2n-1], so xi(n)=2n−1−i−n=n−1−ix_i(n) = 2n - 1 - i - n = n - 1 - i; for odd ii, ui(n)=i−n∈[−n,−1]u_i(n) = i - n \in [-n, -1], so xi(n)=−1−i+n=n−1−ix_i(n) = -1 - i + n = n - 1 - i.

Every pair exactly once. Round t+1t+1 with tt even contains ⌊n/2⌋\lfloor n/2 \rfloor SWAPs and round t+1t+1 with tt odd contains ⌊(n−1)/2⌋\lfloor (n-1)/2 \rfloor. Among t=0,…,n−1t = 0, \dots, n-1 there are ⌈n/2⌉\lceil n/2 \rceil even and ⌊n/2⌋\lfloor n/2 \rfloor odd values, which gives n(n−1)/2n(n-1)/2 SWAPs in total for both parities of nn. A SWAP changes the relative order of only the two qubits it exchanges. Every pair i<ji < j ends in the opposite order, so it was swapped an odd number of times, at least once. With (n2)\binom n2 pairs and (n2)\binom n2 SWAPs, each pair is swapped exactly once, and it is adjacent at that moment.

TheoremBarren plateaus for circuits that form 2-designsPeer-reviewed result

Let E(θ⃗)=⟨ψ0∣U(θ⃗)†O U(θ⃗)∣ψ0⟩E(\vec\theta) = \bra{\psi_0} U(\vec\theta)\dagg O\, U(\vec\theta) \ket{\psi_0} and ∂kE=∂E/∂θk\partial_k E = \partial E / \partial \theta_k. Under the assumptions, for every fixed W−W_- and θk\theta_k,

EW+ ⁣[∂kE]=0,EW+ ⁣[(∂kE)2]=Tr⁡(O2)d2−1⋅1−⟨ϕk∣P∣ϕk⟩22,\mathbb{E}_{W_+}\!\left[\partial_k E\right] = 0 , \qquad \mathbb{E}_{W_+}\!\left[(\partial_k E)^2\right] = \frac{\tr(O^2)}{d^2 - 1}\cdot\frac{1 - \bra{\phi_k} P \ket{\phi_k}^2}{2} ,

where ∣ϕk⟩=e−iθkP/2∣ϕ⟩\ket{\phi_k} = e^{-i\theta_k P/2}\ket{\phi}. For an nn-qubit Pauli observable, Tr⁡(O2)=d\tr(O^2) = d, so the variance is at most d/(2(d2−1))≤2−nd/(2(d^2 - 1)) \le 2^{-n}. By Chebyshev's inequality, Pr⁡[∣∂kE∣≥ε]≤2−n/ε2\Pr[\abs{\partial_k E} \ge \varepsilon] \le 2^{-n}/\varepsilon^2: almost all circuits in the ensemble have gradients exponentially close to zero, and resolving a gradient component by sampling needs a number of measurement shots exponential in nn.

This exact computation is a special case of the theorem of McClean, Boixo, Smelyanskiy, Babbush and Neven, who treat the cases where the circuit before or after the parameter (or both) is a 2-design and conclude that the gradient variance vanishes exponentially in nn. Locality of the cost and depth matter for circuits that are not 2-designs: Cerezo et al. prove that for layered circuits of local two-qubit blocks, global costs have exponentially vanishing gradients at any depth, whereas local costs at depth O(log⁡n)O(\log n) have gradients that vanish at most polynomially. A survey of the mechanisms is Larocca et al..

Holds when
  • The circuit is U(θ⃗)=W+ e−iθkP/2 W−U(\vec\theta) = W_+\, e^{-i\theta_k P/2}\, W_- on nn qubits, d=2n≥2d = 2^n \ge 2, with PP Hermitian and P2=IP^2 = I; the input is a pure state and ∣ϕ⟩=W−∣ψ0⟩\ket{\phi} = W_- \ket{\psi_0}.
  • The unitary W+W_+ (the gates after the kk-th parameter) is random and its distribution agrees with the Haar measure on U(d)U(d) in all second moments, E[W+⊗2XW+†⊗2]=EHaar[V⊗2XV†⊗2]\mathbb{E}[W_+^{\otimes 2} X W_+^{\dagger\otimes 2}] = \mathbb{E}_{\mathrm{Haar}}[V^{\otimes 2} X V^{\dagger\otimes 2}] for all XX (a unitary 2-design); W−W_- and θk\theta_k are arbitrary, possibly random and independent of W+W_+.
  • The observable OO is Hermitian and traceless, Tr⁡O=0\tr O = 0.
Proof · Proof of the barren-plateau variance formula for 2-designs

Write W=W+W = W_+, R(θ)=e−iθP/2R(\theta) = e^{-i\theta P/2} and σ=R(θk)∣ϕ⟩⟨ϕ∣R(θk)†=∣ϕk⟩⟨ϕk∣\sigma = R(\theta_k)\ketbra{\phi}{\phi}R(\theta_k)\dagg = \ketbra{\phi_k}{\phi_k}.

The derivative. Since ddθR=−i2PR\frac{d}{d\theta} R = -\frac{i}{2} P R, ddθ(R∣ϕ⟩⟨ϕ∣R†)=−i2(Pσ−σP)\frac{d}{d\theta}\big(R\ketbra{\phi}{\phi}R\dagg\big) = -\frac{i}{2}(P\sigma - \sigma P) at θ=θk\theta = \theta_k. Hence

∂kE=Tr⁡ ⁣(O WCW†),C=−i2 [P,σ].\partial_k E = \tr\!\big(O\, W C W\dagg\big), \qquad C = -\tfrac{i}{2}\,[P, \sigma] .

CC is Hermitian (the commutator of two Hermitian operators is anti-Hermitian) and traceless.

First moment. Taking X=Y⊗IX = Y \otimes I in the 2-design condition and tracing out the second factor shows E[WYW†]=EHaar[VYV†]=(Tr⁡Y/d) I\mathbb{E}[W Y W\dagg] = \mathbb{E}_{\mathrm{Haar}}[V Y V\dagg] = (\tr Y / d)\, I, the last equality because the Haar average commutes with every unitary and is therefore a multiple of II, fixed by its trace. With Y=CY = C this gives E[∂kE]=Tr⁡(O) Tr⁡(C)/d=0\mathbb{E}[\partial_k E] = \tr(O)\, \tr(C)/d = 0.

Second moment. (∂kE)2=Tr⁡ ⁣((O⊗O) W⊗2(C⊗C)W†⊗2)(\partial_k E)^2 = \tr\!\big((O \otimes O)\, W^{\otimes 2}(C \otimes C)W^{\dagger\otimes 2}\big), so by the 2-design assumption E[(∂kE)2]=Tr⁡ ⁣((O⊗O) T(C⊗C))\mathbb{E}[(\partial_k E)^2] = \tr\!\big((O\otimes O)\, T(C\otimes C)\big) with the Haar twirl T(X)=EHaar[V⊗2XV†⊗2]T(X) = \mathbb{E}_{\mathrm{Haar}}[V^{\otimes 2} X V^{\dagger\otimes 2}]. By invariance of the Haar measure, T(X)T(X) commutes with every V⊗VV \otimes V, and by Schur–Weyl duality the commutant of {V⊗V:V∈U(d)}\{V \otimes V : V \in U(d)\} is spanned by the identity II and the swap FF (with F(∣a⟩⊗∣b⟩)=∣b⟩⊗∣a⟩F(\ket{a}\otimes\ket{b}) = \ket{b}\otimes\ket{a}). So T(X)=αI+βFT(X) = \alpha I + \beta F. Because Tr⁡\tr and Tr⁡(F ⋅ )\tr(F\,\cdot\,) are invariant under conjugation by V⊗VV \otimes V (which commutes with FF), Tr⁡T(X)=Tr⁡X\tr T(X) = \tr X and Tr⁡(F T(X))=Tr⁡(FX)\tr(F\, T(X)) = \tr(F X). Using Tr⁡F=d\tr F = d, Tr⁡F2=d2\tr F^2 = d^2, and for X=C⊗CX = C \otimes C the identities Tr⁡X=(Tr⁡C)2=0\tr X = (\tr C)^2 = 0 and Tr⁡ ⁣(F(C⊗C))=Tr⁡(C2)\tr\!\big(F(C\otimes C)\big) = \tr(C^2):

αd2+βd=0,αd+βd2=Tr⁡(C2)⟹β=Tr⁡(C2)d2−1,α=−βd.\alpha d^2 + \beta d = 0, \qquad \alpha d + \beta d^2 = \tr(C^2) \quad\Longrightarrow\quad \beta = \frac{\tr(C^2)}{d^2 - 1}, \quad \alpha = -\frac{\beta}{d} .

Then, with Tr⁡ ⁣((O⊗O)I)=(Tr⁡O)2=0\tr\!\big((O\otimes O)I\big) = (\tr O)^2 = 0 and Tr⁡ ⁣((O⊗O)F)=Tr⁡(O2)\tr\!\big((O\otimes O)F\big) = \tr(O^2),

E[(∂kE)2]=β Tr⁡(O2)=Tr⁡(O2) Tr⁡(C2)d2−1.\mathbb{E}[(\partial_k E)^2] = \beta\, \tr(O^2) = \frac{\tr(O^2)\, \tr(C^2)}{d^2 - 1} .

The commutator norm. Expand C2=−14(PσPσ−Pσ2P−σP2σ+σPσP)C^2 = -\frac14\big(P\sigma P\sigma - P\sigma^2 P - \sigma P^2\sigma + \sigma P\sigma P\big). Since σ\sigma is a pure state, σPσ=⟨ϕk∣P∣ϕk⟩ σ\sigma P \sigma = \bra{\phi_k}P\ket{\phi_k}\,\sigma and σ2=σ\sigma^2 = \sigma; with P2=IP^2 = I the four traces are ⟨P⟩2\expval{P}^2, 11, 11 and ⟨P⟩2\expval{P}^2, where ⟨P⟩=⟨ϕk∣P∣ϕk⟩\expval{P} = \bra{\phi_k}P\ket{\phi_k}. Thus Tr⁡(C2)=12(1−⟨P⟩2)\tr(C^2) = \frac{1}{2}\big(1 - \expval{P}^2\big), which gives the stated formula. For a Pauli observable Tr⁡(O2)=d\tr(O^2) = d, and d/(2(d2−1))≤1/dd/(2(d^2-1)) \le 1/d for d≥2d \ge 2. The variance is the second moment because the mean is zero, and Chebyshev's inequality gives the tail bound.

This computation follows the strategy of McClean, Boixo, Smelyanskiy, Babbush and Neven, restricted to the case in which the circuit after the parameter is a 2-design, where it becomes exact.

The barren-plateau theorem is the main theoretical caution against deep unstructured hardware-efficient circuits; noise adds a second, independent flattening mechanism (Wang et al.).

Worked Examples

Choosing qubits by estimated success probability

A three-qubit GHZ circuit needs two CNOTs along a path a−b−ca - b - c and three measurements. On a device, path P1 has CNOT errors 1.0%1.0\% and 1.2%1.2\% and readout errors 2%,3%,2%2\%, 3\%, 2\%; path P2 has CNOT errors 0.6%0.6\% and 0.7%0.7\% but readout errors 4%,5%,4%4\%, 5\%, 4\% (illustrative values). Then ESP(P1)=0.990×0.988×0.98×0.97×0.98≈0.911\mathrm{ESP}(P1) = 0.990 \times 0.988 \times 0.98 \times 0.97 \times 0.98 \approx 0.911 and ESP(P2)=0.994×0.993×0.96×0.95×0.96≈0.864\mathrm{ESP}(P2) = 0.994 \times 0.993 \times 0.96 \times 0.95 \times 0.96 \approx 0.864. Although P2 has better gates, P1 wins for this shallow circuit because readout dominates. For a circuit with twenty CNOTs per qubit pair the ranking would flip, which is why the ESP must be evaluated for the actual compiled circuit.

All-to-all interactions on a line

A QAOA layer on the complete graph KnK_n applies e−iγZjZke^{-i\gamma Z_jZ_k} for all (n2)\binom n2 pairs. On a line with routing by a generic compiler the SWAP count depends on the heuristic. With the swap network, each SWAP is merged with the ZZZZ rotation of the pair it exchanges into one two-qubit gate, which costs at most three CNOTs by the three-CNOT theorem. For n=10n = 10: 4545 merged gates in depth 1010, at most 135135 CNOTs per layer, and the qubit order is reversed at the end, which the next layer undoes by running the network in the opposite direction. Without the merge, the 4545 ZZZZ rotations would cost two CNOTs each and the 4545 SWAPs three each, 225225 CNOTs in total.

Fermionic simulation in linear depth

For NN spin-orbitals under the Jordan–Wigner encoding, a hopping term between non-adjacent modes carries a string of ZZ operators. Replacing SWAPs by fermionic SWAPs keeps every interacting pair adjacent in the encoding when it acts, so the strings never appear; Kivlichan et al. obtain a Trotter step of the electronic-structure Hamiltonian in depth NN with about N2/2N^2/2 entangling gates on a linear array.

Algorithms and Implementations

  • Noise-adaptive mapping. Solve a layout and routing problem whose costs are calibrated error rates, by constraint solving for small instances or heuristics such as weighted SABRE-type search (Murali et al.; Li, Ding and Xie).
  • Variability-aware allocation. Avoid the worst qubits and links and prefer routes through reliable couplers (Tannu and Qureshi).
  • Crosstalk-aware scheduling. Characterise which simultaneous gate pairs interfere and insert serialisation only where needed, trading depth (and hence decoherence) against crosstalk (Murali et al.).
  • Native-gate algorithm design. Swap networks, hardware-efficient ansatze, and problem instances defined on the hardware graph.

Limitations and Common Pitfalls

  • Calibration drift. Error rates change between calibration and execution; layouts optimised on stale data can be worse than uninformed ones.
  • Independence assumptions. Products of fidelities ignore correlated errors, crosstalk and coherent error cancellation.
  • Hardware-native is not problem-native. A problem defined on the device graph is easy to run but may be easy classically as well; results on such instances do not transfer to problems that need compilation (Harrigan et al.).
  • Trainability. Shallow hardware-efficient circuits avoid routing, but deeper ones run into barren plateaus, and noise compounds the problem.
  • Overfitting to one device. Algorithms tuned to one generation of hardware may lose their advantage when connectivity or native gates change; keep the logical algorithm and the hardware mapping separable.

State of the Art

As reported in the cited papers (years are publication years):

  • 2017: a hardware-efficient variational eigensolver ran on up to six qubits for Hamiltonians with over a hundred Pauli terms, up to the molecule BeH₂ (Kandala et al.).
  • 2020: crosstalk characterization on three 20-qubit IBM devices was made two orders of magnitude cheaper than all-pairs measurement, and used for crosstalk-aware scheduling (Murali et al.).
  • 2021: QAOA on a planar superconducting processor (up to 23 qubits) gave approximation ratios independent of problem size for problems on the hardware graph, and performance that increased with depth there, while problems requiring compilation (Sherrington–Kirkpatrick, MaxCut on non-planar graphs) were studied for contrast (Harrigan et al.).

Error mitigation is the other main tool for running algorithms on noisy devices and is often combined with noise-aware compilation. Variational algorithms and Hamiltonian simulation are the main consumers of connectivity-aware constructions; quantum architecture is the same co-design question asked for fault-tolerant machines.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Prakash Murali, Jonathan M. Baker, Ali Javadi-Abhari, … Margaret Martonosi (2019). Noise-Adaptive Compiler Mappings for Noisy Intermediate-Scale Quantum Computers. Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 1015-1029. doi:10.1145/3297858.3304075arXiv:1901.11054
  2. Swamit S. Tannu, Moinuddin K. Qureshi (2019). Not All Qubits Are Created Equal. Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 987-999. doi:10.1145/3297858.3304007
  3. Prakash Murali, David C. McKay, Margaret Martonosi, Ali Javadi-Abhari (2020). Software Mitigation of Crosstalk on Noisy Intermediate-Scale Quantum Computers. Proceedings of the Twenty-Fifth International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 1001-1016. doi:10.1145/3373376.3378477arXiv:2001.02826
  4. Ian D. Kivlichan, Jarrod McClean, Nathan Wiebe, … Ryan Babbush (2018). Quantum Simulation of Electronic Structure with Linear Depth and Connectivity. Physical Review Letters 120, 110501. doi:10.1103/PhysRevLett.120.110501arXiv:1711.04789
  5. Abhinav Kandala, Antonio Mezzacapo, Kristan Temme, … Jay M. Gambetta (2017). Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets. Nature 549, 242-246. doi:10.1038/nature23879arXiv:1704.05018
  6. Matthew P. Harrigan, Kevin J. Sung, Matthew Neeley, … others (2021). Quantum approximate optimization of non-planar graph problems on a planar superconducting processor. Nature Physics 17, 332-336. doi:10.1038/s41567-020-01105-yarXiv:2004.04197
  7. Samson Wang, Enrico Fontana, M. Cerezo, … Patrick J. Coles (2021). Noise-induced barren plateaus in variational quantum algorithms. Nature Communications 12, 6961. doi:10.1038/s41467-021-27045-6arXiv:2007.14384
  8. Gushu Li, Yufei Ding, Yuan Xie (2019). Tackling the Qubit Mapping Problem for NISQ-Era Quantum Devices. Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 1001-1014. doi:10.1145/3297858.3304023arXiv:1809.02573
  9. Austin G. Fowler, Matteo Mariantoni, John M. Martinis, Andrew N. Cleland (2012). Surface codes: Towards practical large-scale quantum computation. Physical Review A 86, 032324. doi:10.1103/PhysRevA.86.032324arXiv:1208.0928
  10. Sergey Bravyi, Andrew W. Cross, Jay M. Gambetta, … Theodore J. Yoder (2024). High-threshold and low-overhead fault-tolerant quantum memory. Nature 627, 778-782. doi:10.1038/s41586-024-07107-7arXiv:2308.07915
  11. Dolev Bluvstein, Harry Levine, Giulia Semeghini, … Mikhail D. Lukin (2022). A quantum processor based on coherent transport of entangled atom arrays. Nature 604, 451-456. doi:10.1038/s41586-022-04592-6arXiv:2112.03923
  12. D. Kielpinski, C. Monroe, D. J. Wineland (2002). Architecture for a large-scale ion-trap quantum computer. Nature 417, 709-711. doi:10.1038/nature00784
  13. Jarrod R. McClean, Sergio Boixo, Vadim N. Smelyanskiy, … Hartmut Neven (2018). Barren plateaus in quantum neural network training landscapes. Nature Communications 9, 4812. doi:10.1038/s41467-018-07090-4arXiv:1803.11173
  14. M. Cerezo, Akira Sone, Tyler Volkoff, … Patrick J. Coles (2021). Cost function dependent barren plateaus in shallow parametrized quantum circuits. Nature Communications 12, 1791. doi:10.1038/s41467-021-21728-warXiv:2001.00550
  15. Martin Larocca, Supanut Thanasilp, Samson Wang, … M. Cerezo (2025). Barren plateaus in variational quantum computing. Nature Reviews Physics 7, 174-189. doi:10.1038/s42254-025-00813-9arXiv:2405.00781

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic body checked; embedded records carry their own review states. Recomputed ESP(P1) = 0.9112 and ESP(P2) = 0.8642, and the claimed ranking flip at twenty CNOTs per pair (0.599 vs 0.674); swap-network QAOA counts for n = 10 (45 gates, depth 10, at most 135 CNOTs; 225 unmerged). Dated results compared with arXiv abstracts: Kandala et al. 1704.05018 (up to six qubits, over a hundred Pauli terms, up to BeH2, 2017); Murali et al. 2001.02826 (three 20-qubit IBMQ systems, two orders of magnitude cheaper characterisation, crosstalk-aware scheduler, 2020); Harrigan et al. 2004.04197 (23 qubits, size-independent approximation ratio and improvement with depth on hardware-graph problems, SK and non-planar MaxCut for contrast, 2021); Kivlichan et al. 1711.04789 (depth N, N^2/2 gates). Crossref metadata of these and the other references match.

    ESP(P2) was given as about 0.865; the product 0.994 x 0.993 x 0.96 x 0.95 x 0.96 is 0.8642, so it is now about 0.864. Conclusion unchanged.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision 8832cee1a74b6225. Source file knowledge/records/topic/hardware-aware-algorithms.md in the content repository (readable there once it is public).