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

Universal Correlation Detector

ASecurity

Use when designing state-agnostic tests or universal codes.

3 stars
0 votes
0 copies
0 views
Added 9/28/2026
researchgotestingsecurity

Security Analysis

A100/100

Scanned 9/28/2026

$npx -y skills add hiyenwong/ai_collection --skill universal-correlation-detector --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Universal Correlation Detector?

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

Security grade badge for Universal Correlation Detector
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hiyenwong-universal-correlation-detector/badge)](https://www.skillsdirectory.com/skills/hiyenwong-universal-correlation-detector)

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

Files
SKILL.md
---
name: universal-correlation-detector
description: Use when designing state-agnostic tests or universal codes.
category: ai_collection
version: "1.0.0"
source: https://arxiv.org/abs/2609.29954
source_title: "All you need is the universal correlation detector: A unified approach to universalize communication protocols over quantum channels"
authors: "Kaito Watanabe, Takaya Matsuura, Ryuji Takagi"
published: 2026-09-24
categories: quant-ph, cs.IT
trigger_words:
  - universal correlation detection
  - state-agnostic hypothesis testing
  - universal channel coding
  - quantum Stein's lemma
  - Schur-Weyl duality
  - universal symmetric state
  - position-based decoding
  - convex splitting
  - compound channel
  - universal decoder
---

# Universal Correlation Detector

## Overview

Methodology from arXiv:2609.29954 (Watanabe, Matsuura, Takagi — U. Tokyo / RIKEN RQC, 24 Sep 2026). A single building block — **universal correlation detection** — state-agnostic binary tests that distinguish a bipartite state ρ_AB from the product of its marginals ρ_A ⊗ ρ_B while matching the *known-state* optimal first-order exponent — plus two standard coding tools (position-based decoding, convex splitting) yields **universal (channel-agnostic) capacity-achieving codes for 6 communication tasks**, two of which were previously open:

1. cq channel coding w/ unknown shared-randomness distribution
2. cq wiretap coding w/ unknown shared-randomness distribution  
3. One-way secret-key distillation from cqq states
4. Entanglement-assisted classical communication (recovers compound-channel results [67,68] with a simpler proof)
5. **Entanglement-assisted quantum Gel'fand–Pinsker coding** (new)
6. **Entanglement-assisted Marton's inner bound for L≥2-receiver quantum broadcast channels** (new)

## Core Recipe (the transferable pattern)

### Step 1 — Reduce the task to binary discrimination
The task (decoding, secrecy, key distillation) is reduced to distinguishing correlated state ρ_XB from its uncorrelated counterpart ρ_X ⊗ ρ_B. The first-order optimal exponent is the mutual information I(X:B)_ρ (quantum Stein's lemma).

### Step 2 — Replace the state-dependent test with a permutation-invariant one
Two levels of knowledge, two constructions:

**Fully universal (cq states, NO state knowledge):** POVM element

    P^(n)(a) := Σ_{x^n} |x^n⟩⟨x^n| ⊗  { ρ_{B x^n} ≥ 2^{na} · σ^{U,n}_B }

where σ^{U,n}_B is the **universal symmetric state**: with H^{⊗m} = ⊕_λ W_λ ⊗ U_λ (Schur-Weyl, Young diagrams λ ∈ Y^d_m),

    σ_λ := Π_λ / dim(W_λ ⊗ U_λ),  σ^{U,m} := (1/|Y^d_m|) Σ_λ σ_λ.

**Semi-universal (general ρ_AB, ONLY marginal ρ_B known):** projector

    P^n(a, ρ_B) := { σ^{U,n}_{A B^n} ≥ 2^{na} · σ^{U,n}_{A} ⊗ ρ_B^{⊗n} }

### Step 3 — Invoke the poly(n) domination lemma
Key bound (the engine of universality): any permutation-invariant state is dominated by the universal symmetric state up to polynomial factors:

    ρ^{⊗n} ≤ poly(n) · σ^{U,n},  poly(n) = (n+1)^{|X|(d+2)(d−1)/2}   [dim W_λ ≤ (m+1)^{d(d−1)/2} (Weyl), |Y^d_m| ≤ (m+1)^{d−1} (type counting)]

Poly factors vanish in the first-order exponent: type-I error ≤ poly(n)·2^{−nt(a − I_{1−t}^↓(X:B)_ρ)}, type-II error ≤ poly(n)·2^{−na}. Optimizing t→1 recovers the Stein exponent for EVERY compatible state simultaneously.

### Step 4 — Plug into the coding theorem template
Position-based decoding (message index m lives in the classical register; decoder runs the correlation test per position) + convex splitting (for secrecy/Eve) → channel-independent code. Achievable-rate conditions keep the SAME form as the known-channel case; only the "need to know" list shrinks.

## Achievability Theorem Template (reusable)

> There exists a code depending only on ⟨what side info remains⟩ achieving rate R for ANY channel/state satisfying R < I(·:·)_ρ, while sender/receiver need NOT know: the channel description, the input distribution, or the exact capacity value.

Instantiations:
- **Thm 10 (cq coding):** rate R < I(X:B)_ρ, only rate-target + shared-randomness structure known
- **Thm 12 (wiretap):** secrecy rate R1−R2 with R1 < I(X:B)_ρ, R2 > I(X:E)_ρ
- **Thm 14 (SK distillation):** key rate R1−R2 with R1 < I(U:B|E')_ρ′, R2 > I(U:E|E')_ρ′ via Markov chain X→U→T
- **Thm 16 (EA classical):** rate R < I(B:C)_{N(θ)} with only the shared entangled state θ_EC known — channel N fully unknown (recovers C_EA compound results)
- **Thm 20 (EA Gelfand–Pinsker):** R1−R2 with R1 < I(B:C)_{N_{AS→B}⊗id_C(θ_ASC)}, R2 > I(S:C)_θ
- **Thm 22 (EA Marton, L receivers):** 0 < R_l < I(B_l:C_l)_{N(θ)}, Σ_{l∈S} R_l < Σ_{l∈S} I(B_l:C_l) − I[S]_θ (total correlation) — first universal Marton bound

## When to Use / Extend

- **Universal/compound/arbitrarily-varying channel settings** — replace state-conditioned decoders with the detector; poly(n) factors are free
- **Unknown-noise robustness arguments** — any proof whose error exponent survives poly(n) prefactors transfers verbatim
- **Quantum resource theories & learning theory** — authors flag correlation-detection tests as building blocks for state-agnostic resource detection / learning correlations
- **Any bipartite "is this correlated?" test with partial marginal knowledge** — cq: zero knowledge needed; general: one marginal suffices

## Pitfalls

- **Only first-order optimality is claimed.** Second-order refinements of known-state Stein exponents do NOT automatically universalize — the poly(n) slack absorbs O(log n) terms.
- **Universal symmetric state domination is dimension-dependent:** poly(n) = (n+1)^{|X|(d+2)(d−1)/2} — for cq states factor is per-type; strings of the same type P share σ_{U,m_x}^{⊗} factors (type-counting is what keeps the exponent |X|-free)
- **Ref. [11] subtlety:** the test identity P^(n)(a) = σ^{U,n}_{X B^n} ≥ 2^{na} σ^{U,n}_{X} ⊗ σ^{U,n}_B holds only when p(x) > 0 ∀x; the paper's construction avoids full-support assumptions
- **Thm 22 (Marton) needs mutual-information / total-correlation VALUES informed to the parties** — the code is universal in the channel but not in the rate region
- **Commutativity is load-bearing:** [σ_{B x^n}, σ^{U,n}_{B}] = 0 and [σ^{U,n}_A ⊗ ρ_B^{⊗n}, σ^{U,n}_{AB^n}] = 0 are what let Nussbaum–Szkołka / multivariate Araki–Lieb–Thirring-type bounds apply; check before porting

## Key Lemmas Inventory

- Schur–Weyl decomposition H^{⊗m} = ⊕_λ W_λ ⊗ U_λ; permutation-invariant ρ^m = Σ_λ ρ_λ ⊗ (I/dim U_λ)
- Domination: ρ^m ≤ max_λ(dim W_λ)·Σ_λ σ_λ ≤ (m+1)^{(d+2)(d−1)/2} σ^{U,m}
- Petz Rényi mutual info I_α^↓(X:B)_ρ via Sibson identity: = (α/(α−1)) log Tr[ (Σ_x p(x) ρ_{Bx}^α)^{1/α} ]
- Convex splitting (unipartite Anshu–Jain–Warsi / multipartite): mixes states to decouple — supplies the security half of wiretap/key-distillation proofs
- Position-based decoding: correlation test applied per message position → union bound over messages

## Relation to Prior Work
- Universal symmetric states: Hayashi (original universal decoder for cq channels), Nussbaum–Szkoła domination bounds
- The cq universal test appeared in Dasgupta–Warsi–Hayashi (IEEE TIT 71, 3719, 2025) for arbitrarily-varying multiple-access; here repurposed for correlation detection
- Compound-channel EA capacity: [67,68] — this paper recovers it with a strictly shorter proof

## Activation

universal correlation detection, state-agnostic testing, universal channel coding, compound channel, quantum Stein's lemma, Schur-Weyl duality, universal symmetric state, position-based decoding, convex splitting, secret key distillation, wiretap, Gel'fand-Pinsker, Marton bound, entanglement-assisted capacity

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 →