quantum-guitar
БесплатноБез исполняемых скриптовНе проверенCoecke's Quantum Guitar: quantising guitar strings via qubit association, ZX-calculus notation, Moth Actias synth integration
от plurigrid★ 73 звезды на GitHubОб этом скилле
Quantum Guitar
Trit: 0 (ERGODIC - coordinator between classical and quantum) Author: Bob Coecke (Quantum Brain Art Ltd / Oxford / Perimeter) arXiv: 2509.04526v1 [quant-ph] 3 Sep 2025
Core Principle
"A guitar string represents a wave, and by associating a qubit to each of its playable states we get a quantum wave."
Quantisation: Each playable state of a guitar string → qubit Control: Four limbs like a drummer (hands: guitar, feet: qubit) Transition: Smooth classical ↔ quantum sound continuum
Architecture
┌─────────────────────────────────────────────────────────────────────┐
│ QUANTUM GUITAR │
├─────────────────────────────────────────────────────────────────────┤
│ │
│ GUITAR (hands) QUBIT CONTROL (feet) │
│ ┌──────────────┐ ┌──────────────────────────────┐ │
│ │ Fishman MIDI │───────▶│ Moth Actias Quantum Synth │ │
│ │ Pickup │ │ ┌────────────────────────┐ │ │
│ └──────────────┘ │ │ Bloch Sphere │ │ │
│ │ │ |ψ⟩ │ │ │
│ Fernandes │ │ / \ │ │ │
│ Sustainer ──────────────│ │ |0⟩ |1⟩ │ │ │
│ (continuous) │ └────────────────────────┘ │ │
│ │ │ │
│ │ FOOT CONTROLLERS: │ │
│ │ • Boss EV-1-WL (X rotation) │ │
│ │ • Boss EV-1-WL (Z rotation) │ │
│ │ • Boss FS-6 (measurement) │ │
│ └──────────────────────────────┘ │
│ │
│ VOLUME PEDALS │
│ ┌────────────┐ ┌────────────┐ │
│ │ Classical │ │ Quantum │ │
│ │ FV500L/H │ │ FV500L/H │ │
│ └────────────┘ └────────────┘ │
│ ↓ ↓ │
│ └────────┬───────┘ │
│ ▼ │
│ FINAL MIX │
│ │
└─────────────────────────────────────────────────────────────────────┘
Qubit Operations
Rotations (Foot Controllers)
| Controller | Color | Rotation | Pauli Gate |
|---|---|---|---|
| Pedal 1 | Orange | X-axis | σₓ |
| Pedal 2 | Blue | Z-axis | σᵤ |
| (Internal) | Green | Y-axis | σᵧ |
Measurement (Foot Switch)
- Boss FS-6 in momentary mode
- Z-measurement (computational basis)
- Suggestion: Add X-measurement primitive
ZX-Calculus Notation
From "Bell" composition [Abdyssagin & Coecke]:
┌───┐
────┤ Z ├──── Z-spider (phase)
└───┘
┌───┐
────┤ X ├──── X-spider (phase)
└───┘
╲ ╱
╲ ╱
╳ Hadamard edge
╱ ╲
╱ ╲
Musical ZX notation: Augmented score for quantum music
GF(3) Mapping
| State | Trit | Sound Character |
|---|---|---|
| 0⟩ | -1 | |
| +⟩ | 0 | |
| 1⟩ | +1 |
Conservation: Classical-Quantum-Classical transitions preserve Σ = 0
Implementation
DisCoPy Integration
from discopy import Ty, Box, Diagram
from discopy.quantum import qubit, Ket, Bra, H, Rx, Rz, Measure
# Guitar string as quantum type
string = Ty('string')
quantum_string = qubit
# Quantisation functor
def quantise_string(classical_note):
"""Map classical guitar note to qubit state."""
# Frequency → phase
phase = frequency_to_phase(classical_note)
return Ket(0) >> Rx(phase)
# Foot controller rotation
def foot_rotation(axis, angle):
if axis == 'X':
return Rx(angle)
elif axis == 'Z':
return Rz(angle)
else:
return Ry(angle)
# Measurement
def measure_qubit():
return Measure()
Moth Actias Interface
import mido
class ActiasController:
"""Control Moth Actias quantum synth via MIDI."""
def __init__(self, port_name='Actias'):
self.port = mido.open_output(port_name)
self.qubit_state = [1, 0] # |0⟩
def rotate_x(self, angle):
"""X-rotation via expression pedal CC."""
cc_value = int((angle / (2 * np.pi)) * 127)
self.port.send(mido.Message('control_change',
Установить quantum-guitar в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл quantum-guitar?
Coecke's Quantum Guitar: quantising guitar strings via qubit association, ZX-calculus notation, Moth Actias synth integration
Как установить скилл quantum-guitar?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл quantum-guitar запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic