optical-quantum-kernel

ClawSkills 作者 tempguest v0.1.0

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

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install clawskills:clawskills~aadipapp-optical-quantum-skill
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/clawskills%3Aclawskills~aadipapp-optical-quantum-skill/file -o aadipapp-optical-quantum-skill.md
# 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.