arXiv:2510.03836quant-phcs.CY2025-10

用量子随机漫步生成音乐节奏,让量子计算玩起音乐来

From Qubits to Rhythm: Exploring Quantum Random Walks in Rhythmspaces

  • 将二维量子随机漫步映射到节奏空间,分步生成节奏模式
  • 通过势场调控概率分布,实现不同风格的节奏演化
  • 可扩展至多维声学空间,适合音乐生成与实验创作

本文提出一种基于量子计算的节奏生成算法,旨在拓展量子计算在艺术领域的应用,尤其是音乐创作。该算法将量子随机漫步轨迹映射至二维节奏空间(rhythmspace),实现节奏模式的插值与探索。方法分为三阶段:第一阶段设计量子算法,并将量子比特空间映射至节奏空间,采用二维量子随机漫步分解为两个一维路径以减少电路深度;第二阶段引入经典势场(零势、线性势、高斯势、惯性高斯势)控制漫步方向,根据位置梯度调节波函数概率分布;第三阶段将路径转化为MIDI鼓点消息并发送至数字音频工作站(DAW)。本研究扩展了现有量子计算在小规模离散空间的应用,首次将形式化推广至二维x-y平面,验证了量子生成随机漫步在音乐与音频中的可行性。该方法不局限于节奏生成,可适配多种音乐结构,适用于多维声学空间的生成任务。

原文摘要 · Abstract (English)

A quantum computing algorithm for rhythm generation is presented, which aims to expand and explore quantum computing applications in the arts, particularly in music. The algorithm maps quantum random walk trajectories onto a rhythmspace -- a 2D interface that interpolates rhythmic patterns. The methodology consists of three stages. The first stage involves designing quantum computing algorithms and establishing a mapping between the qubit space and the rhythmspace. To minimize circuit depth, a decomposition of a 2D quantum random walk into two 1D quantum random walks is applied. The second stage focuses on biasing the directionality of quantum random walks by introducing classical potential fields, adjusting the probability distribution of the wave function based on the position gradient within these fields. Four potential fields are implemented: a null potential, a linear field, a Gaussian potential, and a Gaussian potential under inertial dynamics. The third stage addresses the sonification of these paths by generating MIDI drum pattern messages and transmitting them to a Digital Audio Workstation (DAW). This work builds upon existing literature that applies quantum computing to simpler qubit spaces with a few positions, extending the formalism to a 2D x-y plane. It serves as a proof of concept for scalable quantum computing-based generative random walk algorithms in music and audio applications. Furthermore, the approach is applicable to generic multidimensional sound spaces, as the algorithms are not strictly constrained to rhythm generation and can be adapted to different musical structures.

量子计算音乐生成随机漫步声学空间

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。