{ "metadata": { "name": "Lecture-2B-Single-Atom-Lasing" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# QuTiP lecture: Single-Atom-Lasing" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Author: J.R. Johansson, robert@riken.jp\n", "\n", "http://dml.riken.jp/~rob/\n", "\n", "Latest version of this ipython notebook lecture is available at: http://github.com/jrjohansson/qutip-lectures" ] }, { "cell_type": "code", "collapsed": false, "input": [ "# setup the matplotlib graphics library and configure it to show \n", "# figures inline in the notebook\n", "%pylab inline" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "\n", "Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.zmq.pylab.backend_inline].\n", "For more information, type 'help(pylab)'.\n" ] } ], "prompt_number": 1 }, { "cell_type": "code", "collapsed": false, "input": [ "# make qutip available in the rest of the notebook\n", "from qutip import *" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 2 }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Introduction and model\n", "\n", "Consider a single atom coupled to a single cavity mode. If there atom excitation rate exceeds the relaxation rate, a population inversion can occur in the atom, and if coupled to the cavity the atom can then act as a photon pump on the cavity.\n", "\n", "