Abstract
OSC-Qasm is a cross-platform, Python-based, OSC interface for executing Qasm code. It serves as a simple way to connect creative programming environments like Max (with The QAC Toolkit) and Pure Data with real quantum hardware, using the Open Sound Control protocol. In this paper, the authors introduce the context and meaning of developing a tool like this, and what it can offer to creative artists.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
OSC-Qasm software and source code is available for download [10].
- 2.
Running jobs on real IBMQ hardware requires user credentials. The number of available backends depends on these credentials. At the time of this writing, several backends are publicly available with a free IBMQ account. Additionally, IBM provides cloud-based backend simulators for larger jobs.
- 3.
Additional information is also sent back under the /info path, and errors are flagged with the /error path. It is important to note that the receiving client is, in fact, also running an OSC server.
- 4.
The user needs to either navigate to the directory where the application is, or drag and drop it onto a terminal window. The Windows version would start with OSC_Qasm_2.exe, and the MacOS version with OSC_Qasm_2.app/Contents/MacOS/OSC_Qasm_2.
References
Bernstein, E., Vazirani, U.: Quantum complexity theory. In: Proceedings of the Twenty-Fifth Annual ACM Symposium on Theory of Computing. pp. 11–20. STOC 1993, Association for Computing Machinery, New York, NY, USA, Jun 1993. https://doi.org/10.1145/167088.167097
Cross, A.W., Bishop, L.S., Smolin, J.A., Gambetta, J.M.: Open Quantum Assembly Language. arXiv (Quantum Physics), Jul 2017. https://arxiv.org/abs/1707.03429. Accessed 30 Jan 2023
Gambetta, J.: Expanding the IBM Quantum Roadmap to anticipate the future of quantum-centric supercomputing. IBM Research Blog, May 2022. https://research.ibm.com/blog/ibm-quantum-roadmap-2025. Accessed 30 Jan 2023
Gambetta, J., et al.: Qiskit/qiskit: Qiskit 0.23.6 (Feb 2021), https://zenodo.org/record/4549740. Accessed 30 Jan 2023
Gill, S.S., et al.: Quantum computing: a taxonomy, systematic review and future directions. Technical report, arXiv (Emerging Technologies), September 2021. https://arxiv.org/abs/2010.15559. Accessed 30 Jan 2023
Hamachi by LogMeIn. https://www.vpn.net/. Accessed 30 Jan 2023
Hamido, O.C.: Adventures in Quantumland. Ph.D. thesis, UC Irvine (2021), https://escholarship.org/uc/item/93c1t8vx. Accessed 30 Jan 2023
Hamido, O.C.: The QAC Toolkit (2021). https://www.quantumland.art/qac. Accessed 30 Jan 2023
Hamido, O.C.: QAC: quantum-computing aided composition. In: Miranda, E.R. (ed.) Quantum Computer Music: Foundations, Methods and Advanced Concepts, pp. 159–195. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-13909-3_8
Hamido, O.C., Itaboraí, P.V.: OSC-Qasm, May 2022. https://doi.org/10.5281/zenodo.6585064, https://github.com/iccmr-quantum/OSC-Qasm. Accessed 30 Jan 2023
IBM-Quantum online portal. https://quantum-computing.ibm.com/. Accessed 30 Jan 2023
1st International Symposium on Quantum Computing and Musical Creativity (Nov 2021), https://iccmr-quantum.github.io/1st_isqcmc/. Last Accessed 30 Jan 2023
Max MSP, Cycling ’74 (Feb 2021), https://cycling74.com/. Accessed 30 Jan 2023
Miranda, E.R. (ed.): Quantum Computer Music: Foundations, Methods and Advanced Concepts. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-13909-3
Miranda, E.R. (ed.): Quantum Computing in the Arts and Humanities: An Introduction to Core Concepts, Theory and Applications. Springer, Cham (2022), https://doi.org/10.1007/978-3-030-95538-0
Montanaro, A.: Quantum algorithms: an overview. NPJ Quant. Inf. 2(1), 1–8 (2016). https://doi.org/10.1038/npjqi.2015.23
Puckette, M.: Pure Data (Pd): real-time music and multimedia environment. https://msp.ucsd.edu/software.html. Accessed 30 Jan 2023
Qiskit webpage. https://qiskit.org/. Accessed 30 Jan 2023
QuTune Project webpage. https://iccmr-quantum.github.io/. Accessed 30 Jan 2023
Ravi, G.S., Smith, K.N., Gokhale, P., Chong, F.T.: Quantum computing in the cloud: Analyzing job and machine characteristics. arXiv (Quantum Physics), Mar 2022. https://arxiv.org/abs/2203.13121. Accessed 30 Jan 2023
SuperCollider webpage. https://supercollider.github.io/. Accessed 30 Jan 2023
Upama, P.B., et al.: Evolution of quantum computing: a systematic survey on the use of quantum computing tools. Technical report, arXiv (Quantum Physics), Apr 2022. https://arxiv.org/abs/2204.01856. Accessed 30 Jan 2023
Woehr, J., Hamido, O.C.: QisJob, February 2021. https://doi.org/10.5281/zenodo.4554481. Accessed 30 Jan 2023
Acknowledgment
The authors would like to thank other members of the QuTune Project [19], as well as all the interested participants at the 1st ISQCMC. This work was done thanks to the support from EPSRC QCS Hub.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Hamido, O.C., Itaboraí, P.V. (2023). OSC-Qasm: Interfacing Music Software with Quantum Computing. In: Johnson, C., Rodríguez-Fernández, N., Rebelo, S.M. (eds) Artificial Intelligence in Music, Sound, Art and Design. EvoMUSART 2023. Lecture Notes in Computer Science, vol 13988. Springer, Cham. https://doi.org/10.1007/978-3-031-29956-8_24
Download citation
DOI: https://doi.org/10.1007/978-3-031-29956-8_24
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-29955-1
Online ISBN: 978-3-031-29956-8
eBook Packages: Computer ScienceComputer Science (R0)