# amcdawes/QMlabs

Ipython notebooks for our QM class based on Mark Beck's book "Quantum Mechanics: Theory and Experiment"
Jupyter Notebook Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
 Failed to load latest commit information. AAPTWM2018.pdf Chapter 1 - Mathematical Preliminaries.ipynb Chapter 10 - Position & Momentum.ipynb Chapter 10 - Position & Momentum_blank.ipynb Chapter 12 - SHO.ipynb Chapter 13 - Hydrogen Solutions.ipynb Chapter 13 - Hydrogen.ipynb Chapter 2 - In Class Problems.ipynb Chapter 4 In-Class Problems-Solutions.ipynb Chapter 4 In-Class Problems.ipynb Chapter 6 - Spin.ipynb Chapter 7 - Angular Momentum and Rotation.ipynb Chapter 7 - Angular Momentum.ipynb Chapter 8 - Alice and Bob.ipynb Chapter 8 - Two Photon States.ipynb Chapter 8A - Density Matrix.ipynb HW 9 Redo.ipynb LICENSE Lab 1 - Vectors and Matrices.ipynb Lab 2 - Quantum States - Blank.ipynb Lab 2 - Quantum States - Solutions.ipynb Lab 2 - Quantum States.ipynb Lab 3 - Operators - Solutions (old).ipynb Lab 3 - Operators Solutions.ipynb Lab 3 - Operators.ipynb Lab 4 - Measurements Solutions.ipynb Lab 4 - Measurements.ipynb Lab 5 - Two-particle systems.ipynb Lab 6 - Spin.ipynb Lab 7 - Time Evolution.ipynb Lab 8 - SHO.ipynb README.md Simulating measurements.ipynb environment.yml scrub_sols.py

# Quantum Mechanics in Python

This is a set of Jupyter notebooks (running python) for use in a Quantum Mechanics class. The material is based on (and in sequence with) Mark Beck's book "Quantum Mechanics: Theory and Experiment" but the notebooks can be used independently and with or without a QM textbook.

These are a mix of in-class activities (organized by Chapter title) or longer lab-length activities ("Lab" title). The labs are numbered in order, and the title corresponds to book chapter titles.

To run interactive versions of these notebooks, please:

## Examples:

The file `AAPTWM2018.pdf` contains slides for my talk presented at the AAPT Winter Meeting in 2018. Additionally, a longer version of the talk was presented at PyCon 2017 and is available on YouTube.

## Installation:

The notebooks make use of the QuTiP package (Quantum Toolbox in Python). For additional documentation on this requirement, please see the project page. Installation of QuTiP should be handled by your python package manager:

Anaconda (mac/win): `conda install qutip`

Mac/Linux: `pip install qutip`

I personally recommend the Anaconda Scientific Python Distribution for ease of installation on Windows machines. I use it on Mac OSX as well. Linux package managers (and `pip`) generally make the same type of python package management straightforward but Anaconda (and the conda package manager) can be very useful in Linux as well.