unitarylab/quantum-practices/eigensolvers

Claude Code and agent skill by unitarylab/quantum-practices

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Quantum eigensolver algorithms for operator spectrum estimation, covering exact classical diagonalization with NumPyEigensolver and variational excited-state solving with VQD. Skill-first for covered code generation, runnable examples, execution, debugging, validation, and fixed workflows.

Install

npx vskill@latest install unitarylab/quantum-practices/eigensolvers

SKILL.md

Quantum Eigensolvers

Purpose

This file is the category index and routing guide for eigensolver tasks.

Use this folder when the user wants to compute eigenvalues or eigenstates of a quantum operator, compare exact and variational eigensolver strategies, or implement an eigensolver workflow in Qiskit.

Routing Rules

Choose the leaf skill by problem type:

  • If the user wants exact eigenvalues, full diagonalization behavior, sparse or dense matrix backends, or auxiliary operator evaluation on exact eigenstates:
  • Read ./numyeigensolver/SKILL.md
  • If the user wants a variational workflow, low-lying excited states, ansatz-based optimization, fidelity penalties, or hybrid primitive-based execution:
  • Read ./vqd/SKILL.md

Selection Guide

1. NumPy Eigensolver

See reference: ./numyeigensolver/SKILL.md

Use this path when:

  • the operator is small enough for exact classical treatment,
  • the user needs deterministic eigenpairs,
  • the task involves dense or sparse matrix eigendecomposition,
  • auxiliary operators should be evaluated exactly on returned eigenstates.
2. Variational Quantum Deflation

See reference: ./vqd/SKILL.md

Use this path when:

  • the user needs the ground state plus excited states,
  • the workflow depends on a parameterized ansatz,
  • the solution should use Qiskit primitives and a classical optimizer,
  • overlap penalties or orthogonality constraints are part of the algorithm design.

Quick Intent Router

  • "Compute the lowest few exact eigenvalues" -> ./numyeigensolver/SKILL.md
  • "Diagonalize a SparsePauliOp exactly" -> ./numyeigensolver/SKILL.md
  • "Evaluate auxiliary observables on exact eigenstates" -> ./numyeigensolver/SKILL.md
  • "Find excited states with a variational ansatz" -> ./vqd/SKILL.md
  • "Implement VQD with estimator and fidelity primitives" -> ./vqd/SKILL.md
  • "Compare exact and variational eigensolvers" -> read this file first, then both leaf skills.

Engineering Notes

  • NumPyEigensolver is exact but scales poorly with qubit count because the operator dimension grows as $2^n$.
  • VQD is more scalable in workflow design, but its result quality depends on the ansatz, optimizer, fidelity evaluation, and penalty tuning.
  • Use NumPyEigensolver as a baseline when validating a VQD setup on small instances.

Response Contract

When handling eigensolver requests:

  1. Decide whether the task is exact classical diagonalization or variational excited-state estimation.
  2. Read the corresponding leaf skill before producing code.
  3. Keep category-level guidance here and leave implementation detail to the leaf skills.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/unitarylab/quantum-practices/eigensolvers/badge)](https://verified-skill.com/skills/unitarylab/quantum-practices/eigensolvers)

Something wrong with this skill or its page? Tell us.