SkillHub

optical-quantum-skill

v1.0.0

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

Sourced from ClawHub, Authored by Krishna Aditya

Installation

Please help me install the skill `optical-quantum-skill` from SkillHub official store. npx skills add AadiPapp/optical-quantum-skill

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.