The Wayback Machine - https://web.archive.org/web/20240718133319/https://www.geeksforgeeks.org/qubit-representation/
Open In App

Qubit Representation

Last Updated : 23 Nov, 2020
Improve
Suggest changes
Post a comment
Like Article
Like
Save
Share
Report
Similar to a bit in classical computing, a qubit is a basic building block of Quantum Computers. It represents the superposition of states 0 and 1. What we mean by superposition is that the given state is in a linear combination of state 0 and state 1.

It is a common misconception that qubit is in one state 0 or 1, we just don’t know until we measure it. However, qubit always exists in a state between 0 and 1 (inclusive), the act of measuring brings it to either of the states.

Matrix Representation : A qubit is represented as a complex vector of size 2. Generally represented as :

\begin{bmatrix}\alpha\\\beta\end{bmatrix}

where

\alpha, \beta

are amplitudes of states 0 and 1 respectively or we can say the probability to be in state 0 and 1 respectively. This vector is normalized i.e. 

| \alpha | ^2 +| \beta |^2 = 1

State 0 is represented as :

 \begin{bmatrix}1\\0\end{bmatrix}

State 1 is represented as:

 \begin{bmatrix}0\\1\end{bmatrix}

Quantum states |0> and |1> form orthogonal basis also called computational basis or canonical basis.

Dirac’s Notation : It is a shorthand notation for a qubit. A vector is represented using a ket.

|0\rangle\ \ =\begin{bmatrix}   1 \\ 0 \end{bmatrix} and \ \ |1\rangle\ \ =\begin{bmatrix}   0 \\ 1 \end{bmatrix}

It also has a dual form written as:

\langle0|\ \ =\begin{bmatrix}   1 \ 0 \end{bmatrix} and \ \ \langle1|\ \ =\begin{bmatrix}   0 \ 1 \end{bmatrix}

Hence, any arbitrary state can be represented as: 

|\Psi\rangle\ \ =\begin{bmatrix}   \alpha \\ \beta \end{bmatrix} or \ |\Psi\rangle\ \ =\alpha |0\rangle + \beta |1\rangle

Some other symbols used are:

|+\rangle\ \ = \frac{1}{\sqrt2}(|0\rangle+|1\rangle) \ \ and \ \ |-\rangle\ \ = \frac{1}{\sqrt2}(|0\rangle-|1\rangle)

|+> and |-> are called Hadamard’s basis. These are also orthogonal to each other.

|i\rangle\ \ = \frac{1}{\sqrt2}(|0\rangle+i|1\rangle) \ \ and \ \ |-i\rangle\ \ = \frac{1}{\sqrt2}(|0\rangle-i|1\rangle)             Bloch’s Representation : Bloch’s sphere is a geometric representation of quantum states where different points in the surface of the unit radius sphere represent various quantum states. A qubit can be represented in a 3D space as a vector of unit length connecting points in the surface of the Bloch’s sphere and it’s center.

Bloch’s Qubit Representation



Similar Reads

What is Multi Qubit Systems?
Prerequisite: Qubit Representation A multi-qubit system is a collection of multiple qubits, treated as a single system. In classical computing, a system of N bits can be in 2N states. For example, for a 2-bit system, there are 4 possible states 00, 01, 10, and 11. In a Quantum system of N qubits, there are 2N basis states and a qubit can be in any
3 min read
Difference between 1's Complement representation and 2's Complement representation Technique
Prerequisite - Representation of Negative Binary Numbers 1's complement of a binary number is another binary number obtained by toggling all bits in it, i.e., transforming the 0 bit to 1 and the 1 bit to 0. Examples: Let numbers be stored using 4 bits 1's complement of 7 (0111) is 8 (1000) 1's complement of 12 (1100) is 3 (0011) 2's complement of a
3 min read
Multiplication Algorithm in Signed Magnitude Representation
Multiplication of two fixed point binary number in signed magnitude representation is done with process of successive shift and add operation. In the multiplication process we are considering successive bits of the multiplier, least significant bit first. If the multiplier bit is 1, the multiplicand is copied down else 0's are copied down. The numb
3 min read
MATLAB | RGB image representation
RGB image can be viewed as three different images(a red scale image, a green scale image and a blue scale image) stacked on top of each other, and when fed into the red, green and blue inputs of a color monitor, it produces a color image on the screen. RGB color model is the model in which Red, Blue, and Green colors are blended together to form an
4 min read
Division Algorithm in Signed Magnitude Representation
The Division of two fixed-point binary numbers in the signed-magnitude representation is done by the cycle of successive compare, shift, and subtract operations. The binary division is easier than the decimal division because the quotient digit is either 0 or 1. Also, there is no need to estimate how many times the dividend or partial remainders ad
3 min read
Introduction to Intermediate Representation(IR)
Intermediate Representation(IR), as the name suggests, is any representation of a program between the source and target languages. The intermediate form of the program that is being compiled is the central data structure in a compiler. A compiler may have a single IR or a series of IRs. The decisions that are made during the design of IR affect the
3 min read
Fixed Point Representation
Real numbers have a fractional component. This article explains the real number representation method using fixed points. In digital signal processing (DSP) and gaming applications, where performance is usually more important than precision, fixed point data encoding is extensively used. The Binary Point: Fractional values such as 26.5 are represen
6 min read
three90RightbarBannerImg