We present an introduction to the Quantum Toolbox in Python (QuTiP) in the context of an undergraduate quantum mechanics class and potential senior research projects. QuTiP provides ready-to-use definitions of standard quantum states and operators as well as numerous dynamic solvers and tools for visualization. The quantum systems described here are typical for an undergraduate curriculum and range from two-state systems to optical interaction with multilevel atoms.
We present an introduction to the Quantum Toolbox in Python (QuTiP) in the context of an undergraduate quantum mechanics class and potential senior research projects. QuTiP provides ready-to-use definitions of standard quantum states and operators as well as numerous dynamic solvers and tools for visualization. The quantum systems described here are typical for an undergraduate curriculum and range from two-state systems to optical interaction with multilevel atoms.
QuTiP, the Quantum Toolbox in Python (Johansson et al., 2012, Johansson et al., 2013), has been at the forefront of open-source quantum software for the past 13 years. It is used as a research, teaching, and industrial tool, and has been downloaded millions of times by users around the world. Here we introduce the latest developments in QuTiP v5, which are set to have a large impact on the future of QuTiP and enable it to be a modern, continuously developed and popular tool for another decade and more. We summarize the code design and fundamental data layer changes as well as efficiency improvements, new solvers, applications to quantum circuits with QuTiP-QIP, and new quantum control tools with QuTiP-QOC. Additional flexibility in the data layer underlying all “quantum objects” in QuTiP allows us to harness the power of state-of-the-art data formats and packages like JAX, CuPy, and more. We explain these new features with a series of both well-known and new examples. The code for these examples is available in a static form on GitHub ( https://github.com/qutip/qutip-paper-v5-examples ) and as continuously updated and documented notebooks in the qutip-tutorials package ( https://github.com/qutip/qutip-tutorials ).
We present QuTiP (http://www.qutip.org),an object-oriented, opensource framework for solving the dynamics of open quantum systems.Written in Python, and using a combination of Cython, NumPy, SciPy, and matplotlib, QuTiP provides an environment for computational quantum mechanics that is both easy and efficient to use.Arbitrary quantum systems, including timedependent systems, may be built up from operators and states defined by a quantum object class, and then passed on to a choice of unitary or dissipative evolution solvers.Here we give an overview of the basic structure for the framework, and the techniques used in its implementation.We also present a few selected examples from current research on quantum mechanics that illustrate the strengths of the framework, as well as the types of calculations that can be performed.This framework is particularly well suited to the fields of quantum optics, superconducting circuit devices, nanomechanics, and trapped ions, while also being ideal as an educational tool.
This concise textbook introduces an innovative computational approach to quantum mechanics. Over the course of this engaging and informal book, students are encouraged to take an active role in learning key concepts by working through practical exercises. The book equips readers with some basic methodology and a toolbox of scientific computing methods, so they can use code to simulate and directly visualize how quantum particles behave. The important foundational elements of the wave function and the Schrödinger equation are first introduced, then the text gradually builds up to advanced topics including relativistic, open, and non-Hermitian quantum physics. This book assumes familiarity with basic mathematics and numerical methods, and can be used to support a two-semester advanced undergraduate course. Source code and solutions for every book exercise involving numerical implementation are provided in Python and MATLAB®, along with supplementary data. Additional problems are provided online for instructor use with locked solutions.
Quantum computing takes significant place among the spheres of modern information technology. Quantum computation is usually expressed by the quantum circuit with its sequences of quantum gates. One of the practical applications of quantum computation is to use it in a web-based tool for variety of purposes. Thereby, this project aimed to create an educational simulator for studying quantum circuits with different gates, functions, and transformation rules. The tool would help students to learn the principles of quantum circuit in their courses during undergraduate study. The application was created on the Python based Django framework with the help of Python library packages especially Quantum Toolbox in Python (QuTiP) package. Major steps of simulator implementation included the creation of functions able to build a quantum circuit, to add and remove of quantum gates, apply transformation rules. The challenge appeared around the frontend functions, particularly with the Drag and Drop feature. The result of entire work on this project ended up in a web-based simulator applicable for educational purposes, which allows investigation of quantum circuit work, and quantum gates influence on the quantum circuit unitary matrix
This concise textbook introduces an innovative computational approach to quantum mechanics. Over the course of this engaging and informal book, students are encouraged to take an active role in learning key concepts by working through practical exercises. The book equips readers with some basic methodology and a toolbox of scientific computing methods, so they can use code to simulate and directly visualize how quantum particles behave. The important foundational elements of the wave function and the Schrödinger equation are first introduced, then the text gradually builds up to advanced topics including relativistic, open, and non-Hermitian quantum physics. This book assumes familiarity with basic mathematics and numerical methods, and can be used to support a two-semester advanced undergraduate course. Source code and solutions for every book exercise involving numerical implementation are provided in Python and MATLAB®, along with supplementary data. Additional problems are provided online for instructor use with locked solutions.
This concise textbook introduces an innovative computational approach to quantum mechanics. Over the course of this engaging and informal book, students are encouraged to take an active role in learning key concepts by working through practical exercises. The book equips readers with some basic methodology and a toolbox of scientific computing methods, so they can use code to simulate and directly visualize how quantum particles behave. The important foundational elements of the wave function and the Schrödinger equation are first introduced, then the text gradually builds up to advanced topics including relativistic, open, and non-Hermitian quantum physics. This book assumes familiarity with basic mathematics and numerical methods, and can be used to support a two-semester advanced undergraduate course. Source code and solutions for every book exercise involving numerical implementation are provided in Python and MATLAB®, along with supplementary data. Additional problems are provided online for instructor use with locked solutions.