No history yet

Qubits and Quantum States

The Quantum Bit

In classical computing, the fundamental unit of information is the bit, which can be in one of two states: 0 or 1. Quantum computing uses a different fundamental unit: the quantum bit, or qubit. Like a classical bit, a qubit can be in a state of 0 or 1. However, it can also exist in a combination of both states at the same time.

We represent the two primary states of a qubit using a special notation called Dirac notation, or bra-ket notation. The state 0 is written as 0|0\rangle, and the state 1 is written as 1|1\rangle. These are known as the computational basis states. A general state of a single qubit, denoted by |\[ackslash\]psi\rangle (psi), is a linear combination, or superposition, of these basis states.

ψ=α0+β1|\psi\rangle = \alpha|0\rangle + \beta|1\rangle

This ability to exist in a weighted combination of states is called superposition. It's a core principle of quantum mechanics. A qubit isn't just flipping between 0 and 1; its state is a definite, but complex, blend of both possibilities until it's measured. The values of α\alpha and β\beta determine the specific nature of this blend.

Visualizing a Qubit

The mathematical description is precise, but it can be hard to visualize. To build intuition, we use a geometric representation called the Bloch sphere. It's a unit sphere where every point on its surface corresponds to a unique state of a single qubit.

Lesson image

By convention, the North Pole of the sphere represents the state 0|0\rangle, and the South Pole represents 1|1\rangle. Any other point on the surface represents a superposition of these two states. For example, points along the equator represent an equal 50/50 superposition of 0|0\rangle and 1|1\rangle, differing only by their relative phase.

ψ=cos(θ2)0+eiϕsin(θ2)1|\psi\rangle = \cos(\frac{\theta}{2})|0\rangle + e^{i\phi}\sin(\frac{\theta}{2})|1\rangle

The Act of Measurement

A qubit can remain in a delicate superposition of states, but only until we try to measure it. The act of measuring a qubit in the computational basis forces it to choose one of the two classical states: either 0|0\rangle or 1|1\rangle. This process is known as state collapse.

The outcome of a measurement is fundamentally probabilistic. The probability of the qubit collapsing to 0|0\rangle is given by |\[ackslash\]alpha|^2, and the probability of it collapsing to 1|1\rangle is |\[ackslash\]beta|^2. Once the measurement is made, the superposition is destroyed. The qubit is now in the definite classical state that was measured. If you measure it again immediately, you'll get the same result.

For a qubit in the state ψ=α0+β1|\psi\rangle = \alpha|0\rangle + \beta|1\rangle, a measurement will yield the result '0' with probability α2|\alpha|^2 and the result '1' with probability β2|\beta|^2.

This probabilistic nature is a stark departure from classical systems, where a bit's value is always definite and knowable without altering it. In quantum mechanics, the very act of observation changes the system. This principle is not a limitation of our measurement devices; it's an inherent feature of reality at the quantum scale.

Quiz Questions 1/5

What is the primary characteristic that distinguishes a qubit from a classical bit?

Quiz Questions 2/5

On the Bloch sphere, a geometric representation of a qubit's state, which locations correspond to the computational basis states |0⟩ and |1⟩?