Introduction: Spin, Tori, and Confusion Ahead!
Welcome, dear Reader, to another journey through the wild and wonderful world of quantum mechanics! Today, we dive headfirst into the realm of spin state vectors, grappling with a particularly beautiful concept: the spin tori. I promise we'll have some fun along the way, though I must issue a warning—things may get... twisty.
Especially when I casually decide to switch conventions that everyone else uses. Just a heads up!
A Quick Note on My Notation Shenanigans
Before we proceed, a quick confession. When I mention spherical coordinates, by φ, I mean latitude (measured from the North Pole), and by θ, I mean longitude. Now, the rest of the world? Well, they decided to do it the other way around! So if you're comparing my formulas to the ones in textbooks or online, remember that my φ is their θ and vice versa. Confused yet? Good. That's part of the charm.
Real Numbers vs. Complex—The Programmer's Dilemma
To keep things programmer-friendly, I’m sticking with real numbers, sines, and cosines. However, if you've cracked open a textbook or searched the internet, you've probably encountered those pesky complex numbers, accompanied by exp(iφ). While it's easy to translate between the two systems, the process can feel like translating Shakespeare into a meme—you're bound to lose some of the elegance along the way. So, I'll stick to the real stuff here and leave the complex translations as homework for the brave souls among you.
Spin Vectors: Real Numbers Edition
Now, let's get down to business. For us, the state vector is a column of four real numbers: X, Y, Z, and W, where the sum of their squares equals one. Textbooks, however, use two complex numbers a and b:
- a = X + iY
- b = Z + iW
It’s all the same thing, really—just more exciting when you throw in some complex numbers.
The Iconic State Vector |1)
Enter the state vector |1). Textbooks love this notation, but I’ll stick with using ) instead of the sharp "ket" symbol to avoid HTML shenanigans. It’s just a column with a 1 at the top and 0 at the bottom. For us, it looks like X=1, Y=Z=W=0. In quantum mechanics, this corresponds to a spin pointing along the z-axis. Pretty straightforward, right? Just don’t ask me to visualize it before my morning coffee.
Where the Math Gets Funky: Probabilities and Scalar Products
Now for the juicy part: if |u) is any state vector, the square of the scalar product |(1|u)|² gives us the probability that, when we measure the z-axis spin, we’ll get the result h/2 (the Planck constant divided by two). If u is our vector (X, Y, Z, W), and we write it as (X + iY, Z + iW), then the dot product of (1, 0) with this vector is X + iY. The square of the magnitude of this number is just X² + Y².
Angles, Angles, and More Angles
Let’s bring in some angles! Remember, I’m using φ, θ, and ψ. Here’s how they fit in:
- X = cos(φ/2)cos(ψ)
- Y = cos(φ/2)sin(ψ)
- Z = sin(φ/2)cos(ψ + θ)
- W = sin(φ/2)sin(ψ + θ)
Thus, X² + Y² = cos²(φ/2). And voilà! The probability that the spin is pointing up along the z-axis (with value h/2) is cos²(φ/2). And there you have it, folks—our φ angle now has physical meaning! We can even say, in true quantum mechanic fashion, that the "probability of transition" from state |u) to state |1) is cos²(φ/2).
A 3D Quest: Visualizing the State Vectors
Now let’s level up. Suppose we want to visualize, in 3D, the set of state vectors where the probability of transition to the |1) state is 1/2. Easy enough: just take φ = π/2, since cos(π/4) = 1/√2, and cos²(π/4) = 1/2.
Let’s also recall our stereographic projection formulas:
- x = X/(1 - W)
- y = Y/(1 - W)
- z = Z/(1 - W)
Plug these into the expressions for X, Y, Z, and W, using a fixed φ, and we get some fancy formulas that lead to a very special surface. And guess what? That surface happens to be a torus! (Actually, it’s three nested tori, because one is never enough.)
Let’s Draw Some Tori (With MathMod)
Now, if you’re like me, staring at all these formulas will eventually lead to some existential questions, like “Why am I doing this?” But don't worry—I’ve got your back. To visualize these tori, I suggest you download and install MathMod. It’s free, it’s multiplatform, and, well, it works once you wrestle it into submission. I even wrote a script for you! Just save it as a .js file,copy and paste into Script Edit window, run it, and let MathMod do the heavy lifting. With the mouse you can move the tori around.
Here is my script (you can also download it from here):






