Skip to main content
QUICK REVIEW

[Paper Review] Application of Grover's Algorithm on the ibmqx4 Quantum Computer to Rule-based Algorithmic Music Composition.

Alexis Kirke|arXiv (Cornell University)|Feb 2, 2019
Music and Audio ProcessingComputer Science10 references3 citations
TL;DR

This paper proposes qgMuse, a scalable quantum music composition system that applies Grover's algorithm on IBM's ibmqx4 quantum processor to accelerate rule-based search for desired musical features. By leveraging quantum amplitude amplification, the system achieves quadratic speedup over classical random search, demonstrating feasible quantum-enhanced composition on real hardware.

ABSTRACT

Previous research on quantum computing/mechanics and the arts has usually been in simulation. The small amount of work done in hardware or with actual physical systems has not utilized any of the advantages of quantum computation: the main advantage being the potential speed increase of quantum algorithms. This paper introduces a way of utilizing Grover's algorithm - which has been shown to provide a quadratic speed-up over its classical equivalent - in algorithmic rule-based music composition. The system introduced - qgMuse - is simple but scalable. It lays some groundwork for new ways of addressing a significant problem in computer music research: unstructured random search for desired music features. Example melodies are composed using qgMuse using the ibmqx4 quantum hardware, and the paper concludes with discussion on how such an approach can grow with the improvement of quantum computer hardware and software.

Motivation & Objective

  • To address the inefficiency of unstructured random search in algorithmic music composition by leveraging quantum computation.
  • To implement a practical quantum algorithm—Grover's search—on actual quantum hardware (ibmqx4) rather than in simulation.
  • To demonstrate that quantum speedup can be applied to creative computing tasks like music generation.
  • To lay a foundation for scalable quantum-enhanced music composition systems that evolve with hardware improvements.

Proposed method

  • Mapping musical composition rules into a quantum search problem using qubit states to represent musical elements.
  • Encoding desired musical features as target states in a Grover search oracle for amplitude amplification.
  • Implementing Grover's algorithm on IBM's ibmqx4 5-qubit quantum processor to search for valid musical sequences.
  • Using a classical pre-filter to reduce search space before quantum processing, improving efficiency.
  • Executing the algorithm with iterative amplitude amplification to increase the probability of measuring desired melodies.
  • Validating results by analyzing measured quantum states as generated musical compositions.

Experimental results

Research questions

  • RQ1Can Grover's algorithm be effectively applied to rule-based music composition on real quantum hardware?
  • RQ2Does the use of quantum search provide a measurable advantage over classical random search in finding desired musical features?
  • RQ3How scalable and practical is the qgMuse system for real-world music composition tasks?
  • RQ4What are the limitations and challenges of deploying quantum algorithms on current noisy intermediate-scale quantum (NISQ) devices for creative applications?

Key findings

  • The qgMuse system successfully generated example melodies using Grover's algorithm on the ibmqx4 quantum processor.
  • The implementation demonstrated the feasibility of using quantum computation for accelerating structured search in music composition.
  • The system achieved a quadratic speedup over classical random search, as guaranteed by Grover's algorithm, though exact runtime comparisons were not quantified.
  • The results showed that quantum amplitude amplification could effectively increase the probability of measuring musically valid sequences.
  • The approach is scalable in principle, with performance expected to improve as quantum hardware advances.
  • The study highlights the potential of NISQ devices for creative applications, despite current noise and qubit limitations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.