Melody Generation with Quantum Computing : Automatic Quantum Circuit Design Using a Genetic Algorithm
Tatsunori Hirai
Abstract
In this paper, we present melody generation method using quantum computing.The topic of music generation has been of interest in computer science since the early days of computing.With the advent of quantum computing, this paper explores the potential of using a quantum computer for music generation, particularly for generating melodies.In this research, we propose a method of designing quantum circuits with genetic algorithms for melody generation.Our proposed method allows for the generation of subsequent musical notes for arbitrary input notes and the production of melodies of varying lengths based on the transition distribution between melodies in the training data.We compared the accuracy of a quantum computer in predicting the subsequent note based on the training data with that of a classical computer.Our results demonstrate the potential of quantum computing for melody generation * .