Quantum without complication

post by Optimization Process, Orborde · 2025-01-16T08:53:11.347Z · LW · GW · 1 comments

Contents

  Basics: the classical universe
  Generalization: linear combinations
  Un-generalization: unitarity
  A menagerie of unitary dynamics
    Oscillator
    Oscillator 2
    Partial oscillator
    Washing machine
    ???? (exercise)
    ???? (exercise)
  Checkpoint
  The complications
    Complex numbers
    Continuous time
    Froofier vectors
    Multiple things
    ...and other stuff
  Takeaways
  Related reading
None
1 comment

Learning quantum mechanics involves two things:

  1. learning the fundamentals, the nature of the stuff of which Nature is made; and
  2. loads of universe-imposed incidental complexity, spinors and vector calculus and Lie algebras and Hilbert spaces, in order to be able to effectively apply the fundamentals to the real world.

Now, me, personally, I really like the feeling of understanding how stuff fundamentally works, even if I'm missing the accumulated genius-lifetimes' worth of tricks-I-could-theoretically-work-out-from-first-principles that I'd need in order to make that fundamental understanding practically useful. I loved Introduction to abstract entropy [LW · GW] and Generalized Heat Engine [LW · GW].

This post is an attempt to treat quantum mechanics in a similar way: exploring it with mathematical precision in an aggressively-stripped-down universe without all the complications ours has. It might feel like tooling around pointlessly in abstract-theory-land (I enjoy doing that sometimes), but our toy models will produce some behavior that sure looks a lot like some classic real-world quantum stuff.

(Target audience: handy with vectors. Ideally knows what an eigenvector is, if not which end to hold. Has a rough understanding of quantumy stuff, like, maybe took a physics class which spent a week or two on it.)

(Epistemic status: was a physics major in college, did quite well, but am rusty. Take my money if you think I've made a mistake!)

 

Basics: the classical universe

Here's a simple system, almost the simplest thing worthy of being called a "system":

It has 6 states it can be in:  through . The arrows depict the dynamics of the system: on each time-step, the system transitions to whatever state its current state's arrow points to.

Some example paths the system might take through time, depending on which state it starts in:

Here are some more example systems, just to give a sense of what's possible:


(Left to right, top to bottom: a system with one state which it's stuck in; a system that flip-flops between its two possible states; doodling; doodling; a system with an infinite number of states, 'cause why not; and another one with infinite states, just with a more interesting structure.)

 

(Aside: tying this back to our universe: if we were to use a diagram like this to depict the physics of, say, a ball bouncing around in a box, each state would correspond to a concrete, fully-specified state the system could be in: the ball being in a particular position, with a particular velocity. (There would be an uncountably infinite number of states in the diagram, but let's handwave over that; it's not load-bearing.) The arrows would represent, like, "what will the state be in one second?".)

Generalization: linear combinations

Let's look at a more complicated system. It has the same six states,  through ...

...but those aren't all of this system's states; it could also be in state , or ; any linear combination of these six basis-states. (In linear-algebra terms, we might represent a state as a vector in .)

The dynamics of this system are also somewhat more complicated: rather than being a simple function , it's now a linear function on states, which we might depict like so:

State A transitions to ; state  transitions to ; etc.

(...or, in linear-algebra-speak, we might represent it as a matrix in .)

One example path this system might take: 

(Aside: tying this back to our universe: earlier, I encouraged you to think of each of these basis states as "a concrete, fully-specified state the system could be in." I... still encourage that! As near as I can tell, even though our universe's state is some kind of gnarly linear combination of things... at least it's a linear combination of the things you're used to (more or less)? God threw us a softball: the universe's basis-states[1] really do match up pretty well with your classical intuition for "concrete ways the world can be." If you're modeling a ball in a box, your intuition says that a concrete state should be "the ball is here, with this velocity". The actual state is something like "0.7 the ball being here, minus 0.4 the ball being there, plus ..."; yes, it's a weird linear combination of things; yes, for arcane reasons we've stopped talking about velocity; but... at least the things being added up are nice, intuitive concepts like "the ball being here," not something totally alien.)

Un-generalization: unitarity

There are lots of interesting things to explore about linear operators! But if we're trying to intuition-build for quantum mechanics specifically, our system's dynamics can't be just any linear operator. They have to be... well...

Well... see, in our universe, if you have a quantum-mechanical system in a linear combination of its basis-states, then something turns out to be deeply important about the squares[2] of the coefficients of the basis-states. It's... like... what we perceive as "the probability of the universe being in this basis-state." Or something [LW · GW]. This is definitely a weak spot in my understanding.

But that's fine! This "probability" thing is a quirk of our universe, and we're ignoring all our universe's quirks; so let's ignore "probability"! We'll just... roll with the universe's suggestion that we focus our attention on dynamics that conserve the sum of the squares of the basis-states' weights.

(In linear-algebra-speak, "conserves sum of squares" is basically[3] equivalent to "unitary.")

Exercise: in the last example diagram I doodled above, are the dynamics unitary? (Solution.) If so, how can you tell; else, is there a way to re-weight the edges to make them unitary? (Solution.)

Exercise: for which of these diagrams can you assign (non-zero) weights to the edges to make the dynamics unitary?

🔗Solution.

 

If you do those exercises, or if you're already familiar with unitary operators, you'll see:

Unitarity is a doozy of a constraint. Almost no operators are unitary.

So! To intuition-build for quantum stuff, we're going to look at systems where:

But that's awfully abstract. Let's look at some concrete examples!

 

A menagerie of unitary dynamics

Oscillator

Two paths this system can take:

Or, heck, there's no rule saying we have to start in one of these two basis states. How about...

(People doing quantum stuff in the real world will tend to normalize their state-vectors, like ; but I don't see any reason we need to do that here!)

Ooh, or, how about,

We've found a state that doesn't change over time! An eigenstate of our system, with eigenvalue 1! (Exercise: find the other eigenstate. Solution.) There's nothing deeply meaningful about the eigenstates[4], but they're often handy tools for understanding long-term behavior.

 

Oscillator 2

Example paths this system could take:

 

Partial oscillator

Here's a whole family of unitary systems, parameterized by :

 

Washing machine

This one doesn't have any particularly beautiful mathematical behavior that I know of; the weights just slosh back and forth in a kind of interesting, chaotic way. 

Example path the system could take:

 

 

???? (exercise)

Exercise: in each of the following systems, if we start in state  at , what are the weights of  and  at ?

  1.  

    🔗Solution.
  2.  

    (The  is red just so you don't miss that it's different.)
    🔗Solution.

  3.  

    🔗Solution.

Exercise: in system (3) above, again starting in state : what can you say about the coefficients of the basis-states downstream of , for ? (Assume that  and  share no descendants; the universe forks off in two completely different directions at that point.) (Solution.)

Exercise: if you're familiar with the QM intro literature: what experiment does this remind you of? (Hint: does it help if I suggestively rearrange the nodes in the graph like this? (Solution.)

???? (exercise)

Exercise: if at  we're in state , then at , what are the weights of the s? (Solution.)

Exercise: if you're familiar with the QM intro literature: what experiment does this remind you of? (Solution.)

 

Checkpoint

To sum up what we've talked about so far:

This would be a reasonable place to stop reading. I'm about to shift gears and talk about...

 

The complications

If you wanted to bridge the gap between this toy version of QM and our universe's full gnarled beauty, what would it take to build that bridge?

Complex numbers

I've contrived for this post to only deal with real numbers; God isn't so kind. In the real world, these diagrams would sometimes have edge-weights like , and, therefore, the basis-state-coefficients that make up a state would often be complex. For example, the last diagram above might instead have weights like...

(It might entertain you to plot out the squared-magnitude of the various s at . My plot, with n=1000. I think this rather strengthens the resemblance to the double-slit experiment!)

Linear-algebra-wise: where, before, you might have represented a state as a vector in , and a unitary dynamics as a matrix in , now you'll need those to be  and . No biggie.

Continuous time

I've been talking about systems with discrete time, where applying some unitary operator takes you forward one time-step. This... isn't how our universe works? Obviously? Our universe has continuous time: fundamental physics doesn't tell us (directly) how to compute "what a system will look like in one second," it tells us how to  compute "the instantaneous rate of change of the system." It's possible to integrate that derivative to find out what a system will look like after some amount of time, but in general, integration is pretty gnarly.

In general, it's pretty gnarly -- but in our universe, it's actually (in some sense) delightfully straightforward! I think this is really cute; I can't help myself from going on a short tangent:

It seems incredibly convenient that our universe's infinitesimal-time-step rules (Hermitian operators) integrate neatly into at-least-somewhat-intuitively understandable finite-time-step rules (unitary operators). It doesn't seem like it had to be that way.

This means that, if you're thinking about a photon interacting with a half-silvered mirror, for example, you don't always need to get into the nitty-gritty of integrating how the wave packet evolves over time; for some purposes at least, you can just doodle a state diagram like...

...and inspect your weights, verify that your transition matrix is unitary, and continue in nice, intuitive, integration-free finite-time-step-land.

Froofier vectors

I've been talking about systems with a small handful of basis-states, or, equivalently, a state-vector-space of small dimensionality. In real life, even the simplest physical systems typically have infinite-dimensional state spaces. (Example: a hydrogen atom can be in its ground state, or its 1st excited state, or its 2nd excited state, or its 3rd, or...)

If we wanted to talk about "a particle in a box" using the framework we've been using so far, we might, uh, think of the box as an  grid of "places the particle could be," and write down some unitary operator that encodes how the particle "travels" between cells in that grid, and take the limit as . If we go down that path, we end up representing the particle's state not as "a list of  complex coefficients, one per cell in the grid, whose squared magnitudes add to 1," but as "a function mapping , whose squared magnitude integrates to 1."

(Quantum physics folk call these infinite-dimensional vector spaces "Hilbert spaces." As far as I'm aware, you can always just think of a Hilbert space as the limit of some finite-dimensional vector space as some-sort-of-granularity goes to infinity.)

Multiple things

It's natural to think of our universe as being made of pieces, individual things which can change independently of each other.

For the most part, you can represent composite systems by doing the obvious thing: if you have sub-systems A and B, then the composite system's basis-states are (A-basis-state, B-basis-state) pairs; if the sub-systems are completely isolated, then the composite system's dynamics are ; if the sub-systems are coupled, then hopefully you can represent  as some slightly tweaked version of that.

But there's some non-obvious stuff here too:

...and other stuff

Spinors, special relativity, quantum field theory, Lie algebras... I don't know what I don't know.

 

Takeaways

Desired end state:

 

Related reading

 

  1. ^

    I say "the universe's basis states" like there's some privileged basis, but there isn't. As usual when you're doing stuff with vector spaces, there's nothing physically special about any particular basis; they just vary in how well they match your intuition and how easy they make the math. (Also as usual, unfortunately, there's often a tradeoff there.)

  2. ^

    Okay, in real life all these vectors are over  instead of the reals, and the important thing is the squared magnitudes, not the squares; but it turns out that's one of the quirks of our universe we can leave behind and still get interesting quantum-flavored stuff to happen!

  3. ^

    In infinite-dimensional vector spaces, "sum-squared-magnitude-conserving" and "unitary" might not be exactly the same? The dynamics  is obviously sum-squared-magnitude-conserving; is it unitary? I don't think so, because it's not invertible ( has no predecessor). I think this distinction is angels-dancing-on-a-pin for current purposes.

  4. ^

    Well, okay, in our universe the time-evolution-operator's eigenstates are intimately tied to "energy." But in these toy systems, there's nothing deeply meaningful about them.

  5. ^

    Neglecting special relativity, which I don't understand.

1 comments

Comments sorted by top scores.

comment by Dmitry Vaintrob (dmitry-vaintrob) · 2025-01-17T00:35:24.032Z · LW(p) · GW(p)

I like this! Something I would add at some point before unitarity is that there is another type of universe that we almost inhabit, where your vectors of states have real positive coefficients that sum to 1, and your evolution matrices are Markovian (i.e., have positive coefficients and preserve the sum of coordinates). In a certain sense in such a universe it's weird to say "the universe is .3 of this particle being in state 1 and .7 of it being in state 2", but if we interpret this as a probability, we have lived experience of this.

Something that I like to point out that clicked for me at some point and serves as a good intuition pump, is that for many systems that have a real and quantum analogue, there is actually an interpolated collection of linear dynamics problems like you described that exactly interpolates between quantum and statistical. There's a little bit of weirdness here, BTW, since there's this weird nonlinearity ("squaring the norm") that you need to go from quantum to classical systems. The reason for this actually has to do with density matrices.

There's a whole post to be written on this, but the basic point is that "we've been lied to": when you're introduced to QM and see a wavefunction , this actually doesn't correspond to any linear projection/disentanglement/etc. of the "multiverse state". What instead is being linearly extracted from the "multiverse state" is the external product matrix which is the complex-valued matrix that projects to the 1-dimensional space spanned by the wave function. Now the correction of the "lie" is that the multiverse state itself should be thought of as a matrix. When you do this, the new dynamics now acts on the space of matrices. And you see that the quantum probabilities are now real-valued linear invariants of this state (to see this: the operation of taking the outer product with itself is quadratic, so the "squared norm" operators are now just linear projections that happen to have real values). In this picture, finding the probability of a measurement has exactly the same type signature as measuring the "probability of an event" in the statistical picture: namely, it is a linear function of the "multiverse vector" (just a probability distribution on states in the "statistical universe picture"). Now the evolution of the projection matrix still comes from a linear evolution on your "corrected" vector space of matrix states (in terms of your evolution matrix U, it takes the matrix M to , and of course each coefficient of the new matrix is linear in the old matrix). So this new dynamics is exactly analogous to probability dynamics, with the exception that your matrices are non-Markovian (indeed, on the level of matrices they are also unitary or at least orthogonal) and you make an assumption on your initial "vector" that, when viewed as a matrix, it is rank-1 complex projection matrix, i.e. has the form (In fact if you drop this assumption of being rank-1 and look instead at the linear subspace of matrices these generate -- namely, Hermitian matrices -- then you also get reasonable quantum mechanics, and many problems in QM in fact force you to make this generalization.)