Optical Quantum Kernel

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

modbender Updated 12 repo stars

File contents

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.

modbender/skill-library-mcp/tree/main/data/optical-quantum-skill commit 963a71c06b

Frequently asked questions

npx skillmds@latest add modbender/optical-quantum-kernel