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

Whrf Vqa Trainability Phase Transition

ASecurity

Use when mapping VQA losses to random fields.

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

Security Analysis

A100/100

Scanned 9/28/2026

$npx -y skills add hiyenwong/ai_collection --skill whrf-vqa-trainability-phase-transition --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Whrf Vqa Trainability Phase Transition?

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

Security grade badge for Whrf Vqa Trainability Phase Transition
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hiyenwong-whrf-vqa-trainability-phase-transition/badge)](https://www.skillsdirectory.com/skills/hiyenwong-whrf-vqa-trainability-phase-transition)

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

Files
SKILL.md
---
name: whrf-vqa-trainability-phase-transition
version: 1.0.0
description: "Use when mapping VQA losses to random fields."
tags: [quantum, variational-quantum-algorithms, random-fields, kac-rice, trainability, phase-transition, optimization]
source: arXiv:2609.27488
---

# WHRF VQA Trainability Phase Transition

Based on arXiv:2609.27488 "On Relationship Between Circuit Depth and Trainability of VQAs".

## Core Insight

VQA loss landscapes can be mapped exactly to **Wishart Hypertoroidal Random Fields (WHRFs)** — random fields on high-dimensional hypertori. Critical point statistics of WHRFs (computable via the Kac-Rice formula) reveal a **phase transition in the distribution of local minima**: beyond a threshold ratio, local minima concentrate near the global minimum in function value, so even local optimization reaches near-global optima.

## The Threshold Mechanism

- Let **N** = degrees of freedom of the problem Hamiltonian (scales **exponentially** with qubit count)
- Let **P** = number of independent VQA parameters (circuit capacity)
- The minima-quality transition is governed by the ratio **N/P**
- Below threshold: local minima scattered far from global minimum → hard optimization
- Above threshold (P large relative to N): local minima collapse in function value → trainability

Because N is exponential, naive parameter growth never catches up. The paper's remedy: **symmetry reduction operations** on the Hamiltonian lower effective N, shrinking the parameter threshold to a reachable regime.

## Methodology Pipeline

1. **Landscape mapping**: Express the VQA loss H(θ) as a random field on the hypertorus T^P (each parameter is an angle) — Wishart structure arises from quadratic forms in random circuit unitaries.
2. **Kac-Rice critical point counting**: Reformulate the Kac-Rice formula for WHRFs: expected density of critical points at loss level E is ρ(E) = E[|det(∇²H)| · δ(H−E) · δ(∇H)] over the field ensemble. Simulate when analytic evaluation is intractable.
3. **Phase transition detection**: Scan the N/P ratio; locate the loss-value gap between typical local minima and the global minimum. The transition shows as gap closure.
4. **Symmetry reduction**: Identify Hamiltonian symmetries (particle number, spin parity, translation, point group); project onto symmetry sectors to reduce N → N_eff. Re-evaluate the threshold with N_eff.
5. **Depth guidance**: Use the calibrated threshold to prescribe minimal ansatz depth (parameter count P*) guaranteeing the trainable phase, avoiding both underfitting and barren plateaus.

## Implementation Notes

- Kac-Rice simulation: Monte Carlo over Gaussian-field realizations on T^P with Wishart-correlated Hessian; sample |det Hessian| at critical points.
- Symmetry reduction is the actionable lever: exponential-to-polynomial N reduction is the difference between an untrainable and trainable VQA.
- Connects to the expressivity-trainability paradox (qml-expressivity-trainability-paradox skill): that skill treats the cause via DLA growth; this skill characterizes **where local minima live** and prescribes depth via an explicit threshold.

## Relation to Known Results

- Barren plateau mitigation via layer-wise training shifts the gradient-variance regime; WHRF analysis instead characterizes the minima landscape once gradients are informative.
- Random field / spin-glass landscape complexity analogy.

## Activation Keywords

- VQA loss landscape random field
- Kac-Rice formula critical points
- Wishart hypertoroidal random field
- VQA trainability phase transition
- local minima concentration quantum
- symmetry reduction Hamiltonian trainability
- VQA ansatz depth selection
- 量子算法可训练性相变

## Cross-Domain Applications

- Classical ML: loss-landscape random-field analysis for deep net critical point statistics
- Neuroscience: energy landscape analysis of neural dynamics (attractor statistics)
- Optimization: symmetry-based dimension reduction before random-landscape analysis

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 →