Math toolkit
Vectors and normalization
Kets are column vectors; probabilities must add to 1
In the app every question checks your answer and explains a wrong one.
A ket is a column vector
For one qubit, and are just names for the two standard column vectors:
The label inside a ket is only a name: (“ket psi”) stands for a state in general, and are two states that come up constantly. The entries are complex amplitudes. A vector represents a qubit state only if it is normalized: . To normalize any nonzero vector, divide every entry by its length .
Worked example
Normalizing
Squared magnitudes: and . The has magnitude 1, so it contributes , not .
Length: .
Divide every entry by 5: . Check: .
Check yourself
Normalize . Enter the amplitudes.
Hints
- What is the vector’s length, ?
- The length is .
- Divide both entries by .
Show the answer
Answer:
Length , so the state is , and .
Check yourself
Which of these are normalized qubit states?
Select all that apply.
- A
- B
- C
- D
Show the answer
Answers: A. ; B.
Add the squared magnitudes: (a) ; (c) , since .
Why not the others
- C. , not 1.
- D. Squared magnitudes add to 2. A minus sign doesn’t reduce a magnitude.
Go further
Free resources for when you want more than this refresher covers.
- Vectors (Essence of linear algebra, part 1)3Blue1Brown · Video
Three views of a vector, as an arrow, as a list of numbers and as something you can add and scale, animated.
- Precalculus 2e: VectorsOpenStax · Free book
Magnitude, unit vectors and the dot product for arrows in the plane, with worked examples and exercises.
- Immersive linear algebraJ. Ström, K. Åström and T. Akenine-Möller · Free book
A free online linear algebra book whose figures you can drag and rotate, from vectors to eigenvalues.
Lessons that use it
- Lesson 0: Orientation and diagnosticHow the lessons work, five key words, how states are written, and a quick check of the math the lessons assume
- Lesson 1: Qubits and measurementKets, amplitudes, the Born rule, and what a measurement leaves behind