ψ

Mathematical Foundations of Superposition: Hilbert Spaces and State Vectors

Sreecharan Desu
•
Jan 20, 2025
•
3 min read

Whenever you tell someone you are studying or working with quantum computing, they almost always bring up Schrödinger's cat. Being "dead and alive at the same time" makes for a great story, but to be completely honest with you, it used to confuse me more than it helped.

It wasn't until I started looking at the actual math behind superposition that things finally started making sense. If we haven't met yet - I'm someone who loves to learn, adapt, and figure things out. And I’ve realized you don't need to wrap your head around sci-fi paradoxes to understand quantum states—you just need a solid grasp of basic linear algebra.

It's just geometry

If you think about classical mechanics, a particle has a specific position in 3D space. You can reliably point to its location: (x, y, z).

Quantum mechanics operates in a similar way, but instead of physical space, we use a mathematical space called a Hilbert space. A quantum state is just a vector pointing somewhere in this space. For a single qubit, the fundamental building blocks (what we call basis vectors) are |0> and |1>.

Because these basis vectors form an orthonormal set (meaning they are completely independent of one another and have a length of 1), any possible state of our qubit can be written as a linear combination of them.

So, when we say a qubit is in a superposition of |0> and |1>, we don't mean it's physically splitting itself into two parallel universes. We just mean the vector describing its state is pointing somewhere diagonally in our Hilbert space. It has a component in the |0> direction and a component in the |1> direction. That's really it.

The rule of Linearity

I thrive on change, challenges, and the joy of breaking hard systems down into simpler, predictable rules—especially when it means solving real-world problems. In quantum mechanics, the most important rule is linearity.

Linearity means that if a system naturally evolves from state A to state C, and from state B to state D, then a superposition of (A + B) will naturally evolve into a superposition of (C + D).

This is incredibly powerful for us. When we build quantum circuits or numerical models, we don't have to simulate the entire chaotic mess of continuous probability. We just track how our initial basis vectors move through the gates, and because of linearity, we instantly know how the entire complex superposition behaves.

Figuring it out

When you first open a physics textbook, a term like "Hilbert space" feels highly intimidating. But once you sit down, grab a piece of paper, and realize it's just a framework for tracking where a vector is pointing, the intimidation fades. It turns into an actual toolkit for real-world engineering.

And honestly, there's no better feeling than taking a highly theoretical, abstract concept, translating it into math, and eventually writing code that utilizes it to model something real. That moment right there? Makes the entire struggle of learning it all completely worth it.

Written By

🦄
Sreecharan Desu
Exploring systems & stories.