Skip to main content

Command Palette

Search for a command to run...

What Is Quantum Computing, Anyway?

A first look at bits, qubits, and the strange world of quantum mechanics.

Updated
7 min read
What Is Quantum Computing, Anyway?

Hey everyone.

I'm starting a new blog to document my adventure into quantum computing. It's a topic I'm super excited about, and I figured I'd share what I learn (and probably what confuses me!) along the way.

For this first post, I just want to set the stage. What is quantum computing, and why is it so different from the computers we use every day? At its core, quantum computing leverages the unusual properties of qubits, unlike the classical bits we're familiar with. Concepts such as superposition and entanglement allow quantum computers to perform calculations in ways that are impossible for classical systems.


💻 The Classical World: A Computer Built on "Bits"

The laptop, phone, or desktop you're on right now is a classical computer. Its entire universe is built on a single, simple concept: the bit.

A bit is just a switch. It can be OFF (which we call 0) or it can be ON (which we call 1). That's it. But how does a physical device actually store a 0 or a 1? It all comes down to its physical properties.

  • In your Processor (CPU): The bit is represented by a voltage level in a tiny switch called a transistor. A low voltage (like 0 Volts) represents a 0 bit, and a high voltage (like +5 Volts) represents a 1 bit.

  • On your Hard Drive (HDD): A bit is stored magnetically. The disk is coated with material that can be magnetized. A tiny spot magnetized in one direction (e.g., North-up) represents a 1, and a spot magnetized in the opposite direction (South-up) represents a 0.

  • In Optical Fibers (Internet): Bits are transmitted as pulses of light. A pulse of light can represent a 1, while the absence of a pulse in that time slot represents a 0.

Every email, video, and website is just a mind-bogglingly long sequence of these 0s and 1s, whether stored as voltages, magnetic spots, or light pulses. This is a deterministic system: if you ask it to add 2 + 2, it will give you 4, every single time. It's reliable.

The Problem: We've reached a limit. Certain tasks—such as developing new drugs, designing advanced materials, or cracking tough encryption—are simply too immense for even the most powerful supercomputers. Classical computers must check every possible solution, a process that could take decades if not centuries.

This fundamental barrier isn't just a matter of engineering; it's a limitation of classical logic itself. To solve problems of this magnitude, we can't just build faster classical computers; we need an entirely new approach to computation.

This new approach is quantum computing, which operates on the unconventional and puzzling laws of quantum mechanics itself.


⚛️ The Quantum World: A Computer Built on "Qubits"

While classical computers operate on "bits," the quantum world utilizes "qubits," short for "quantum bits."

Physically, a qubit is not one specific object. Instead, it is any well-defined, isolated quantum system that has two distinct states. In the real world, these can be realized as:

  • An electron's spin, where we can label "spin up" as our ∣0⟩ state and "spin down" as our ∣1⟩ state.

  • A single photon's polarization, where "vertical polarization" can be ∣0⟩ and "horizontal polarization" can be ∣1⟩.

  • Atomic energy levels or special superconducting circuits, where the lowest energy "ground state" is ∣0⟩ and the “excited state" is ∣1⟩.

The fundamental difference is this: because these are quantum systems, they are not limited to being just a 0 or a 1, but can also exist in a superposition of both states at the same time.

Figure: Brief difference between classical and quantum computing.


Defining Our States: The Computational Basis

Before we explore these quantum principles, let's formally name the states we've been discussing.

In the last section, we mentioned physical properties like an electron's "spin up" and "spin down," or an atom's "ground state" and "excited state." In the language of quantum computing, we assign these two distinct, measurable states standard labels. They are called the computational basis states.

  • We label the "ground state" or "spin up" as ∣0⟩ (pronounced "ket-zero").

  • We label the "excited state" or "spin down" as ∣1⟩ (pronounced "ket-one").

This ∣…⟩ notation, or "ket," is the vector representation for a quantum state. For a single qubit, this state is a unit vector in a two-dimensional complex vector space.

The unique property—the ability to exist in both states simultaneously—is not just a technical detail; it is the first foundational principle of quantum computing. This concept, known as superposition, is joined by other key principles that give quantum computing its power, specifically entanglement and the process of quantum teleportation.


The Core Principles of Quantum Mechanics

1. Superposition

This is the first major concept that separates a qubit from a bit. A classical bit is like a coin lying flat on a table: It is definitely either heads (1) or tails (0). A qubit, however, is like a spinning coin. While it is spinning, it is neither heads nor tails; it exists in a combination of both states.

Formally, superposition describes a qubit's unique ability to exist not just as ∣0⟩ or ∣1⟩, but as a linear combination of both states simultaneously. While in this state, the qubit holds the potential for both outcomes. This state of uncertainty, however, ends with measurement. The moment we "measure" the qubit (like stopping the coin), it is forced to "collapse" and pick one definite answer, 0 or 1. This ability to "spin" in a mix of states is precisely what allows a quantum computer to evaluate countless possibilities at once.

Figure: The horizontal arrow in the left-hand circle indicates that the qubit has a 50% probability of being in state 0 and an equal probability of being in state 1. An arrow pointing diagonally upwards would indicate a 75% probability of state 0 and a 25% probability of state 1.

2. Entanglement

This is one of the most bizarre, yet powerful, principles. It is a phenomenon where two or more qubits become linked, and their fates remain connected, no matter how far apart they are.

Imagine you have two entangled qubits, and you send one to the other side of the planet. If you measure your local qubit and find it is in the ∣0⟩ state, you will instantly know that the distant qubit has collapsed to the ∣1⟩ state (or vice-versa, depending on the type of entanglement).

This famously led Albert Einstein to call it "spooky action at a distance." It's not that the particles are sending signals faster than light. Instead, they are described by one shared quantum state, so they are never truly independent.

Figure: If several qubits are linked (entangled), they can assume a combination of different states. n qubits have 2^n different states.

3. Quantum Teleportation

The name "teleportation" often brings science fiction to mind, but quantum teleportation is not about moving matter. It is about moving information.

Quantum teleportation is a protocol that transfers the exact quantum state (all its complex superposition data) from one qubit to another, distant qubit. It uses entanglement as a resource to achieve this.

Unfortunately, the process destroys the state of the original qubit. This is a necessary consequence of the "no-cloning theorem"—a fundamental rule stating it's impossible to create a perfect, independent copy of an unknown quantum state. Quantum teleportation is a foundational concept for building a secure "quantum internet."

Figure: The quantum state of the pink photon was destroyed at the Sender's location and "teleported" to the Receiver's location, where it was reconstructed.


My Takeaway (For Now)

So, to recap:

  • Classical bits are simple switches (0 or 1), like a light switch.

  • Qubits are quantum systems that can be 0, 1, or both at the same time, thanks to superposition.

  • Qubits can be mysteriously linked using entanglement.

  • These principles allow for powerful ideas like quantum teleportation.

What I've realized is that a quantum computer isn't just a "faster" classical computer. It's a completely different tool that uses the fundamental laws of physics to solve problems in a new way.

We've covered the what—the big, mind-bending concepts. But the next logical question is, how do we actually work with these? How do we write down a superposition or describe a quantum operation?

Thanks for reading this first post!

In my next post, I'll dive into the mathematical language of quantum computing. We'll explore:

  • Vector representation

  • Matrix representation

  • The Bloch Sphere (a visual way to see a qubit's state).

Please share your thoughts or questions in the comments!


Refrences


A

Very understandable writing. Reading the 2nd part now..

K

Awesome Work Buddy

1

More from this blog

Q

Quantum Computing

3 posts

Welcome! To my quantum computing journey. We'll explore fundamentals like qubits & principles, then dive into complex concepts and coding. Let's learn and build together!