Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Coupling Aware Subqubo Selection

ASecurity

Use when splitting a large QUBO into sub-problems for hybrid solvers.

3 stars
0 votes
0 copies
0 views
Added 10/3/2026
researchgonodegitbackend

Security Analysis

A100/100

Scanned 10/3/2026

$npx -y skills add hiyenwong/ai_collection --skill coupling-aware-subqubo-selection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coupling Aware Subqubo Selection?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Coupling Aware Subqubo Selection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hiyenwong-coupling-aware-subqubo-selection/badge)](https://www.skillsdirectory.com/skills/hiyenwong-coupling-aware-subqubo-selection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: coupling-aware-subqubo-selection
description: Use when splitting a large QUBO into sub-problems for hybrid solvers.
category: ai_collection
---

# Coupling-Aware Sub-QUBO Selection (DkS Selector)

Source: "Fewer Qubits, Better Choices: Coupling-Aware Sub-QUBO Selection for Quantum-Assisted Traffic Zone Partitioning" (arXiv:2609.32627, Guo & Ke, Sep 2026). Tested on Chicago-Sketch (387 zones) and Philadelphia (1,525 zones), IBM ibm_rensselaer via Kipu Iskay DCO optimizer.

## When to Use

- A QUBO/Ising problem has more binary variables than the device (or exact classical solver) can handle, so you decompose it into an outer loop of q-variable sub-problems (qbsolv-style sub-QUBO).
- The incumbent is already 1-opt optimal (no single flip improves) and progress has stalled.
- Any hybrid classical/quantum optimization where "which variables to release this round" is a free design choice.

## Core Insight

**Single-variable impact ranking is blind at a local optimum.** The outer loop spends nearly all its time at 1-opt optima, where every individual flip is a cost (`a_i >= 0` for all i). All remaining improvement lives in the pairwise coupling matrix K, which impact indexing never reads. Selection must be driven by couplings, not by per-variable scores.

## The Method

### 1. Flip-space expansion (compute once per round, no solver calls)

At incumbent x, with `s = 1 - 2x` (flip direction), gradient `g = h + Jx`:

```
H(x') - H(x) = a^T z + (1/2) z^T K z
a_i = s_i * g_i            # individual flip cost/gain
K_ij = s_i * s_j * J_ij    # pairwise correction when i, j flip together
```

z in {0,1}^N indicates flipped variables. K inherits J's zero diagonal. Both a and K are free to compute — this is the key that makes selection tractable.

### 2. Field folding (do NOT skip when clamping)

Fixed variables still act on free ones through a folded field:

```
d_i = sum_{j not in S} (Q_ij + Q_ji) * x_j
```

Omitting this term silently solves a different problem.

### 3. DkS selector (prize-collecting densest-k-subgraph, greedy)

Sub-QUBO objective value F(S) is monotone but NOT submodular (variables can be purely complementary: F({x1})=F({x2})=0 but F({x1,x2})=2.9). Relax to negative-part couplings `[K_ij]^- = max(0, -K_ij)` and maximize the lower bound:

```
max_{|T| <= q}  sum_{i<j in T} [K_ij]^-  -  sum_{i in T} a_i
```

Find q nodes densely connected by strong negative couplings while individually cheap. Greedy: seed with best pair, add one variable at a time by incremental score. Cost O(qn) per round.

**Seed score must be (the easy-to-get-wrong detail):**

```
M_ij = max(-a_i - a_j - K_ij, -a_i, -a_j)
```

Take all three terms — "flip both" AND both "flip just one" options. Using only the first term stalls the greedy whenever no pair is jointly profitable.

### 4. Selection-quality certificate (bounds, O(q^2), no solver call)

```
L(S) = max(0, max_i(-a_i), max_{i<j}(-a_i - a_j - K_ij))
U(S) = sum_i [a_i]^- + sum_{i<j} [K_ij]^-
```

L(S) <= F(S) <= U(S). **Use L for stopping rules, never U** — U keeps spiking long after convergence because it sums every locally favorable term without checking joint attainability.

### 5. Diversification (tabu penalty)

```
tau(t+1) = 0.8 * tau(t) + 1_{S(t)}
a~(t) = a(t) + eps * tau(t)
```

Geometric decay rho=0.8 gives memory of ~1/(1-rho)=5 rounds. Without this, deterministic rules propose near-identical subsets every round; impact indexing depends on it by a measured factor of 4-6x, DkS much less.

## Key Empirical Results

| Finding | Number |
|---|---|
| DkS @ q=16 beats random @ q=64 (Philadelphia) | 4x device capacity does NOT close the gap |
| Road-network vs geometric adjacency | advantage widens 1.6-1.9x; changes 62% of edges |
| Quantum vs classical sub-solver (0-100% hardware fraction, same trace) | final objective identical to every digit — gain is ALL classical selection |
| q=120 dense coupling (7,260 terms) | fails 3/3 as compiler rejection at 282s, not timeout |
| q=120 at 70% sparsification (5,118 terms) | succeeds, ratio 0.9981, compile 1752s vs QPU 469s |
| Compilation scaling | ~1.5e-4 * terms^1.89 s (R2=0.999), crosses QPU cost at ~2,500 terms |
| Wall-clock vs QPU time | queueing dominates: QPU share 5.7%, 39x spread on identical jobs |

## Practical Guidance (Section 6 of paper — transferable)

1. **Diagnose before applying**: compute CV (coefficient of variation) of off-diagonal |K| entries. Real instances: 2.92 and 6.05, rule wins comfortably. Synthetic near-uniform instance CV=0.58, indistinguishable from random. A near-uniform coupling matrix carries no exploitable information.
2. **Never rank by single-flip scores at a local optimum** — all flips are costs there; if forced to use one, it needs external diversification (4-6x dependence).
3. **Stopping rule: lower bound L, 5 consecutive empty rounds** (runs recovered gain at round 15 after empty rounds 13-14; tabu needs ~5 rounds to redirect selection).
4. **Size sub-problems by coupling TERM count, not qubit count** — compilation is the binding constraint and grows ~quadratically in terms; qubit-count planning produces mysterious compilation errors, not capacity errors.
5. **Report QPU time from provider usage records, never wall-clock** — queueing dominated every experiment (39x spread), so wall-clock comparisons are not reproducible even by the same authors a day later.

## Scope & Honest Boundaries

- Evidence is zone-bipartition-only (two real US city networks); the derivation is problem-family-agnostic but cross-family transfer is untested.
- Deliberate negative result: the quantum sub-solver (Kipu Iskay on ibm_rensselaer) contributed nothing over classical — this is a classical selection framework with optional quantum backend, NOT a quantum-advantage demonstration.
- Question reopens only when sub-problems exceed exact classical solvability, which on current hardware means confronting compilation cost (term count), not qubit count.

## Relationship to Other Methods

- qbsolv / impact indexing (Booth et al. 2017): the baseline this replaces; reads only |a_i|.
- Atobe et al. 2022: reads disagreement across a solution pool — empirical, needs population maintenance.
- Zhao & Tang 2025: clusters an empirical correlation matrix — closest in spirit; DkS instead derives closed-form from exact second-order expansion and provides bounds.
- SVM working-set selection (SMO, Fan et al. 2004): same "choose a small subset to re-optimize" problem — this paper imports that lens into quantum decomposition.
- Companion techniques: compressed adiabatic evolution (Azfar et al. 2026) and ramp-scheduled QAOA reduce term count — natural pairings with a selector that keeps sub-problems small.

Attribution

hiyenwonghiyenwong
View sourceSee grades on GitHubMore from hiyenwong →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Competitor Analysis

This skill provides comprehensive analysis of competitor SEO and GEO strategies, revealing what's working in your market and identifying opportunities to outperform the competition.

1823 votes

Deep Research

Universal deep research agent team. 13-agent pipeline for rigorous academic research on any topic. 8 modes: full research, quick brief, paper review, lit-review, fact-check, three-way literature scan, Socratic guided research dialogue, and systematic review with optional meta-analysis. Covers research question formulation, Socratic mentoring, methodology design, systematic literature search, source verification, cross-source synthesis, risk of bias assessment, meta-analysis, APA 7.0 report co...

502942 votes

Paperclip Distill

Use when an operation issue is a Paperclip cursor-window, distill, or backfill — `operationType: "distill"` or `"backfill"` and the body references a Paperclip source bundle for a project or root issue. Turn raw Paperclip activity into a wiki-insightful project page, decisions log, and history note. This skill exists specifically to replace the stiff, datestamp-heavy templated output that the deterministic distiller produces.

953191 votes

Academic Pipeline

Orchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory, coverage-bounded integrity checks, two-stage peer review, and auditable quality-assurance artifacts. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end p...

502941 votes

Literature Review

Assistance with writing literature reviews by searching for academic sources via Semantic Scholar, OpenAlex, Crossref and PubMed APIs. Use when the user needs to find papers on a topic, get details for specific DOIs, or draft sections of a literature review with proper citations.

6511 votes
View all in research →