What is a qubit?

In classical computers, any kind of data or information is represented in binary digits called bits. A bit value could be either 00 or 11. Unlike the bits in classical computers, data is represented as qubits in quantum computing. Quantum mechanics allows quantum computers to process large amounts of data simultaneously. This makes them exponentially more powerful than classical computers. Learning about qubits isn’t just about understanding a new technology; it’s about stepping into the future and being part of something that could improve the world.

In this Answer, we’ll discuss the basics of a qubit.

Qubit

A qubit (also called a quantum bit) is a quantum system’s smallest unit of data. It is a quantum analog of a classical bit. A qubit has two basis states that are usually written in Dirac notation as 0\ket0 (pronounced as “ket 0”) and 1\ket1 (pronounced as “ket 1”).

Representation

A qubit can be represented in multiple ways, each providing unique insights and a different aspect of quantum computing. Let’s discuss some popular representations of a qubit.

Abstract state

In the abstract state, a qubit is described using the Dirac notation, also called bra-ket notation. It is a standard way of representing a quantum state. A qubit can be either a basis state or a superposition state where that state could be any linear combination of both basis states. Mathematically, a generic qubit state (ψ\psi, pronounced as “psi”) is written as follows:

In the above equation, α\alpha and β\beta both are the probability amplitudes. They are complex numbers, which means that the α\alpha and β\beta can have both real and imaginary parts. These amplitudes relate to the likelihood that the qubit will be found in a particular state when measured.

According to the Born rule, the probability of measuring the qubit in the state 0\ket0 is given by the square of the magnitude of α\alpha, denoted as α2|\alpha|^2. Similarly, the probability of measuring the qubit in the state 1\ket1 is given by the square of the magnitude of β\beta, denoted as β2|\beta|^2probabilities. These probabilities must add up to 11 because the qubit can only be in one of these two states when measured. Mathematically, this is expressed as:

This equation ensures that the total probability of all possible outcomes (in this case, the qubit being in the state 0\ket{0} or 1\ket{1}) equals 1, which is consistent with our understanding of probability in general. This constraint is crucial in quantum mechanics, ensuring the description of the qubit’s state is physically meaningful.

Column vector

In column vector representation, the state of a qubit is expressed as a two-dimensional complex vector. This is useful for performing matrix operations. The vector representation of the basis states is as follows:

The vector representation of the generic qubit state (ψ\psi) is as follows:

This column vector form, [αβ]\begin{bmatrix} \alpha \\ \beta \end{bmatrix}, is powerful because it allows us to apply quantum gates represented as matrices. By multiplying the vector representing the qubit’s state with a matrix representing a quantum gate, we can change the qubit’s state in a controlled and predictable manner.

For example, to apply a quantum gate to the qubit, we’ll perform a matrix-vector multiplication, which transforms the qubit’s state according to the rules defined by that gate. This is how quantum computations are carried out, making vector representation a crucial tool in quantum computing.

State space

In quantum mechanics, a qubit’s state space, also known as its Hilbert space, consists of all possible quantum states, including pure and mixed ones. The Bloch sphere is a geometric representation used to visualize a qubit’s pure states within this state space.

On the Bloch sphere, each pure state corresponds to a point on the surface of the sphere, defined by angles θ\theta and ϕ\phi. This visualization helps in understanding superposition and phase.

  • The angle θ\theta is the polar angle from the zz-axis of the Bloch sphere. It determines the relative weight of the basis states 0\ket{0} and 1\ket{1} in the quantum state. Specifically, θ\theta controls the probability amplitudes α\alpha and β\beta in the quantum state representation.

  • The angle ϕ\phi is the azimuthal angle around the zz-axis of the Bloch sphere. It represents the relative phase between the basic states 0\ket{0} and 1\ket{1}. The angle ϕ\phi affects how the quantum state evolves and is related to the complex phase factor of the amplitude β\beta.

It’s important to note that the Bloch sphere does not represent the entire state space (Hilbert space), which also includes mixed states. It only represents the pure states geometrically.

The general stateψ=α0+β1\ket \psi = \alpha \ket0 + \beta \ket1 can be parameterized using two real numbers, θ\theta and ϕ\phi, where:

α=cos(θ2)β=eι˙ϕsin(θ2)\alpha = \cos (\frac{\theta}{2}) \\ \beta = e^{\dot\iota \phi}\sin (\frac{\theta}{2})

In this representation, the state ψ\ket\psi is visualized as a vector pointing from the origin to the surface of the sphere, with θ\theta and ϕ\phi corresponding to the polar and azimuthal angles, respectively. The north and south poles of the Bloch sphere correspond to the basis states 0\ket0 and 1\ket1, respectively.

A pictorial representation of the Bloch sphere
A pictorial representation of the Bloch sphere

Qubit types

There are different types of qubits. Some occur naturally, and others are engineered. Let’s discuss some common types of qubits.

Spin qubit

The spin qubit uses the angular momentum of particles such as electrons or nuclei. These qubits utilize the quantum property that spin can be in either the up or down direction. A spin qubit can be formed using these up and down directions, where the upward direction represents 0\ket0, and the downward direction is equivalent to 1\ket1.

A visual representation of a spin qubit
A visual representation of a spin qubit

Trapped atoms and ions

Trapped atoms or ions are isolated using electromagnetic fields. The energy level of an electron can be used to represent the qubit state. In the natural state, the electrons hold their lowest possible energy levels. We can manipulate electrons using lasers or microwaves; e.g., lasers can excite the electron to a high energy level. We can map the low-energy state as 0\ket0 state and the high-energy state as 1\ket1.

A visual representation of a trapped ion
A visual representation of a trapped ion

Photons qubit

Photons are light particles that can be used to represent a qubit. We can represent the qubit state by using light properties such as polarization, path, time, or arrival. Let’s discuss all types of photon qubits.

Polarization qubit

Polarization is the electromagnetic field with a specific direction that a photon carries. In a polarization qubit, the polarization state represents the quantum state. The quantum states 0\ket0 and 1\ket1 can be represented as horizontal (HH) and vertical (VV) polarization, respectively. They can also be represented as diagonal (DD) and anti-diagonal (AA) polarizations.

Time qubit

Time qubit uses the time of a photon’s arrival to represent the quantum state. We can create the time qubit by splitting a photon using delay lines and beam splitters. The photon that arrives early is mapped to the 0\ket0, and the photon that arrives late is mapped to the 1\ket1.

Path qubit

Path qubit uses different paths to represent the quantum state. We can use the beam splitters to put a photon in a superposition state. The top path can be represented as 0\ket0 and the bottom path can be considered as 1\ket1.

Types of photons qubit
Types of photons qubit

Superconducting circuits

Superconductors allow to pass the electric current without any resistance at a lower temperature. An electrical circuit of superconductors can be designed to behave like qubits. The current flow in this circuit can represent the quantum states. For example, clockwise current flow can be assumed as 0\ket0 and anticlockwise current flow can be considered as 1\ket1.

A visual representation of a superconducting circuit
A visual representation of a superconducting circuit

Test your understanding

Assess your understanding by attempting the following quiz.

1

What is a qubit?

A)

A classical bit used in digital computing

B)

The smallest unit of data in a quantum system

C)

A type of classical memory unit

D)

A quantum version of a digital register

Question 1 of 30 attempted

Conclusion

A qubit is the smallest unit of data in quantum computing, similar to a bit in classical computing but much more powerful. Unlike bits, which can be 0 or 1, qubits can be in both states simultaneously due to superposition. This makes qubits very useful for complex calculations. They can be represented in different ways, such as using math notation, vectors, or visual models like the Bloch sphere. There are also different types of qubits, including spin qubits, trapped ions, photons, and superconducting circuits, each using unique physical properties to store and process information. Understanding qubits is key to unlocking the potential of quantum computing.

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved