Category Archives: Quantum computing

Composing Music with a Quantum Computer


As a Developer Advocate for Pivotal, I present at conferences about leading-edge software development technologies such as Spring, Cloud Foundry, and machine learning. Lately, I’ve also been presenting about quantum computing, and have developed an open source application that utilizes quantum computers to compose and perform music. The name of the application is Quantum Music Composer, and it works with Rigetti and IBM quantum simulators and computers. The style of music that it helps compose and perform is a very simplified version of 17th century counterpoint. The image at the top of this article, for example, is a music score captured from an improvisational composition by the Rigetti 8-qubit Agave quantum computer.

The Quantum Music composer app is licensed under Apache License Version  2.0, and is available in the following GitHub repositories:

Quantum Music Composer for Rigetti quantum computers

Quantum Music Composer for IBM quantum computers

Here’s another improvisation composition, this time with by IBM Q 5-qubit Tenerife quantum computer:

Quantum Music Composer ibmq-ten-third from James L. Weaver on Vimeo.

I would love your feedback on the application after you’ve tried it out, and please let me know if you have any questions about its implementation.


James L. (Jim) Weaver