Undergraduate Quantum Mechanics: a Numerical Approach Using Qutip

Total Page:16

File Type:pdf, Size:1020Kb

Undergraduate Quantum Mechanics: a Numerical Approach Using Qutip Undergraduate Quantum Mechanics: a Numerical Approach using QuTiP Andrew M.C. Dawes∗ Department of Physics, Pacific University, Forest Grove, OR 97116 (Dated: October 1, 2019) 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 under- graduate curriculum and range from two-state systems to optical interaction with multilevel atoms. I. INTRODUCTION from code reuse and conceptual recycling when moving between these topics. Quantum mechanics has undergone substantial ped- Photon polarization states are represented by vectors agogical evolution in response to Physics Education in an 2-dimensional space. Starting with small vectors Research (PER) results and advances in laboratory and matrices allows simultaneous calculation by-hand technology.1 The development of a specialized framework and via computer. In the context of teaching, this is for computational calculation in quantum mechanics pro- useful for verification during the orientation phase and vides a valuable addition that we encourage instructors to catch numerical errors while students learn a new sys- to add to their courses. Our goal is to present several tem. Later, students develop their own habits of verifica- ways computational techniques can be added to existing tion and learn ways to check their work for larger Hilbert courses in quantum mechanics. A distinct advantage of spaces. this approach is that the computational framework in- Python is an object-oriented language which for our cludes research-grade tools that enable advanced prob- purposes means that quantum states are represented by lem solving for senior undergraduates and even graduate an object. Other pre-defeined functions can operate on students. these objects, and we can define our own operations as We note that this approach may be most natural for discussed below. The most fundamental object in QuTiP courses that emphasize matrix mechanics early in the is the Qobj. Instances of Qobj have many useful prop- course as vector and matrix methods are the most nat- erties. Primarily, they are a matrix (or vector) imple- ural representations in numerical work. The order of mented efficiently in Python. The features most relevant the specific examples presented here follows the textbook to this work are the indication of their status as either Quantum Mechanics: Theory and Experiment by Mark bra or ket, and whether they are Hermitian operators Beck1 which starts with photon polarization states and or not. We will not make much use of the other prop- spin states then moves to one-dimensional potentials and erties, and for the most part, these properties are used time dependent states. Many courses follow a similar internally for type-checking and other verification. Sev- progression, and the tools we describe are useful in other eral important functions create frequently-used quantum contexts as well. Even a course starting with wave me- objects. One of the most fundamental functions creates chanics can make use of these examples once spin states basis vectors. The function basis takes a dimension, N, and matrix methods are introduced. and an index as its arguments. For two-state systems, We present results using a specific computational N = 2 and we have two basis vectors: basis(2,0) and 1 framework called QuTiP (the Quantum Toolbox in basis(2,1) which represent the column vectors and Python). The QuTiP computational framework was re- 0 leased in 2011 with additional versions and updates in 0 respectively.6 We demonstrate these and many other the years following.2,3 The examples here have been de- 1 veloped using version 4.2. In addition to QuTiP, we rec- features in the following sections. ommend using Jupyter notebooks which provide an inter- Before presenting sample code, it is important to arXiv:1909.13651v1 [physics.ed-ph] 19 Sep 2019 active python computing environment.4,5 The notebook note that while a stock python environment is quite interface allows instructors to create interactive lessons functional, it does not include some features we use and for students to document their work in-place. throughout the following examples. To add these fea- tures, we import from the qutip, numpy, and matplotlib packages:7{9 II. PHOTON POLARIZATION STATES Listing 1. Module imports used for code samples presented. Our first example system uses photon polarization from qutip import* states in parallel with the text and associated experi- from numpy import sqrt, pi, array, sin, cos, arange ments presented by Beck.1 Given the similarity of the ma- import matplotlib.pyplot as plt trix representation of all two-state systems, users benefit %matplotlib inline 2 The last line is only useful in a Jupyter Notebooks, it of a polarization state by a given angle. Defined as enables inline figures. For a two-level system, the basis states themselves can cos θ sin θ R^p(θ) = − ; (3) serve as horizontal ( H ) and vertical ( V ) polarization sin θ cos θ states or as spin-upj ( +i z ) and spin-downj i ( z ). For the rotation matrix implementation is given in Listing 4. now, we use polarizationj states.i In parallel withj − thei no- We use a short python function to create the matrix for tation of Beck1, we can define three pairs of polarization a given angle theta. The function returns a Qobj that states via code shown in Listing 2. Note, these are all has been processed with the .tidyup() which removes written in the HV basis; a point we make as it is impor- any very small elements from the returned Qobj. This tant to be aware of the basis any time a vector or matrix is often useful as numerical artifacts from the finite pre- is used to represent a quantum state.10 cision of the computer may accumulate if operators are 11 Listing 2. Definitions of basis states for the three standard used repeatedly. photon polarizations represented in the HV-basis. Listing 4. 2x2 polarization rotation operator. H = basis(2,0) V = basis(2,1) def Rp(theta): P45 = 1/sqrt(2)*(H + V) M = [[cos(theta),-sin(theta)], M45 = 1/sqrt(2)*(H - V) [sin(theta),cos(theta)]] R = 1/sqrt(2)*(H - 1j*V) return Qobj(M).tidyup() L = 1/sqrt(2)*(H + 1j*V) The photon states are also a good place to practice Photon polarization states are a particularly good matrix operations such as change-of-basis. QuTiP han- starting point in the pedagogical sense as students can dles matrix operations in a straightforward way making relate their understanding to observations from optics it easy to perform transformation operations. As an ex- experiments and the vector nature of polarization. With ample, we define the similarity transform used to change these states defined, we can explore basic matrix me- from one basis to another (Listing 5). This is another ex- chanics. Inner products such as H V are computed by ample of a python function written to generate a matrix. converting the ket H into theh braj iH using the dag- In this case, we generate the matrix that transforms a ger .dag() methodj whichi is definedh forj all instances of state from one basis to another. As inputs, the function Qobj. As we would expect for orthogonal vectors, the takes four vectors: the two old basis vectors and the two inner product H V = 0. In QuTiP/python, H.dag()*V new basis vectors. Looking inside the function, we see an returns 0. h j i example of an outer product: new1.dag() * old1. The We make futher use of the .dag() method to create .dag() again method converts a ket to a bra in order projection operators: to carry out inner products such as: new1 old1 . The last two lines of the function extract theh valuej ofi each of P^H = H H (1) the four inner products a,b,c,d and assemble them into j ih j P^ = V V ; (2) a Qobj matrix. The full output of this function is the V j ih j matrix which can be used to project a state into either horizion- : new1 old1 new1 old2 tal or vertical polarization. In this way, they represent S¯ = h j i h j i : (4) new2 old1 new2 old2 physical operation of passing light through a polarizer. h j i h j i The QuTiP implementation of these projection operators is given in Listing 3. As a simple calculation example, Listing 5. Definitions of basis states for the three standard one can calculate P^V +45 which represents the photon photon polarizations represented in the HV-basis. state that would resultj fromi passing light polarized at ◦ def sim_transform(old1, old2, new1, new2): +45 through a vertical polarizer. The computational ''' representation is as simple as declaring psi = P45 and Form the similarity transform from one 0 basis to another. operating on psi with Pv: Pv*psi yields , as 0:707 ''' expected. # Calculate the relevant inner products: Listing 3. Projection operators for horizontal and vertical a = new1.dag()*old1 polarization. b = new1.dag()*old2 c = new2.dag()*old1 Ph = H*H.dag() d = new2.dag()*old2 Pv = V*V.dag() # extract values from these Qobj inner Another example of a simple matrix operation that is # product results, reshape to2 by 2, and readily implemented in QuTiP is the polarization rota- # forma new Qobj matrix: tion matrix. This operator corresponds to the rotation s = [i.data[0,0] fori in [a,b,c,d]] 3 return Qobj(array(s).reshape(2,2)) and y.
Recommended publications
  • The Quantum Toolbox in Python Release 2.2.0
    QuTiP: The Quantum Toolbox in Python Release 2.2.0 P.D. Nation and J.R. Johansson March 01, 2013 CONTENTS 1 Frontmatter 1 1.1 About This Documentation.....................................1 1.2 Citing This Project..........................................1 1.3 Funding................................................1 1.4 Contributing to QuTiP........................................2 2 About QuTiP 3 2.1 Brief Description...........................................3 2.2 Whats New in QuTiP Version 2.2..................................4 2.3 Whats New in QuTiP Version 2.1..................................4 2.4 Whats New in QuTiP Version 2.0..................................4 3 Installation 7 3.1 General Requirements........................................7 3.2 Get the software...........................................7 3.3 Installation on Ubuntu Linux.....................................8 3.4 Installation on Mac OS X (10.6+)..................................9 3.5 Installation on Windows....................................... 10 3.6 Verifying the Installation....................................... 11 3.7 Checking Version Information via the About Box.......................... 11 4 QuTiP Users Guide 13 4.1 Guide Overview........................................... 13 4.2 Basic Operations on Quantum Objects................................ 13 4.3 Manipulating States and Operators................................. 20 4.4 Using Tensor Products and Partial Traces.............................. 29 4.5 Time Evolution and Quantum System Dynamics.........................
    [Show full text]
  • Jupyter Notebooks—A Publishing Format for Reproducible Computational Workflows
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elpub digital library Jupyter Notebooks—a publishing format for reproducible computational workflows Thomas KLUYVERa,1, Benjamin RAGAN-KELLEYb,1, Fernando PÉREZc, Brian GRANGERd, Matthias BUSSONNIERc, Jonathan FREDERICd, Kyle KELLEYe, Jessica HAMRICKc, Jason GROUTf, Sylvain CORLAYf, Paul IVANOVg, Damián h i d j AVILA , Safia ABDALLA , Carol WILLING and Jupyter Development Team a University of Southampton, UK b Simula Research Lab, Norway c University of California, Berkeley, USA d California Polytechnic State University, San Luis Obispo, USA e Rackspace f Bloomberg LP g Disqus h Continuum Analytics i Project Jupyter j Worldwide Abstract. It is increasingly necessary for researchers in all fields to write computer code, and in order to reproduce research results, it is important that this code is published. We present Jupyter notebooks, a document format for publishing code, results and explanations in a form that is both readable and executable. We discuss various tools and use cases for notebook documents. Keywords. Notebook, reproducibility, research code 1. Introduction Researchers today across all academic disciplines often need to write computer code in order to collect and process data, carry out statistical tests, run simulations or draw figures. The widely applicable libraries and tools for this are often developed as open source projects (such as NumPy, Julia, or FEniCS), but the specific code researchers write for a particular piece of work is often left unpublished, hindering reproducibility. Some authors may describe computational methods in prose, as part of a general description of research methods.
    [Show full text]
  • Arxiv:1110.0573V2 [Quant-Ph] 22 Nov 2011 Equation Or Monte-Carlo Wave Function Method
    QuTiP: An open-source Python framework for the dynamics of open quantum systems J. R. Johanssona,1,∗, P. D. Nationa,b,1,∗, Franco Noria,b aAdvanced Science Institute, RIKEN, Wako-shi, Saitama 351-0198, Japan bDepartment of Physics, University of Michigan, Ann Arbor, Michigan 48109-1040, USA Abstract We present an object-oriented open-source framework for solving the dynamics of open quantum systems written in Python. Arbitrary Hamiltonians, including time-dependent systems, may be built up from operators and states defined by a quantum object class, and then passed on to a choice of master equation or Monte-Carlo solvers. We give an overview of the basic structure for the framework before detailing the numerical simulation of open system dynamics. Several examples are given to illustrate the build up to a complete calculation. Finally, we measure the performance of our library against that of current implementations. The framework described here is particularly well-suited to the fields of quantum optics, superconducting circuit devices, nanomechanics, and trapped ions, while also being ideal for use in classroom instruction. Keywords: Open quantum systems, Lindblad master equation, Quantum Monte-Carlo, Python PACS: 03.65.Yz, 07.05.Tp, 01.50.hv PROGRAM SUMMARY 1. Introduction Manuscript Title: QuTiP: An open-source Python framework for the dynamics of open quantum systems Every quantum system encountered in the real world is Authors: J. R. Johansson, P. D. Nation an open quantum system [1]. For although much care is Program Title: QuTiP: The Quantum Toolbox in Python taken experimentally to eliminate the unwanted influence Journal Reference: of external interactions, there remains, if ever so slight, Catalogue identifier: a coupling between the system of interest and the exter- Licensing provisions: GPLv3 nal world.
    [Show full text]
  • Qutip: Quantum Toolbox in Python
    Lecture on QuTiP: Quantum Toolbox in Python with case studies in Circuit-QED Robert Johansson RIKEN In collaboration with Paul Nation Korea University Pohang 2012 [email protected] 1 Content ● Introduction to QuTiP ● Case studies in circuit-QED – Jaynes-Cumming-like models ● Vacuum Rabi oscillations ● Qubit-gates using a resonators as a bus ● Single-atom laser – Dicke model / Ultrastrong coupling – Correlation functions and nonclassicality tests – Parametric amplifier Pohang 2012 [email protected] 2 resonator as coupling bus qubits qubit-qubit NIST 2007 UCSB 2012 UCSB 2009 NIST 2002 high level of control of resonators UCSB 2009 Yale 2011 Yale 2004 Delft 2003 qubit-resonator Saclay 1998 Yale 2008 ETH 2010 UCSB 2006 NEC 1999 Saclay 2002 Chalmers 2008 NEC 2003 NEC 2007 ETH 2008 2000 2005 2010 Pohang 2012 [email protected] 3 What is QuTiP? ● Framework for computational quantum dynamics – Efficient and easy to use for quantum physicists – Thoroughly tested (100+ unit tests) – Well documented (200+ pages, 50+ examples) – Quite large number of users (>1000 downloads) ● Suitable for – theoretical modeling and simulations – modeling experiments ● 100% open source ● Implemented in Python/Cython using SciPy, Numpy, and matplotlib Pohang 2012 [email protected] 4 Project information Authors: Paul Nation and Robert Johansson Web site: http://qutip.googlecode.com Discussion: Google group “qutip” Blog: http://qutip.blogspot.com Platforms: Linux and Mac License: GPLv3 Download: http://code.google.com/p/qutip/downloads Repository: http://github.com/qutip Publication: Comp. Phys. Comm. 183, 1760 (2012) Pohang 2012 [email protected] 5 What is Python? Python is a modern, general-purpose, interpreted programming language Modern Good support for object-oriented and modular programming, packaging and reuse of code, and other good programming practices.
    [Show full text]
  • Arxiv:1807.11731V2
    QEngine: An open-source C++ Library for Quantum Optimal Control of Ultracold Atoms J. J. W. H. Sørensena, J. H. M. Jensena, T. Heinzela, J. F. Shersona aDepartment of Physics and Astronomy, Aarhus University, Ny Munkegade 120, 8000 Aarhus C Denmark Abstract We present the first version of the QEngine, an open-source C++ library for simulating and controlling ultracold quantum systems using optimal control theory (OCT). The most notable systems presented here are Bose-Einstein condensates, many-body systems described by Bose-Hubbard type models, and two inter- acting particles. These systems can all be realized experimentally using ultracold atoms in various trapping geometries including optical lattices. In addition we provide a number of optimal control algorithms includ- ing the recently introduced group method. The QEngine library has a strong focus on accessibility and performance. We provide several examples of how to prepare simulations of the physical systems and apply optimal control. Keywords: Quantum Optimal Control Theory; Bose-Einstein Condensate; Gross-Pitaevskii equation; group; Bose-Hubbard; C++. PROGRAM SUMMARY Program Title: QEngine Program Summary: quatomic.com Download : gitlab.com/quatomic/qengine License: MPL-2.0 Programming Language: C++14 Computer: Any system with a C++14 compliant compiler. Operating system: Linux, Mac OSX, Windows RAM : 2+ Gigabytes External routines: Armadillo, LAPACK and BLAS or Intel Math Kernel Library Nature of Problem: Quantum optimal control of ultracold systems. Solution method: Numerical simulation of the equation of motion and gradient based quantum control. Running time: Few seconds up to several hours depending on the size of the underlying Hilbert space. 1.
    [Show full text]
  • PDF Documentation
    QuTiP: Quantum Toolbox in Python Release 4.3.0 P.D. Nation, J.R. Johansson, A.J.G. Pitchford, C. Granade, and A.L. Grimsmo Feb 26, 2019 Contents 1 Frontmatter 3 1.1 About This Documentation.....................................3 1.2 Citing This Project..........................................3 1.3 Funding................................................3 1.4 About QuTiP.............................................4 1.5 Contributing to QuTiP........................................5 2 Installation 7 2.1 General Requirements........................................7 2.2 Platform-independent Installation..................................7 2.2.1 Building your Conda environment.............................8 2.2.2 Adding the conda-forge channel..............................8 2.3 Installing via pip...........................................8 2.4 Installing from Source........................................9 2.5 Installation on MS Windows.....................................9 2.5.1 Windows and Python 2.7.................................. 10 2.6 Verifying the Installation....................................... 10 2.7 Checking Version Information using the About Function...................... 10 3 Users Guide 11 3.1 Guide Overview........................................... 11 3.1.1 Organization........................................ 11 3.2 Basic Operations on Quantum Objects................................ 12 3.2.1 First things first....................................... 12 3.2.2 The quantum object class.................................. 13 3.2.3
    [Show full text]
  • Teaching Quantum Mechanics with Python
    22 for submission to the Board of Trustees for action. The Program Director may All letters of inquiry and completed formal applications should be mailed in request additional information, an interview with the applicant,TEACHING or a visit to hard copy to: QUANTUM the applicant’s organization. The full proposal, including staff summary and John Van Zytveld, Ph.D. analysis, is made available to the Trustees for their consideration and decision. Senior Program Director The applicant is notified promptly when a decision has been reached. While M. J. Murdock Charitable Trust some level of merit is evident in nearly everyMECHANICS proposal received by the Trust, only P. O. Box 1618 WITH PYTHON a fraction of the requests reviewed can result in awards. When an application has Vancouver, WA 98668 been declined, it will not be carried over for future consideration. Under normal AndrewFor More Help M.C. Dawes circumstances, re-submission of a proposal that was declined is not encouraged. If your questions have not been answered by this document or you need some Each proposal becomes the property of the Trust and will not be returned. It will additional information, please call us at 360.694.8415. be treated as a privileged communication with the understanding, however,@drdawes that amcdawes.com it may be peer reviewed. Mailing Address: https://github.com/amcdawes/QMlabsM. J. Murdock Charitable Trust PO Box 1618 Vancouver, Washington 98668 Office Location: M. J. Murdock Executive Plaza 703 Broadway, Suite 710 Vancouver, Washington 98660 Contact:
    [Show full text]
  • Robust Ion Trap Quantum Computation Enabled by Quantum Control
    Robust Ion Trap Quantum Computation Enabled by Quantum Control by Pak Hong (James) Leung Department of Physics Duke University Date: Approved: Kenneth Brown, advisor Stephen Teitsworth Harold Baranger Thomas Barthel Jungsang Kim Dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in the Department of Physics in the Graduate School of Duke University 2020 ABSTRACT Robust Ion Trap Quantum Computation Enabled by Quantum Control by Pak Hong (James) Leung Department of Physics Duke University Date: Approved: Kenneth Brown, advisor Stephen Teitsworth Harold Baranger Thomas Barthel Jungsang Kim Dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in the Department of Physics in the Graduate School of Duke University 2020 Copyright by Pak Hong (James) Leung 2020 Abstract The advent of quantum computation foretells a new era in science and technology, but the fragility of quantum bits (qubits) and the unreliability of gates hinder the realization of functioning quantum computers. For ion trap quantum computers in particular, 2-qubit operations relying on the Mølmer-Sørensen interaction have the greatest error rates. This dissertation introduces frequency-modulated (FM) pulses as a measure to maximize 2-qubit gate fidelity and a way to calibrate gate errors through the measurement of circuit performance. A key challenge of two-qubit gates in ion chains is unwanted residual entanglement between the ion spin and its motion. Frequency-modulated pulses are developed to achieve such goal. This theoretical advance has led to high-fidelity 2-qubit gates that are robust against small frequency drifts in a 5-ion experiment.
    [Show full text]
  • Qutip: a Framework for the Dynamics of Open Quantum Systems Using Scipy and Cython
    56 PROC. OF THE 11th PYTHON IN SCIENCE CONF. (SCIPY 2012) QuTiP: A framework for the dynamics of open quantum systems using SciPy and Cython ‡ ‡ Robert J. Johansson ∗, Paul D. Nation QuTiP Organization 6/14/12 3:35 PM F Abstract—We present QuTiP (http://www.qutip.org), an object-oriented, open- three_level_basis three_level_ops source framework for solving the dynamics of open quantum systems. Written wigner in Python, and using a combination of Cython, NumPy, SciPy, and matplotlib, qfunc tensor liouvillian steadystate QuTiP provides an environment for computational quantum mechanics that about spost spre Bloch brmesolve bloch_redfield_tensor is both easy and efficient to use. Arbitrary quantum systems, including time- thermal_dmsteady clebsch qutrit_basis three_level_atom correlation spectrum_ss dependent systems, may be built up from operators and states defined by a projection demos ket2dm superoperator concurrence quantum object class, and then passed on to a choice of unitary or dissipative fock_dm entropy_conditional coherent_dm wigner entropy_linear tensor entropy_mutual evolution solvers. Here we give an overview of the basic structure for the fock entropy_vn coherent concurrence steady about Bloch bloch-redfield framework, and the techniques used in its implementation. We also present basis clebsch eseries correlation sphereplot demos a few selected examples from current research on quantum mechanics that states essolve entropy ode2es sp_eigs illustrate the strengths of the framework, as well as the types of calculations sphereplot eseries expect simdiag essolve that can be performed. This framework is particularly well suited to the fields of sparse file_data_read expect file_data_store rhs_generate simdiag rhs_generate fileio qload quantum optics, superconducting circuit devices, nanomechanics, and trapped qsave rand_unitary rand floquet ions, while also being ideal as an educational tool.
    [Show full text]
  • Lecture 7: Quantum Master Equations
    Lecture 7: Quantum master equations Hendrik Weimer Institute for Theoretical Physics, Leibniz University Hannover Quantum Physics with Python, 13 June 2016 Outline of the course 1. Introduction to Python 2. SciPy/NumPy packages 3. Plotting and fitting 4. QuTiP: states and operators 5. Ground state problems 6. Time evolution and quantum quenches 7. Quantum master equations 8. Generation of squeezed states 9. Quantum computing 10. Grover's algorithm and quantum machine learning 11. Student presentations Hendrik Weimer (Leibniz University Hannover) Lecture 7: Quantum master equations Open quantum systems I Quantum systems are never perfectly isolated from the outside world I Description in terms of pure state vectors no longer holds I Dynamics no longer described by the unitary Schr¨odingerequation Hendrik Weimer (Leibniz University Hannover) Lecture 7: Quantum master equations The density operator I Statistical mixture of pure quantum states X ρ = pij iih ij i I Proability pi to find the system in the pure state j ii I Conservation of probability: Trfρg = 1, positivity: ρ ≥ 0. I Unitary part of the Dynamics: Liouville-von Neumann equation: d d X X d d ρ = p j ih j = p j i h j + j i h j dt dt i i i i dt i i i dt i i i X i i = − pi (Hj iih ij − j iih ijH) = − [H; ρ] i ~ ~ Hendrik Weimer (Leibniz University Hannover) Lecture 7: Quantum master equations Reduced density matrices I Biparite system (parts A and B) X X j i = cijjiiAjjiB ≡ cijjiji ij ij I Reduced density matrices: partial trace X X 0 0 ρA = TrBfρg = hijjρji jijiihi j i;i0 j I Pure states: X X ∗ 0 ρA = cijci0jjiihi j i;i0 j Hendrik Weimer (Leibniz University Hannover) Lecture 7: Quantum master equations Example: Bell states Qobj.ptrace(list) list contains the parts that should be kept import numpy as np from qutip import basis, tensor psi = (tensor(basis(2, 0), basis(2, 0)) +\ tensor(basis(2, 1), basis(2, 1)))/np.sqrt(2) print(psi.ptrace([0])) Output: Quantum object: dims = [[2], [2]], shape = [2, 2], type = oper, isherm = True Qobj data = [[ 0.5 0.
    [Show full text]
  • Qutip: Quantum Toolbox in Python Release 4.0.2
    QuTiP: Quantum Toolbox in Python Release 4.0.2 P.D. Nation, J.R. Johansson, A.J.G. Pitchford, C. Granade, and A.L. Grimsmo Jan 11, 2017 Contents 1 Frontmatter 3 1.1 About This Documentation.....................................3 1.2 Citing This Project..........................................3 1.3 Funding................................................3 1.4 About QuTiP.............................................4 1.5 Contributing to QuTiP........................................5 2 Installation 7 2.1 General Requirements........................................7 2.2 Platform-independent Installation..................................7 2.2.1 Building your Conda environment.............................8 2.2.2 Adding the conda-forge channel..............................8 2.3 Installing via pip...........................................9 2.4 Installing from Source........................................9 2.5 Verifying the Installation.......................................9 2.6 Checking Version Information using the About Function......................9 2.7 Installation on MS Windows..................................... 10 3 Users Guide 11 3.1 Guide Overview........................................... 11 3.1.1 Organization........................................ 11 3.2 Basic Operations on Quantum Objects................................ 11 3.2.1 First things first....................................... 11 3.2.2 The quantum object class.................................. 13 3.2.3 Functions operating on Qobj class............................. 17
    [Show full text]
  • Experiments on Superconducting Qubits Coupled to Resonators
    Epeiets o Supeoduig Quits Coupled to Resoatos Utesuhug a Resoatoe gekoppelte supaleitede Quits Zur Erlangung des akademischen Grades eines DOKTORS DER NATURWISSENSCHAFTEN von der Fakultät für Physik des Karlsruher Institut für Technologie (KIT) genehmigte DISSERTATION von Dipl.-Phys. Markus Jerger aus Bühl Tag der mündlichen Prüfung: 1. Februar 2013 Referent: Prof. Dr. Alexey V. Ustinov Korreferent: Prof. Dr. ir. J. E. Mooij Cotets Itoduio Buildig Bloks 2.1 Superconductivity and the Josephson Effect . 7 2.2 The Flux Qubit . 9 2.2.1 Basic Types of Superconducting Qubits . 9 2.2.2 Classical Description of the Flux Qubit . 11 2.2.3 Quantum-Mechanical Description . 14 2.2.4 Truncation to two Levels . 16 2.2.5 Driven Qubit . 18 2.2.6 Bloch Sphere . 20 2.2.7 Qubit in a Dissipative Environment . 21 2.3 Microwave Resonators . 24 2.3.1 Series and Parallel Resonant Circuits . 24 2.3.2 Transmission Lines . 26 2.3.3 Transmission Line Resonators . 28 2.3.4 Circuit Characterization using S Parameters . 31 2.3.5 Resonator Characterization . 33 2.3.6 Parameters of Superconducting Transmission Lines 35 2.4 Circuit Quantum Electrodynamics . 38 2.4.1 Interaction of Light and Matter . 38 2.4.2 Coupling of Resonators to Flux Qubits . 39 2.4.3 The Jaynes-Cummings Hamiltonian . 41 2.4.4 Dispersive Readout . 43 2.5 Frequency-Division Multiplexing . 47 2.5.1 Comparison of Multiplexing Techniques . 47 2.5.2 Multiplexed Dispersive Readout System . 50 2.5.3 Crosstalk and Minimum Channel Bandwidth . 50 i Contents Epeietal Setup ad Tehiue 3.1 Sample Design and Fabrication .
    [Show full text]