Part 2 of John Preskill’s lecture, Introduction to Quantum Information, given at the 12th Canadian Summer School on Quantum Information in 2012.