Scqubits: a Python package for superconducting qubits

Peter Groszkowski1 and Jens Koch2

1Pritzker School for Molecular Engineering, University of Chicago, 5640 South Ellis Avenue, Chicago, IL 60637, USA
2Department of Physics and Astronomy, Northwestern University, Evanston, IL 60208, USA

Find this paper interesting or want to discuss? Scite or leave a comment on SciRate.

Abstract

$\textbf{scqubits}$ is an open-source Python package for simulating and analyzing superconducting circuits. It provides convenient routines to obtain energy spectra of common superconducting qubits, such as the transmon, fluxonium, flux, cos(2$\phi$) and the 0-$\pi$ qubit. $\textbf{scqubits}$ also features a number of options for visualizing the computed spectral data, including plots of energy levels as a function of external parameters, display of matrix elements of various operators as well as means to easily plot qubit wavefunctions. Many of these tools are not limited to single qubits, but extend to composite Hilbert spaces consisting of coupled superconducting qubits and harmonic (or weakly anharmonic) modes. The library provides an extensive suite of methods for estimating qubit coherence times due to a variety of commonly considered noise channels. While all functionality of $\textbf{scqubits}$ can be accessed programatically, the package also implements GUI-like widgets that, with a few clicks can help users both create relevant Python objects, as well as explore their properties through various plots. When applicable, the library harnesses the computing power of multiple cores via multiprocessing. $\textbf{scqubits}$ further exposes a direct interface to the Quantum Toolbox in Python (QuTiP) package, allowing the user to efficiently leverage QuTiP's proven capabilities for simulating time evolution.

In this article, we introduce an open-source Python package called $\textbf{scqubits}$, which can be used for modeling and analyzing superconducting circuits. The library provides convenient routines to obtain and explore the energy spectra of many common superconducting qubits, display matrix elements of various operators as well as easily plot qubit wavefunctions. Many of these tools are not limited to single qubits, but extend to composite Hilbert spaces consisting of coupled superconducting qubits and harmonic (or weakly anharmonic) modes. The library also includes an extensive suite of methods for estimating qubit coherence times due to a variety of commonly considered noise channels. Through a set of carefully chosen examples, this article outlines many of the key features of $\textbf{scqubits}$, as well as shows how the package can be use used by both advanced users who perform active research, as well as by students, who may be new to the field.

► BibTeX data

► References

[1] The up-to-date API documentation can be found online. URL https:/​/​scqubits.readthedocs.io/​en/​latest/​api-doc/​apidoc.html.
https:/​/​scqubits.readthedocs.io/​en/​latest/​api-doc/​apidoc.html

[2] The full documentation for scqubits is located at the following address. URL https:/​/​scqubits.readthedocs.io/​en/​latest.
https:/​/​scqubits.readthedocs.io/​en/​latest

[3] Alexandre Blais, Ren-Shou Huang, Andreas Wallraff, S. M. Girvin, and R. J. Schoelkopf. Cavity quantum electrodynamics for superconducting electrical circuits: An architecture for quantum computation. Phys. Rev. A, 69: 62320, 2004. 10.1103/​PhysRevA.69.062320.
https:/​/​doi.org/​10.1103/​PhysRevA.69.062320

[4] Alexandre Blais, Arne L. Grimsmo, S. M. Girvin, and Andreas Wallraff. Circuit quantum electrodynamics. Rev. Mod. Phys., 93: 025005, 2021. 10.1103/​RevModPhys.93.025005.
https:/​/​doi.org/​10.1103/​RevModPhys.93.025005

[5] Peter Brooks, Alexei Kitaev, and John Preskill. Protected gates for superconducting qubits. Phys. Rev. A, 87: 52306, 2013. 10.1103/​PhysRevA.87.052306.
https:/​/​doi.org/​10.1103/​PhysRevA.87.052306

[6] Guido Burkard, Roger H Koch, and D. P. DiVincenzo. Multilevel quantum description of decoherence in superconducting qubits. Phys. Rev. B, 69: 64503, 2004. 10.1103/​PhysRevB.69.064503.
https:/​/​doi.org/​10.1103/​PhysRevB.69.064503

[7] John Clarke and F. K. Wilhelm. Superconducting quantum bits. Nature, 453: 1031–1042, 2008. 10.1038/​nature07128.
https:/​/​doi.org/​10.1038/​nature07128

[8] Joshua M. Dempster, Bo Fu, David G. Ferguson, D. I. Schuster, and Jens Koch. Understanding degenerate ground states of a protected quantum circuit in the presence of disorder. Phys. Rev. B, 90: 94518, 2014. 10.1103/​PhysRevB.90.094518.
https:/​/​doi.org/​10.1103/​PhysRevB.90.094518

[9] M. H. Devoret. Quantum fluctuations in electrical circuits. In S Reynaud, E Giacobino, and J Zinn-Justin, editors, Quantum Fluctuations, Les Houches, Session LXIII, chapter 10. Elsevier Science, 1995.

[10] M. H. Devoret and J. M. Martinis. Implementing qubits with superconducting integrated circuits. Quantum Inf. Process., 3: 163–203, 2004. 10.1007/​s11128-004-3101-5.
https:/​/​doi.org/​10.1007/​s11128-004-3101-5

[11] Peter Groszkowski, A. Di Paolo, A. L. Grimsmo, A. Blais, D. I. Schuster, A. A. Houck, and Jens Koch. Coherence properties of the 0-pi qubit. New J. Phys., 20: 043053, 2018. 10.1088/​1367-2630/​aab7cd.
https:/​/​doi.org/​10.1088/​1367-2630/​aab7cd

[12] G. Ithier, E. Collin, P. Joyez, P. J. Meeson, D. Vion, D. Esteve, F. Chiarello, A. Shnirman, Y. Makhlin, J. Schriefl, and G. Schon. Decoherence in a superconducting quantum bit circuit. Phys. Rev. B, 72: 134519, 2005a. 10.1103/​PhysRevB.72.134519.
https:/​/​doi.org/​10.1103/​PhysRevB.72.134519

[13] G. Ithier, E. Collin, P. Joyez, P J Meeson, D. Vion, D. Esteve, F. Chiarello, A. Shnirman, Y. Makhlin, J. Schriefl, and G. Schön. Decoherence in a superconducting quantum bit circuit. Phys. Rev. B, 72: 134519, 2005b. 10.1103/​PhysRevB.72.134519.
https:/​/​doi.org/​10.1103/​PhysRevB.72.134519

[14] J. R. Johansson, P. D. Nation, and Franco Nori. QuTiP: An open-source Python framework for the dynamics of open quantum systems. Comput. Phys. Commun., 183: 1760–1772, 2012. 10.1016/​j.cpc.2012.02.021.
https:/​/​doi.org/​10.1016/​j.cpc.2012.02.021

[15] J. R. Johansson, P. D. Nation, and Franco Nori. QuTiP 2: A Python framework for the dynamics of open quantum systems. Comput. Phys. Commun., 184: 1234–1240, 2013. 10.1016/​j.cpc.2012.11.019.
https:/​/​doi.org/​10.1016/​j.cpc.2012.11.019

[16] Jens Koch, Terri M Yu, J. M. Gambetta, A. A. Houck, D. I. Schuster, J. Majer, Alexandre Blais, M. H. Devoret, S. M. Girvin, and R. J. Schoelkopf. Charge-insensitive qubit design derived from the Cooper pair box. Phys. Rev. A, 76: 42319, 2007. 10.1103/​PhysRevA.76.042319.
https:/​/​doi.org/​10.1103/​PhysRevA.76.042319

[17] P. Krantz, M. Kjaergaard, F. Yan, T. P. Orlando, S. Gustavsson, and W. D. Oliver. A quantum engineer's guide to superconducting qubits. Appl. Phys. Rev., 6: 021318, 2019. 10.1063/​1.5089550.
https:/​/​doi.org/​10.1063/​1.5089550

[18] V. E. Manucharyan, Jens Koch, L. I. Glazman, and M. H. Devoret. Fluxonium: Single Cooper-Pair Circuit Free of Charge Offsets. Science, 326: 113–116, 2009. 10.1126/​science.1175552.
https:/​/​doi.org/​10.1126/​science.1175552

[19] J. E. Mooij, T. P. Orlando, L. Levitov, Lin Tian, Caspar H. C.H. H Van der Wal, and Seth Lloyd. Josephson persistent-current qubit. Science, 285 (5430): 1036, 1999. 10.1126/​science.285.5430.1036.
https:/​/​doi.org/​10.1126/​science.285.5430.1036

[20] Y. Nakamura, Yu. A. Pashkin, and J. S. Tsai. Coherent control of macroscopic quantum states in a single-Cooper-pair box. Nature, 398: 786–788, 1999. 10.1038/​19718.
https:/​/​doi.org/​10.1038/​19718

[21] T. P. Orlando, J. E. Mooij, Lin Tian, Caspar H. Van Der Wal, L. S. Levitov, Seth Lloyd, and J. J. Mazo. Superconducting persistent-current qubit. Phys. Rev. B, 60: 15398, 1999. 10.1103/​PhysRevB.60.15398.
https:/​/​doi.org/​10.1103/​PhysRevB.60.15398

[22] Ioan M. Pop, Kurtis Geerlings, G. Catelani, Robert J. Schoelkopf, L. I. Glazman, and M. H. Devoret. Coherent suppression of electromagnetic dissipation due to superconducting quasiparticles. Nature, 508 (7496): 369–72, 2014. 10.1038/​nature13017.
https:/​/​doi.org/​10.1038/​nature13017

[23] R. J. Schoelkopf, A. A. Clerk, S. M. Girvin, K. W. Lehnert, and M. H. Devoret. Qubits as Spectrometers of Quantum Noise. 5115: 1–31, 2002. 10.1007/​978-94-010-0089-5_9.
https:/​/​doi.org/​10.1007/​978-94-010-0089-5_9

[24] W. C. Smith, A. Kou, X. Xiao, U. Vool, and M. H. Devoret. Superconducting circuit protected by two-Cooper-pair tunneling. npj Quantum Inf., 6: 1–9, 2020. 10.1038/​s41534-019-0231-2.
https:/​/​doi.org/​10.1038/​s41534-019-0231-2

[25] Uri Vool and Michel Devoret. Introduction to quantum electromagnetic circuits. Int. J. Circuit Theory Appl., 45: 897–934, 2017. 10.1002/​cta.2359.
https:/​/​doi.org/​10.1002/​cta.2359

[26] A. Wallraff, D. I. Schuster, Alexandre Blais, L. Frunzio, R. S. Huang, J. Majer, S. Kumar, S. M. Girvin, and R. J. Schoelkopf. Strong coupling of a single photon to a superconducting qubit using circuit quantum electrodynamics. Nature, 431: 162–167, 2004. 10.1038/​nature02851.
https:/​/​doi.org/​10.1038/​nature02851

[27] J. Q. You and Franco Nori. Superconducting circuits and quantum information. Phys. Today, 58: 42–47, 2005. 10.1063/​1.2155757.
https:/​/​doi.org/​10.1063/​1.2155757

Cited by

[1] Philipp Aumann, Tim Menke, William D Oliver, and Wolfgang Lechner, "CircuitQ: an open-source toolbox for superconducting circuits", New Journal of Physics 24 9, 093012 (2022).

[2] Andrew Guthrie, Christoforus Dimas Satrya, Yu-Cheng Chang, Paul Menczel, Franco Nori, and Jukka P. Pekola, "Cooper-Pair Box Coupled to Two Resonators: An Architecture for a Quantum Refrigerator", Physical Review Applied 17 6, 064022 (2022).

[3] Boxi Li, Shahnawaz Ahmed, Sidhant Saraogi, Neill Lambert, Franco Nori, Alexander Pitchford, and Nathan Shammah, "Pulse-level noisy quantum circuits with QuTiP", Quantum 6, 630 (2022).

[4] J. Wills, G. Campanaro, S. Cao, S.D. Fasciati, P.J. Leek, and B. Vlastakis, "Spatial Charge Sensitivity in a Multimode Superconducting Qubit", Physical Review Applied 17 2, 024058 (2022).

[5] Sourav Majumder, Tanmoy Bera, Ramya Suresh, and Vibhor Singh, "A Fast Tunable 3D-Transmon Architecture for Superconducting Qubit-Based Hybrid Devices", Journal of Low Temperature Physics 207 3-4, 210 (2022).

[6] Matilda Peruzzo, Farid Hassani, Gregory Szep, Andrea Trioni, Elena Redchenko, Martin Žemlička, and Johannes M. Fink, "Geometric Superinductance Qubits: Controlling Phase Delocalization across a Single Josephson Junction", PRX Quantum 2 4, 040341 (2021).

[7] Thi Ha Kyaw, Tim Menke, Sukin Sim, Abhinav Anand, Nicolas P. D. Sawaya, William D. Oliver, Gian Giacomo Guerreschi, and Alán Aspuru-Guzik, "Quantum Computer-Aided Design: Digital Quantum Simulation of Quantum Processors", Physical Review Applied 16 4, 044042 (2021).

[8] Feng-Ming Liu, Ming-Cheng Chen, Can Wang, Shao-Wei Li, Zhong-Xia Shang, Chong Ying, Jian-Wen Wang, Cheng-Zhi Peng, Xiaobo Zhu, Chao-Yang Lu, and Jian-Wei Pan, "Quantum design for advanced qubits: plasmonium", arXiv:2109.00994.

[9] Alex Tritt, Joshua Morris, Joel Hochstetter, R. P. Anderson, James Saunderson, and L. D. Turner, "Spinsim: a GPU optimized python package for simulating spin-half and spin-one quantum systems", arXiv:2204.05586.

The above citations are from Crossref's cited-by service (last updated successfully 2022-09-24 15:28:12) and SAO/NASA ADS (last updated successfully 2022-09-24 15:28:13). The list may be incomplete as not all publishers provide suitable and complete citation data.

1 thought on “Scqubits: a Python package for superconducting qubits

  1. Pingback: The Long of The Shorts | Week Ending 11/27/2021 | Quantum Computing – The Qubit Report