legendtkl/agentic-skill-router/skill-028

Claude Code and agent skill by legendtkl/agentic-skill-router

Trust tier 3
  • community
Source check pending

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

A skill for reconstructing quantum states from measurement data using quantum state tomography techniques. Use when you need to derive the density matrix of a quantum system from experimental measurements, allowing for the verification of quantum states in various quantum experiments.

Install

npx vskill@latest install legendtkl/agentic-skill-router/skill-028

SKILL.md

The same SKILL.md was published earlier as legendtkl/agentic-skill-router/skill-028.

Quantum State Tomography

Overview

Quantum state tomography is a process used to reconstruct the quantum state of a system based on measurement outcomes. This skill provides tools for efficiently performing quantum state tomography using available measurement data.

Installation

bash
uv pip install qst

Quick Start

python
import numpy as np
from qst import StateTomography
# Simulated measurement outcomes
measurement_data = np.array([[0, 1], [1, 0], [1, 1]]) # Example outcomes
# Create a StateTomography object
qst = StateTomography(measurement_data)
# Perform state reconstruction
rho_estimated = qst.reconstruct()
print(rho_estimated)

Core Capabilities

1. Measurement Data Handling

Handle measurement data efficiently:

python
# Load measurement results from a file
measurement_data = np.loadtxt('measurements.txt')
# Filter data based on specific criteria
filtered_data = qst.filter_data(measurement_data, threshold=0.5)
2. State Reconstruction

Reconstruct quantum states using various algorithms:

python
# Maximum likelihood estimation
rho_ml = qst.max_likelihood()
# Linear inversion
rho_inv = qst.linear_inversion()
3. Visualization of Results

Visualize the reconstructed density matrix:

python
import matplotlib.pyplot as plt
qst.visualize_density_matrix(rho_estimated)
plt.title('Reconstructed Density Matrix')
plt.show()
4. Performance Metrics

Evaluate performance:

python
fidelity = qst.calculate_fidelity(rho_estimated, true_state)
print(f'Fidelity: {fidelity}')

Conclusion

Quantum state tomography is essential for verifying and analyzing quantum systems. The tools provided in this skill facilitate the reconstruction of quantum states from experimental data, crucial for advancing quantum information science.

Security

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

Quality evaluation

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

Source

Popularity

Repository stars
6
Repository forks
2
7-day trend score
15

Stars and forks are for the whole GitHub repository, not this skill alone. 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/legendtkl/agentic-skill-router/skill-028/badge)](https://verified-skill.com/skills/legendtkl/agentic-skill-router/skill-028)

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