C:\> Quantum Music Composition

Markov chains are a common approach to generating music based on stochastic transition rules. The formalism of Markov chains is closely related to quantum mechanics. Based on this observation, we apply the theory of quantum mechanics to algorithmic music composition. We discuss the pros and cons of using quantum states as opposed to classically stochastic states. In our simulation, we work with a quantum state vector describing the pitch and length of the current note of the music as well as the previous few notes’ pitch. We construct unitary operators to transition from the current note to the next so that the generated notes follow a predefined pattern, or alternatively, the generated music approximates the patterns of other previously written tunes. We provide an in-detail description of our algorithm. We show some of the generated sequences by publishing the sheet music and links to recordings.

Quantum Music Composition


Go to the Github page_