تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

optical-quantum-skill

بواسطة aadipapp

Search & Research
398التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

الوصف

ما الذي تفعله هذه المهارة

Simulates a photonic quantum computer that uses optical fiber storage and linear optics for computation. Calculates the quantum kernel similarity between two data vectors by encoding them into optical phases, passing them through fiber simulations with attenuation and phase noise, then interfering the results. Capped at 8 modes with strict input validation.

Includes physics-based attenuation and phase noise, making simulations more realistic than idealized quantum kernel implementations.

متى تستخدمها

  • Comparing similarity between feature vectors in a machine learning pipeline
  • Prototyping quantum kernel methods without physical hardware
  • Testing optical quantum circuit behavior in research
  • Exploring photonic computing concepts in coursework or experiments
  • Benchmarking quantum similarity metrics for classification tasks

مثال على سير العمل

الإدخال

User asks: Calculate the quantum kernel similarity between vectors [0.5, 0.3, 0.8] and [0.1, 0.7, 0.4]

الوكيل
  1. 1

    Validates input vector dimensions and checks values are within allowed bounds

  2. 2

    Encodes each vector as optical phases across fiber modes

  3. 3

    Simulates fiber propagation with attenuation and phase noise applied

  4. 4

    Interferes the two encoded optical states using linear optics

  5. 5

    Returns the computed scalar kernel similarity value

الإخراج

A scalar similarity score representing the quantum kernel between the two input vectors

التثبيت

clawhub install aadipapp/optical-quantum-skill

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط