This post introduces the fundamental concepts that differentiate quantum computing from classical computing, primarily focusing on the shift from classical bits to quantum bits (qubits) and the implications of this change, quantum circuits involving qubit & two-qubit gates, multipartite quantum states, Bell states, Teleportation, and Q-sphere.
Classical vs. Quantum Bits
- Classical computers operate using bits, which can exist in one of two distinct states: 0 or 1.
- These states can be visualized as a switch being either off or on.
- In contrast, quantum computers utilize qubits, which can exist in a superposition of both states simultaneously.
- This means a qubit can be both 0 and 1 at the same time, unlike a classical bit.
- This concept of superposition is crucial to the potential power of quantum computing.
Superposition and Measurement
- Superposition allows quantum computers to perform calculations on a vast number of states concurrently.
- Imagine a qubit as a sphere, where the north pole represents the state and the south pole represents .
- A qubit in superposition can be any point on the sphere’s surface, representing a combination of both and .
- This ability to explore multiple possibilities simultaneously is what potentially gives quantum computers an exponential speed-up over classical computers for certain types of problems.
However, there’s a catch: when you measure a qubit in superposition, it collapses into one of the two definite states, or . This collapse is probabilistic, meaning we can only predict the probability of obtaining a specific outcome. This inherent randomness introduces challenges in designing quantum algorithms.
Dirac Notation
To describe and manipulate quantum states mathematically, we use Dirac notation. This notation employs “bras” and “kets” to represent quantum states and their complex conjugates, respectively.
Ket: A ket, denoted as , represents a column vector: (where and are complex numbers)
Bra: A bra, denoted as , is the complex conjugate transpose of a ket: (where and are the complex conjugates of and )
Inner and Outer Products
Combining bras and kets allows us to perform operations on quantum states:
- Bra-ket (inner product): results in a complex number and represents the overlap between two states:
- Ket-bra (outer product): results in a matrix and represents a linear transformation:
Orthogonality and Normalization
Two states are orthogonal if their inner product is zero, signifying they have no overlap. For example, the basis states and are orthogonal:
A crucial requirement for any quantum state is normalization. This means the total probability of finding the qubit in any of its possible states must equal 1. Mathematically, this is expressed as:
Projective Measurement:
- To measure a quantum state, we choose a set of orthogonal basis states. The measurement process projects the state onto one of these basis states.
- The basis states are the eigenstates of the measurement operator. The most common measurement is the Z-measurement, which uses the computational basis states {, }.
- Other common bases include the X-basis ({, }) and the Y-basis ({, })
Born Rule
The Born rule provides a way to calculate the probability of a quantum state collapsing to a particular basis state during measurement. Specifically, the probability of the state collapsing onto the basis to the state is given by:
e.g. is measurement in the basis
Bloch Sphere
The Bloch sphere is a visual representation of a qubit’s state. Any normalized pure state can be represented as a point on the surface of a sphere with radius 1. A general state can be expressed in terms of two angles, θ and φ: