Papers
Topics
Authors
Recent
Search
2000 character limit reached

Branching Micro-Kernel for Quantum PDE Updates

Updated 23 November 2025
  • Branching Micro-Kernel is a quantum circuit-based primitive that updates discretized PDE stencils locally using amplitude encoding and conditional rotations.
  • It employs a three-step process—selector preparation, addressed rotation, and sampling—to efficiently encode neighbor values and compute convex sums as Monte Carlo estimates.
  • The architecture achieves scalable resource use through node-local circuits and batching strategies, though its current advantage is constrained by NISQ noise compared to alternatives like the Bernoulli variant.

A branching micro-kernel is a quantum circuit-based computational primitive designed for explicit update of discretized Partial Differential Equation (PDE) stencils using quantum sampling. In this approach, each micro-kernel operates locally on a mesh node and consumes only its immediate stencil inputs (neighbor values and coefficients). It encodes these inputs in the amplitudes and conditional rotations of a tiny, shallow quantum circuit. The outputs serve as Monte Carlo estimates of the stencil update. Distinct from monolithic quantum PDE solvers that encode the global spacetime problem into a single deep circuit, the branching micro-kernel maintains the classical algorithm’s timestep loop and offloads only the local node update to the quantum processor unit (QPU) (Markidis et al., 16 Nov 2025).

1. Quantum Circuit Architecture and Algorithm

Given an NbrN_{\rm br}-point stencil with nonnegative weights {wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1} and normalized neighbor values {vi∈[0,1]}\{v_i\in[0,1]\}, the quantum circuit implements three subroutines:

  1. Selector Preparation: Prepare ⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil selector qubits in the superposition

∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle

with

pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.

Amplitude encoding is achieved using a binary rotation tree constructed with RyR_y and controlled-RyR_y gates.

  1. Addressed Rotation: For each possible branch ii, apply a controlled-Ry(ϕi)R_y(\phi_i) rotation to a single readout qubit (denoted {wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1}0) conditioned on the selector register being in {wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1}1, with

{wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1}2

This encodes the neighbor value {wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1}3 in the probability of measuring {wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1}4 in state {wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1}5.

  1. Sampling: Measure {wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1}6 {wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1}7 times to accumulate an empirical mean {wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1}8 for the stencil update, converging statistically to

{wi}i=0Nbr−1\{w_i\}_{i=0}^{N_{\rm br}-1}9

The whole process is node-local, parallelizable across the spatial grid, and requires no communication between circuits for individual nodes.

2. Mathematical Encoding of Stencil Weights and Values

Each neighbor value {vi∈[0,1]}\{v_i\in[0,1]\}0 (normalized to {vi∈[0,1]}\{v_i\in[0,1]\}1) is mapped to a qubit amplitude via the rotation angle {vi∈[0,1]}\{v_i\in[0,1]\}2, so that applying {vi∈[0,1]}\{v_i\in[0,1]\}3 to a {vi∈[0,1]}\{v_i\in[0,1]\}4 state yields a probability {vi∈[0,1]}\{v_i\in[0,1]\}5 of measuring {vi∈[0,1]}\{v_i\in[0,1]\}6. The selector superposition is built with amplitudes {vi∈[0,1]}\{v_i\in[0,1]\}7 where {vi∈[0,1]}\{v_i\in[0,1]\}8. The overall circuit encodes the full weighted average {vi∈[0,1]}\{v_i\in[0,1]\}9 in the measurement statistics of the readout qubit. After selector preparation and all controlled rotations, the quantum state is

⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil0

Marginalizing over the selector qubits, the probability of ⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil1 is the desired convex sum.

3. Resource Footprint and Circuit Depth

The branching micro-kernel architecture achieves compact resource scaling:

  • Qubits: ⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil2, independent of grid size.
  • Gate Count: ⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil3 for the selector tree and ⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil4 for the multi-controlled ⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil5 rotations.
  • Circuit Depth: ⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil6, with an explicit example: for ⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil7 (three-point stencil) only ⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil8 selector qubits and ⌈log⁡2Nbr⌉\lceil\log_2N_{\rm br}\rceil9 gates untranspiled.

All costs depend only on the stencil branch number, not the global mesh size or shape. This structure enables simple orchestration and high parallelism.

4. Classical Orchestration and Batching Strategies

Given the independence of node-local circuits, overheads can be amortized via batching techniques:

  • Batched Submission: Group ∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle0 node update circuits per QPU job to pay queue and transpilation overhead ∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle1 only once for the batch.
  • In-Circuit Fusion (ICF): Lay out ∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle2 node circuits on non-overlapping qubit sets in a single, wider circuit. Each shot yields a simultaneous outcome for all ∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle3 nodes. The total qubit count rises to ∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle4, and circuit depth increases marginally due to HW routing constraints.

The orchestration loop processes all nodes by building, submitting, and collecting quantum results in batches, with sample means forming the updated grid function at each timestep. Pseudocode from (Markidis et al., 16 Nov 2025):

RyR_y4

Overlapping circuit build, job submission, and result retrieval can further hide latency.

5. Empirical Performance and Comparison

Extensive testing covers both simulators and NISQ hardware (Markidis et al., 16 Nov 2025):

Platform ∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle5 (branching) ∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle6 (branching) ∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle7 (bernoulli) ∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle8 (bernoulli) Depth (branching) Depth (bernoulli) 2Q Gates (branching)
Simulator ∣ψsel⟩=∑i=0Nbr−1pi ∣i⟩|\psi_{\rm sel}\rangle = \sum_{i=0}^{N_{\rm br}-1}\sqrt{p_i}\,|i\rangle90 (with pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.0) decays as pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.1 – – – – –
IBM Brisbane 0.412 0.162 0.085 (pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.2 mitigated) 0.037 118 3 29
  • On noiseless simulators: error in space decays as pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.3 with the number of samples pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.4; for 3-point heat and Burgers’ stencils, long-term stability is maintained.
  • On IBM Brisbane, the branching kernel’s oscillator circuit depth and two-qubit gate count lead to high error dominated by device noise, showing little improvement with increased shot number. In contrast, the Bernoulli micro-kernel—single-qubit only—yields much lower error and circuit depth.
  • Hardware run telemetry for pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.5 node grid and pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.6 shots shows per-node wall times: pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.7s (branching 4k), pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.8s (branching 30k), pi=wi∑jwj.p_i = \frac{w_i}{\sum_j w_j}.9s (bernoulli 4k, RyR_y0 circuits/node).

A plausible implication is that the branching micro-kernel will become more effective as two-qubit gate fidelities and coherence times improve, closing the gap to the Bernoulli variant as a practical NISQ primitive.

6. Practical Considerations and Recommendations

  • Until high-fidelity multi-qubit hardware is available, the Bernoulli micro-kernel is recommended due to low error and no two-qubit gates.
  • Readout-assignment error mitigation yields modest improvements that saturate when device noise is high.
  • Batching and in-circuit fusion can reduce launch overhead by up to two orders of magnitude, at the cost of additional qubit resources and depth inflation.
  • Spatially and temporally adaptive shot allocation—targeting regions of high stencil variation (branching) or high variance (Bernoulli)—can optimize resource use.
  • For elliptic (global-coupling) PDEs, local micro-kernels are insufficient; global or spectral quantum circuit constructions are required.
  • The introduction of quantum amplitude estimation may further accelerate convergence (RyR_y1), contingent on the availability of deeper and more robust circuits.

7. Implications and Future Directions

The branching micro-kernel exemplifies a node-local approach to mapping classical stencils into shallow quantum circuits, achieving RyR_y2 qubit scaling and RyR_y3 depth. This design captures categorical mixing in superposition, enabling quantum acceleration of Monte Carlo estimators for explicit stencil updates. While current NISQ-era noise strongly favors depth-minimal primitives, the branching approach is likely to become attractive with next-generation QPU gate quality. Its sampling-core structure is fundamental in differentiating local quantum acceleration of classical PDE solvers from fully-quantized, global quantum algorithms (Markidis et al., 16 Nov 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Branching Micro-Kernel.