Module1- Quantum Mechanics & Quantum Computing
Module1- Quantum Mechanics & Quantum Computing
Quantum mechanics is a fundamental branch of physics, developed in the early 20th century to
address the limitations of classical mechanics and to provide a comprehensive framework for
understanding the behaviour of matter and energy at the atomic and subatomic scales. A cornerstone
of Quantum Mechanics is the Heisenberg Uncertainty Principle. This principle has profound
implications, highlighting the inherent probabilistic nature of quantum systems. Quantum
Mechanics has successfully explained a wide array of phenomena that classical mechanics could
not, ranging from the stability of atoms to the properties of semiconductors. It forms the foundation
for modern technologies like lasers and transistors and continues to drive advancements in fields
such as quantum computing.
Statement: “It is impossible to determine both position and momentum of the particle
simultaneously with complete accuracy and the product of uncertainties in the position and
ℎ
momentum is always greater than or equal to ”.
4𝜋
If x and p are the minimum uncertainties (errors) in the position and momentum of the particle,
h
then x .P
4
The uncertainty principle is also expressed in terms of energy and time. i.e, E .t h
4
Physical significance of Heisenberg’s uncertainty principle (HUP).
i) According to HUP, particle’s position and momentum or energy and time cannot be measured
accurately. This suggests that in the quantum world of particles, no measurement is accurate and
therefore one can go for the probability measurements.
ii) The estimation of probabilities is made by means of a mathematical function called ‘probability
density function’ in Quantum mechanics.
Application of Heisenberg’s uncertainty principle: - i.e., To prove the non–existence of
electron inside the nucleus:
-14
Ans: The diameter of the nucleus is of the order of 10 m. If the electron exists in the nucleus, it
can be anywhere within the diameter of the nucleus.
i.e, ∆x ≤10 -14 m
Then the minimum uncertainty in the momentum is determined using Heisenberg’s uncertainty
principle x Px h
4
h 6.63 10 34
i.e., ∆px ≥ =
4 x 4 10 14
6.63 10 20
∆px ≥ = 0.528 10 -20 kg m/s
4
Which is the uncertainty in the momentum of the electron. But since the momentum of the
electron must at least be equal to the uncertainty in the momentum, we can write
Wave Function:- Wave function (𝜓 (Psi)) is a variable quantity which mathematically describes the
wave characteristics of a particle in a matter wave, it is a measure of the probability of finding the
particle at a given position and time.
If = 0, it means the particle is not there at that instant.
If = 1, it means the particle is definitely there at that instant.
2
Properties of wave function:
1) The value of 𝜓 is related to the probability of finding a particle at a given space & at a given
time.
2) must be single valued and finite everywhere
The wave function describing the de Broglie wave, travelling in positive x-direction can be written
in complex notation as
3
Ψ =Aei(kx-ωt) ------------------(1)
=ik Aei(kx-ωt)
= ik ik Aei(kx-ωt)
d 2
2
i 2 k 2
dx
d 2
2
k 2
dx
d 2 4 2
We get 2
dx 2
Or = --------------(2)
The kinetic energy of a moving particle of mass m and velocity ‘v’ is given by 1 m 2 .
2
1 2 m2v 2 p 2 h2 1 h
mv 2. ( )
2 2m 2m 2 m p
K.E = =
8 2 m d 2
( E V )
h2 dx 2
d 2 8 2 m
2 ( E V ) 0
dx 2 h
This is the time-independent Schrödinger’s equation for a particle in one-dimension.
Eigen Function :- The wave function which possess the following properties is called the Eigen
function and the properties are:
1) must be single valued and finite everywhere
Eigen Values:- Once the Eigen function of a quantum system is known, quantum mechanical
operators could be used to evaluate the corresponding physical observables such as momentum
values, energy values etc. These values are called Eigen values.
5
Here the operator  operates on a function and this yields a constant ' ' times the function. Then
the function is called an Eigen function of the operator Â, and the corresponding value for is
called the Eigen value.
( Eg: = a. )
(Note: If an energy operator operates on ψ, then the Eigen values are called energy Eigen values. If
a momentum operator operates on ψ, then the Eigen values are called momentum Eigen values.)
To find the Eigenfunctions and Energy Eigenvalues for a particle confined in a one-
The particle moves along x – axis between x = 0 and x =a and the particle is a free particle i.e., not
subjected to any external force. Therefore, the potential energy, V = 0 inside the box. The potential
energy outside the box is infinite. The value of the wave function outside the box is zero, which
means that the particle cannot be found at all outside the box .
d2 8 2 m
2
+ E = 0 (Since V = 0) ---------- (1)
dx h2
x=0 x=a
8 2 mE
Let = K2 ---------------------- (2)
h2
d2
Equation (1) becomes, + K2 = 0 ------------- (3)
dx 2
6
Applying the boundary conditions
Hence equation (4) becomes 0 = C cos 0 + D sin 0 . but cos 0=1 and sin0=0
C = 0 ------------ (5)
2. At x = a, = 0
0 = D sinKa
Or, D sinKa = 0
We have
Sin 0 = 0
Sin = 0
Sin 2 = 0
Sin 3 = 0
Sin n = 0 ------------- (7)
n = 0, 1, 2, 3,……………….
n = Ka or K = n ----------- (8)
a
To evaluate D in equation (9) we have to perform the normalization of the wave function. Since
the particle is inside the box, the probability of finding the particle is 1. Hence
a
0
2
dx = 1
a
0
D2 sin2 n x dx = 1
a
But sin2 =
1
2
(1 – cos 2)
7
a 1 2 n
0
D2 1 cos
2
x
a
dx = 1
D2 a 2n
2 0
1 cos
a
x dx = 1
D2 a a 2n
2 0
dx 0
cos
a
xdx = 1
D2 a a 2n
a
sin n
x0 sin x = 1 Using cos n d =
2 2n a 0 n
D2
a 0 a sin 2na 0 = 1
2 2n a
D2 a
2 a 2n sin 2n = 1 (sin 2n = 0)
D2a 2
= 1 D2 = 2 or D= ----------- (10)
2 a a
Energy Eigenvalue:
8 2 mE n 2 2
=
h2 a2
n2h2
E=
8ma 2
n2h2
En = ---------------(12)
8ma 2
The particle has discrete energy levels (n). The energy eigenvalues and corresponding Eigen
functions at different energy levels can be given as
h2
sin x
2
For n = 1, E1 = and 1 = (ground state)
8ma 2 a a
8
4h 2
sin 2 x
2
For n = 2, E2 = and 2 = (First excited state)
8ma 2 a a
9h 2
sin 3 x
2
For n = 3, E3 = and 3 = (Second excited state)
8ma 2 a a
Note: The energy corresponding to n = 1 is called the ground state energy (or zero point energy)).
QUANTUM COMPUTING
Dirac Notation of wave function: In quantum mechanics, Dirac notation or (Bra-Ket notation)
is a standard notation used to represent the quantum state of a particle or qubit. The notation uses
angle brackets〈 〉and a vertical bar |. The symbol | ⟩ represents a Ket notation and ⟨ | represents
a Bra notation.
Consider a wave function ψ which describes the state of a particle.
Then its Bra notation is ⟨ψ| and Ket notation is |ψ ⟩, i.e Bra-Ket notation is ⟨ψ| ψ⟩.
9
𝑎1
𝑎2
|ψ ⟩ = [ ⋮ ] (has n number of elements, 1 column, n rows)
𝑎𝑛
And Bra vector is represented as row matrix with the complex conjugate of each element.
⟨ψ | = [𝒂∗𝟏 𝒂∗𝟐 … … 𝒂∗𝒏 ]
The Bra vector is the Hermitian conjugate of Ket vector.
Hermitian conjugate is denoted as 𝐻 † (H dagger) [† = ( *)T or (T)* ]
If we have a Ket vector, then its Bra vector is its Hermitian Conjugate.
If the Ket vector is |ψ ⟩, then its Bra vector is ⟨ψ | = (|ψ ⟩)∗ 𝑇
1) |ψ ⟩ = 2 + ib
Ans: Its Bra vector is ⟨ψ | = 2 − 𝑖𝑏
2)
Ans:
2−𝑖
𝟑) |ψ ⟩ = [ ]
3 + 2𝑖
2+𝑖
Ans: ⟨ψ | = [ ] ( Step 1: first take the conjugate)
3 − 2𝑖
Matrix representation of quantum states: Qubit has two quantum states, represented by Dirac
notation 𝑖. 𝑒. |0 ⟩ 𝑎𝑛𝑑 |1 ⟩.
Operator: An operator is a mathematical operation that transforms a given function into another
function.
𝑨̂ |a⟩ = |b ⟩ ( Where an operator A transforms the vector |a ⟩ to another vector |b ⟩ )
10
The Pauli Matrices:
The Pauli matrices are a set of three 2 × 2 complex matrices which are Hermitian, involutory (If
a matrix multiplied by itself returns the identity matrix, it is said to be an involutory
matrix) and unitary. Usually indicated by the Greek letter sigma (σ).
Quantum Bit or Qubit: Qubit is the fundamental unit of quantum information that represents
subatomic particles such as atoms, electrons, etc.
Properties of qubit:
Qubit has two quantum states, represented by Dirac notation 𝑖. 𝑒. |0 ⟩ 𝑎𝑛𝑑 |1 ⟩.
The qubit may exist simultaneously in any of the two states or in their superposed states.
11
Qubit obeys the laws of quantum mechanics.
Any single quantum bit wave function ψ can be expressed as
i.e. | ψ ⟩ = α |0⟩ + β |1⟩
The probability of the quantum state is directly proportional to the square of the magnitude
of its coefficient. |α|2 is the probability of identifying the qubit state |0⟩ and |β|2 is the
probability of identifying the qubit state |1⟩ . When these probabilities are added
mathematically, they must equal to 1 or 100% .i.e. |α|2 + |β|2 = 1.
In quantum computing, the Bloch sphere is the visual representation of all possible quantum
states, named after the physicist Felix Bloch.
The Bloch sphere is a two-dimensional surface of a three-dimensional sphere with antipodal
points (diametrically opposite) that correspond to a pair of mutually orthogonal state vectors.
The north and south poles of the Bloch sphere are typically chosen as the standard basis
vectors |0⟩ and |1⟩ as shown in the figure.
Each qubit is represented as a vector on Bloch’s sphere.
Each vector on the sphere can be measured using two angles: θ and ϕ.
θ is the angle between the vector and the z-axis and ϕ is the angle between the vector and the
positive x-axis measuring anti-clockwise. θ is between 0 and π and ϕ is between 0 and 2π .
Using these two angles all possible vectors can be shown in the Bloch sphere.
For Example:
If 𝜽 = 𝟎 and ɸ = 𝟎, the quantum state | ψ ⟩ corresponds to | 0 ⟩
and is along
+ Z-axis (north pole)
If 𝜽=𝝅 and ɸ = 𝟎, the quantum state | ψ ⟩
corresponds to | 1⟩ and is along - Z-axis (south pole)
Note: A single qubit state can be written as
12
| ψ ⟩ = α |0⟩ + β |1⟩
𝜽 𝜽
| ψ ⟩ = 𝒄𝒐𝒔 |0⟩ + 𝒆𝒊ɸ 𝒔𝒊𝒏 |1⟩
𝟐 𝟐
Superposition: In classical computing, a bit can have only two possible values: 0 or 1.
However, in quantum computing, a qubit (quantum bit) can exist in a superposition of both
|0⟩ and |1⟩ states simultaneously. This means that a qubit can represent multiple states at the
Quantum logic gates: In the quantum computing system, quantum calculations are achieved by
performing a series of fundamental operations, known as quantum logic gates and these quantum
logic gates are the building blocks of all quantum algorithms. There are many types of quantum
gates.
Single-qubit quantum gate: The single-qubit gate can flip a qubit from |0⟩ to |1⟩ and can
produce superposition states.
The quantum NOT gate: Quantum NOT gate turns the |0⟩ state into the |1⟩ state, and
the |1⟩ state into the |0⟩ state. This is why it's known as the NOT gate, also called as the bit-flip
gate.
14
Pauli X,Y,Z gates:
The Pauli gates (X,Y,Z) are the three Pauli matrices (𝜎𝑥 , 𝜎𝑦 , 𝜎𝑧 ) and act on a single qubit.
The Pauli-X gate is a single-qubit gate that performs rotation around the x-axis by π radians. The
Pauli-X gate is the quantum equivalent of the NOT gate.
The matrix for Pauli-X gate is given as
15
A phase change can be observed by applying Pauli Y gate.
The truth table for Pauli Y gate is,
Applying the Z gate to |0〉 has no effect and adds a negative sign in front of the |1〉 state
16
The Hadamard gate:
In quantum computing the Hadamard gate is extremely important as it is used to create states of
superposition.
|0⟩+|1⟩ |0⟩−|1⟩
( |+⟩ = √2
and |−⟩ = √2
)
Thus, applying the Hadamard operation on the |0〉 and |1〉 states results in the formation of a new
superposition basis: |+〉 and |-〉.
The truth table for H gate is
Input Output
|0⟩ |𝟎⟩+|𝟏⟩
= |+⟩
√𝟐
|1⟩ |𝟎⟩−|𝟏⟩
= |-⟩ Symbol and operation for Hadamard Gate is:
√𝟐
17
The S-gate: S-gate is a single-qubit operation defined by:
This is also a P-gate with ϕ= π/2. It does a quarter-turn around the Bloch sphere.
By applying S gate to |0⟩ and |1⟩ state, we get
Input Output
|0⟩ |0⟩
𝝅
|1⟩ 𝒊
𝒆 𝟐 |1⟩
18
The truth table for T gate is
Input Output
|0⟩ |0⟩
𝝅
|1⟩ 𝒊
𝒆 𝟒 |1⟩
************************
Questions:
1. Explain the Heisenberg uncertainty principle and give its physical significance,
2. Apply Heisenberg’s uncertainty principle to prove the non-existence of the electron inside the
nucleus.
3. Explain the wave function and give the properties of the wave function.
4. Discuss the physical significance of wave function.
5. Explain Max Born interpretation and Normalization of a wave function.
6. Set up Schrödinger time-independent wave equation for a particle moving in one dimension.
7. Explain the Eigenfunction and Eigenvalues.
8. Derive the expression for normalized Eigenfunction.
9. Apply the time-independent Schrödinger wave equation to find the eigenfunctions and energy
eigenvalues for a particle confined in one dimensional potential well of infinite height.
10. Explain Dirac notations and discuss how to represent the Ket vector and Bra vector in matrix form.
11. Explain Pauli matrices and show their operations on quantum states.
12. Explain Qubit and its properties. Represent qubits in Bloch sphere.
13. Explain the properties of quantum computing.
14. Distinguish between classical computers and quantum computers.
15. Show the operation of quantum NOT gate on qubits.
16. Apply Pauli-X, Y and Z gate on quantum states and write the truth table for each gate.
17. Use the matrix form of Hadamard gate to show its operation on qubits. Write the truth table for it.
18. Apply S gate on qubits and write the truth table for it.
19. Apply T gate on quantum states and write the truth table for it.
***************************
19
20