跳至主要内容
小龙虾小龙虾AI
🤖

Quantum Lab

Run the /home/bram/work/quantum_lab Python scripts and demos inside the existing venv ~/.venvs/qiskit. Use when asked (e.g., via Telegram/OpenClaw) to run quant_math_lab.py, qcqi_pure_math_playground.py, quantum_app.py subcommands, quantumapp.server, or notebooks under the repo.

下载1.3k
星标0
版本0.1.0
general
安全通过
⚙️脚本

技能说明


name: quantum-lab description: Run the /home/bram/work/quantum_lab Python scripts and demos inside the existing venv ~/.venvs/qiskit. Use when asked (e.g., via Telegram/OpenClaw) to run quant_math_lab.py, qcqi_pure_math_playground.py, quantum_app.py subcommands, quantumapp.server, or notebooks under the repo.

Quantum Lab

Overview

Run quantum_lab repo commands inside the preexisting qiskit venv. Prefer the helper scripts in scripts/ so the venv and repo root are always set.

Command List (full)

Use <SKILL_DIR> as the folder where this skill is installed (e.g., ~/clawd/skills/quantum-lab).

  • bash <SKILL_DIR>/scripts/qexec.sh python quant_math_lab.py
  • bash <SKILL_DIR>/scripts/qexec.sh python qcqi_pure_math_playground.py
  • bash <SKILL_DIR>/scripts/qexec.sh python quantum_app.py
  • bash <SKILL_DIR>/scripts/qexec.sh python quantum_app.py self-tests
  • bash <SKILL_DIR>/scripts/qexec.sh python quantum_app.py playground
  • bash <SKILL_DIR>/scripts/qexec.sh python quantum_app.py notebook notebooks/SomeNotebook.ipynb
  • bash <SKILL_DIR>/scripts/qexec.sh python -m quantumapp.server --host 127.0.0.1 --port 8000

Command List (short)

Use these for quick Telegram/OpenClaw commands. Both gl and ql are supported and equivalent.

  • bash <SKILL_DIR>/scripts/gl self-tests
  • bash <SKILL_DIR>/scripts/gl playground
  • bash <SKILL_DIR>/scripts/gl app
  • bash <SKILL_DIR>/scripts/gl lab-tests
  • bash <SKILL_DIR>/scripts/gl playground-direct
  • bash <SKILL_DIR>/scripts/gl notebook notebooks/SomeNotebook.ipynb
  • bash <SKILL_DIR>/scripts/gl web 8000

Shorthand Handling

If the user types gl ... or ql ... without a full path, always expand it to the full command:

  • gl <args>bash <SKILL_DIR>/scripts/gl <args>
  • ql <args>bash <SKILL_DIR>/scripts/ql <args>

Notes

  • Repo root default: $HOME/work/quantum_lab (override with QUANTUM_LAB_ROOT).
  • Venv default: ~/.venvs/qiskit (override with VENV_PATH).
  • If dependencies are missing: bash <SKILL_DIR>/scripts/qexec.sh pip install -r requirements.txt.

如何使用「Quantum Lab」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Quantum Lab」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能