Skip to main content
Generaldvcrn

optical-quantum-kernel

Simulates a quantum kernel using optical fiber storage and linear optics.

Stars
15
Source
dvcrn/openclaw-skills-marketplace
Updated
2026-05-29
Slug
dvcrn--openclaw-skills-marketplace--optical-quantum-kernel
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/dvcrn/openclaw-skills-marketplace/HEAD/plugins/aadipapp--optical-quantum-skill/skills/optical-quantum-kernel/SKILL.md -o .claude/skills/optical-quantum-kernel.md

Drops the SKILL.md into .claude/skills/optical-quantum-kernel.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Optical Quantum Kernel Skill

This skill simulates a photonic quantum computer that uses optical fibers for storage and linear optics for computation. It calculates the quantum kernel (similarity) between two data vectors by encoding them into optical phases, passing them through simulated fibers (with loss), and interfering them.

Security Features

  • Resource Bounding: Capped at 8 modes to prevent resource exhaustion.
  • Input Validation: Strict checks on input vector dimensions and limits.
  • Physics-Based Constraints: Includes attenuation and phase noise for realism.

Commands

  • simulate: Run the quantum kernel simulation on two input vectors.