3-Module - Quantum Computing-Dr. GHP
3-Module - Quantum Computing-Dr. GHP
Module-III
Quantum Computing
Syllabus: Principles of Quantum Information & Quantum Computing : Introduction to Quantum
Computing, Moore’s law & its end, Differences between Classical & Quantum computing. Concept of qubit and its
properties. Representation of qubit by Bloch sphere. Single and Two qubits. Extension to N qubits.
Dirac representation and matrix operations: Matrix representation of 0 and 1 States, Identity Operator I,
Applying I to|0 ⟩and |1 ⟩ states, Pauli Matrices and its operations on |0 ⟩and |1 ⟩states, Explanation of i) Conjugate of
a matrix and ii) Transpose of a matrix. Unitary matrix U, Examples: Row and Column Matrices and their multiplication
(Inner Product), Probability, and Quantum Superposition, normalization rule. Orthogonality, Orthonormality.
Quantum Gates: Single Qubit Gates: Quantum Not Gate, Pauli – X, Y &Z Gate, Hadamard Gate, Phase Gates- S & T
Multiple Qubit Gates: Controlled gate, CNOT Gate, (Discussion for 4 different input states). Representation of Swap
gate, Controlled -Z gate, Toffoli gate.
Numerical problems- Identity, Unitary, Inner Product, Orthogonality, Gates: X Gates, Hadamard Gate, CNOT
Gate, Relating T and S gates
It describes the empirical regularity that number of transistors on IC chips double approximately every two
years. This advancement is important for other aspects of technological progress in computing-like processing
speed.
However, reduction in the size of the transistors causes problems for current microelectronics, which
results in electron tunneling. The end of the usage of transistors in the quantum scale could be expected as the
dimension decreases further and quantum effect come into the picture. ∴ Quantum Computation is the option
for the further computational studies.
Def.- A bit (binary digit) is the smallest unit of data that a computer can process and store.
It is always in one of two physical states, similar to an on/off light switch. The state is represented by a
single binary value, usually a 0 or 1.
Qubit: The counter part of a classical bits in quantum computing is quantum bits, called as “qubits”.
Qubit Properties:
Superposition: a qubit is a superposition of both |0⟩ and |1⟩. i.e., |ᴪ⟩ = 𝛼|0⟩ + 𝛽|1⟩.
Entanglement and tunneling are the basic properties of qubits.
(Entanglement - It is the state where two qubits are so strongly correlated that gaining information about one qubit will give
immediate information about the other no matter how far apart these qubits are.)
(Tunneling - It a quantum mechanical process where qubit can penetrate through a potential barrier. The transmission through
the potential barrier can be finite and relies exponentially on the barrier width and barrier height).
Normalization rule: If measurements are carried out with a qubits in superposed state, then the result
will be probabilistic. The total probability must be 100%. i.e., |𝜶|𝟐 + |𝜷|𝟐 = 𝟏
No cloning principle: Due to quantum nature, the qubit changes its state during its measurements. This
means, one can’t copy information from qubits the way we do in present computers, as there will be no
similarity between the copy and original.
Where 0 ≤ 𝜃 ≤ 𝜋 and 0 ≤ 𝜑 ≤ 2𝜋
For φ = 0 and θ=0 Then, |ᴪ⟩ = |0⟩, which is along +z axis (i.e., North Pole)
φ = 0 and θ=𝜋 Then, |ᴪ⟩ = |1⟩, which is along -z axis (i.e., South Pole)
Dept. of Engg. Physics, GMIT, DVG 3
Module-III 2022 scheme Quantum Computing
Single qubit, Two qubits and extended up to N qubits:
Single Qubit: has two computational basis states |0⟩ and |1⟩. The pictorial representation of the single qubit
is as follows;
Let us examine a system of single qubit. Consider an electron in Hydrogen atom (H1), regarded as 1-state
quantum system: Since electron can be in either of the ground or excited state, classically the electron is in
one of two states either 0 or 1 and represent 1 bit of classical information. By superposition principle, the
quantum state of electron can be linear combination of these two states: |ᴪ⟩ = 𝛼|0⟩ + 𝛽|1⟩
Two Qubit: has four computational basis states |00⟩, |01⟩, |10⟩ and |11⟩. The pictorial representation of the
single qubit is as follows;
Let us examine Two qubits. Consider two electrons in Hydrogen atom (H2), each electron regarded as 2-
state quantum system: Since electron can be in either of the ground or excited state, classically the two
electrons are in one of four states; 00, 01, 10, or 11 and represent 2 bits of classical information. By
superposition principle, the quantum state of electron can be linear combination of these four states:
Multi-qubit system of N qubits: has 2N computational basis states. For example, a state with 3 qubits has 23
computational basis states. Thus, for N qubits the computational basis states are denoted as |00 · · · 00⟩, |00 ·
· · 01⟩, |00 · · · 10⟩, |00 · · · 11⟩ · · · |11 · · · 11⟩. The block diagram of representation of N qubits is as
follows;
Q: Explain the Matrix representation of 0 and 1 States and apply identity operator I to | 0⟩ and | 1⟩ states. (6M)
In matrix representation, a qubit (o or 1) is written as a two-dimensional vector, where the states are
the components of the vector. Hence, it is useful to use matrix algebra.
1 0
i.e., |𝟎⟩ = [ ] and |𝟏⟩ = [ ]
0 1
When writing one qubit in a superposition, |ᴪ⟩ = 𝛼|0⟩ + 𝛽|1⟩. It is useful to use matrix algebra. In
matrix representation, a qubit is written as a two-dimensional vector where the amplitudes are the
components of the vector.
𝛼
i.e., |ᴪ⟩ = [𝛽 ]
Q: State the Pauli matrices and apply Pauli matrices on the states | 0⟩ and | 1⟩ (8M)
Pauli matrices are 2 × 2 matrices, which are very much useful in the study of quantum computation and
quantum information. Usually indicated by the Greek letter sigma (σ), they used as spin operator.
Pauli matrices are given by,
1 0
𝝈𝟎 = 𝐼 = [ ]
0 1
0 1
𝝈𝒙 = 𝑋 = [ ]
1 0
0 −𝑖
𝝈𝒚 = 𝑌 = [ ]
𝑖 0
1 0
𝝈𝒛 = 𝑍 = [ ]
0 −1
𝝈𝒙 |0⟩ = [0 1 1 0
] [ ] = [ ] = |𝟏⟩ → Pauli matrix 𝝈𝒙 changes the |0⟩ state to |1⟩
1 0 0 1
𝝈𝒙 |1⟩ = [0 1 0 1
] [ ] = [ ] = |𝟎⟩ → Pauli matrix 𝝈𝒙 changes the |1⟩ state to |0⟩
1 0 1 0
𝝈𝒚 |1⟩ = [0 −𝑖] [0] = [−𝑖] = −𝑖|0⟩ → Pauli matrix 𝝈𝒚 changes |1⟩ state to -i times |0⟩
𝑖 0 1 0
1 0 1 1
𝝈𝒛 |0⟩ = [ ] [ ] = [ ] = |0⟩ → Pauli matrix 𝝈𝒛 unchanged the |0⟩
0 −1 0 0
1 0 0 0
𝝈𝒛 |1⟩ = [ ] [ ] = [ ] = −|1⟩→ Pauli matrix 𝝈𝒛 changes the |1⟩ state to -|1⟩
0 −1 1 −1
Dept. of Engg. Physics, GMIT, DVG 6
Module-III 2022 scheme Quantum Computing
Explanation of Conjugate of a matrix:
It is possible to find the conjugate for a given matrix by replacing each element of the matrix with its
complex conjugate. Mathematically, a conjugate matrix is a matrix, obtained by replacing the complex
conjugate of all the elements of the matrix.
The conjugate of a complex number is found by just switching the sign of the imaginary part (i.e.,
+i to −i and vice versa). The complex conjugate of any real number is just a real number itself.
0 3+𝑖 0 3−𝑖
i.e., 𝐴= [
−𝑖 1
] ↔ 𝑨∗ = [
𝑖 1
]
0 3+𝑖 0 −𝑖
𝐴= [
−𝑖 1
] ↔ 𝑨𝑻 = [
3+𝑖 1
]
0 3+𝑖 0 𝑖
𝑨= [
−𝑖 1
] ↔ 𝑨† = (𝐴∗)𝑇 = (𝐴𝑇 )∗ = [
3−𝑖 1
]
Unitary matrix:
The matrix U is said to be unitary if and only if, 𝑼𝑼† = 𝑼† 𝑼 = 𝑰
It is a square matrix of complex numbers. The product of the conjugate transpose of a unitary
matrix, with the unitary matrix, gives an identity matrix.
1 𝑖 1 𝑖
𝑈 † = (𝑈 ∗ )𝑇 = [√−𝑖 √2
2 √2 2
Ex: Let us consider a matrix; 𝑈 = [√−𝑖 −1
] then −1]
√2 √2 √2 √2
1 𝑖 1 𝑖 1 𝑖2 𝑖 𝑖 1 1
− − + 0 1 0
[√−𝑖 √2
[√−𝑖 √2
2 2
𝑈𝑈 † = −1] −1] = [2 2 2
𝑖2
2
] = [2 2
1 1] = [ ]=𝐼
−𝑖
+
𝑖
− +
1
0 + 0 1
√2 √2 √2 √2 2 2 2 2 2 2
∴ 𝑈𝑈 † = 𝐼
The given matrix U is unitary matrix.
Dept. of Engg. Physics, GMIT, DVG 7
Module-III 2022 scheme Quantum Computing
Row and Column Matrices:
Row matrix: Matrix having only one row and any number columns i.e., of order 1×n is called row matrix.
In quantum Physics, ‘bra’ vector is represented by the ‘row matrix’ and denoted by left half bracket ‘⟨ |’.
It is actually a complex conjugate of ‘ket’ vector.
∗ ∗ ∗ ∗ ]
i.e., ⟨𝛙| = [𝑎11 𝑎12 𝑎13 … … … 𝑎1𝑛 1×𝑛 is the example of ‘bra’ vector.
Column matrix: Matrix having only one column and any number of rows i.e., of order m×1 is called column
matrix. In quantum Physics, ‘ket’ vector is represented by ‘column matrix’ and denoted by right half bracket
‘| ⟩’.
𝑎11
𝑎21
𝑎31
i.e., |𝛙⟩ = . is the example of ‘ket’ vector.
.
[𝑎𝑛1 ]𝑛×1
The ‘bra’ is a conjugate transpose of ‘ket’ vector; {⟨ψ| = (|ψ⟩∗ )𝑇 } and vice-versa.
For every ‘ket’ vector, there is corresponding ‘bra’ vector and vice-versa.
1
Example; |ψ⟩ = [2 + 3𝑖 ] is ‘ket’ vector, then corresponding ‘bra’ is; ⟨ψ| = [1 2 − 3𝑖 5𝑖 ]1×3
−5𝑖 3×1
1 − 2𝑖
⟨B|A⟩ = [5 3 + 9𝑖 4𝑖 ] ∙ [ −3𝑖 ]
6
Note: Inner products of any two same vectors are complex conjugate: ⟨𝐀|𝐁⟩ = ⟨𝐁|𝐀⟩∗
Orthogonality: The two states |ψ⟩ and |φ⟩ are said to be orthogonal, if their inner product ⟨ψ|φ⟩ is zero.
⟨𝛙|𝛗⟩ = 𝟎
1 0
Ex: Consider |0⟩ and |1⟩ are the two states; |0⟩ = [ ] & |1⟩ = [ ]
0 1
0
Then their inner product is, ⟨𝟎|𝟏⟩ = [1 0] ∙ [ ] = (1 ∙ 0 + 0 ∙ 1) = 𝟎
1
Since, their inner product is 0, then two states |0⟩ and |1⟩ are said to orthogonal.
Orthonormality: The two states |ψ⟩ and |φ⟩ are said to be orthonormal, if and only if their inner product is;
1 𝑖𝑓 ψ = φ
⟨ψ|φ⟩ = 𝛿ψφ = {
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
1
Then their inner product is, ⟨𝟎|𝟎⟩ = [1 0] ∙ [ ] = (1 ∙ 1 + 0 ∙ 0) = 𝟏
0
⟨𝟏|𝟏⟩ = [0 1] ∙ [0] = (0 ∙ 0 + 1 ∙ 1) = 𝟏
1
⟨𝟎|𝟏⟩ = [1 0] ∙ [0] = (1 ∙ 0 + 0 ∙ 1) = 𝟎
1
⟨𝟏|𝟎⟩ = [0 1] ∙ [1] = (0 ∙ 1 + 1 ∙ 0) = 𝟎
0
Since, their inner product is 1 for ψ = φ , and 0 for ψ ≠ φ. Therefore two states |0⟩ and |1⟩ are said to be
orthonormal.
Quantum Gates
Introduction: The classical computers manipulate ‘bits’ using classical logic gates, such as; OR, AND,
NOT, NAND, NOR, etc. Similarly, quantum computers manipulate ‘qubits’ using quantum logic gates.
The quantum logic gates are the basic quantum circuits or mathematical entities, which are applied to
qubits, the qubits state will be changes depending on which gate is applied. A quantum algorithm has to
be implemented on a quantum computer using the quantum gates. After running a quantum algorithm
gates, the result is retrieved by measuring the qubits state.
Q: Explain Single qubit gate and multiple qubit gate with an example for each. (8M)
Based on number of input qubits, the quantum gates are classified as; single and multiple qubit gates.
In classical computer, NOT gate takes one input & reverse its present value. Ex: changes 0 to 1 & vice versa.
The Quantum NOT gate (X) is similar in that, if qubit in a state |0⟩, changes to |1⟩ and vice versa. When
the qubit is in a superposition, then the superposition also flips.
Matrix representation: The quantum NOT gate is mathematically represented by Pauli ‘X’ matrix;
0 1
i.e., 𝑋= [ ]
1 0
0 1 1 0
Let the Quantum NOT gate ‘X’ operates on |𝟎⟩ qubit state; X|𝟎⟩ = [ ] [ ] = [ ] = |𝟏⟩
1 0 0 1
0 1 0 1
Similarly, Quantum NOT gate operates on |𝟏⟩ qubit state. X|𝟏⟩ = [ ] [ ] = [ ] = |𝟎⟩
1 0 1 0
⸫The Quantum NOT gate (X) reverse the given input state of the system.
Pauli ‘Y’ Gate: is a single qubit gate which operates as per the Pauli ‘Y’ matrix. It rotates the given input
through π radians around the y-axis.
Matrix representation: The Pauli ‘Y’ gate is mathematically represented by Pauli ‘𝜎𝑦 ’ matrix or ‘Y’;
0 −𝑖
i.e., 𝑌= [ ]
𝑖 0
0 −𝑖 1 0
Let the Pauli Y gate operates on |𝟎⟩ state qubit; 𝒀|𝟎⟩ = [ ] [ ] = [ ] = 𝒊|𝟏⟩
𝑖 0 0 𝑖
Similarly, Pauli Y gate operates on |𝟏⟩ state; 𝒀|𝟏⟩ = [0 −𝑖 ] [0] = [−𝑖 ] = −𝒊|𝟎⟩
𝑖 0 1 0
⸫The Pauli ‘Y’ gate reverse the given input along with transformation /rotation of π radians.
Gate representation: Truth Table:
|0⟩ Y i|1⟩ Inputs Output
|0⟩ i|1⟩
Pauli Z gate: is a single qubit gate which operates as per the Pauli ‘Z’ matrix. Its operation takes along the
z-axis.
Matrix representation: The Pauli ‘Z’ gate is mathematically represented by Pauli ‘𝜎𝑧 ’ matrix or ‘Z’;
1 0
i.e., 𝑍= [ ]
0 −1
1 0 1 1
Let the Pauli ‘Z’ gate operates on |0⟩ state qubit; 𝒁|𝟎⟩ = [ ] [ ] = [ ] = |𝟎⟩
0 −1 0 0
1 0 0 0
Similarly, Pauli Z gate operates on |1⟩ state qubit; 𝒁|𝟏⟩ = [ ] [ ] = [ ] = −|𝟏⟩
0 −1 1 −1
⸫ When Pauli Z gate operates on |0⟩ state, which remains the same state, and operates on |1⟩ state,
reverse the direction of the system.
𝜶|𝟎⟩ + 𝜷|𝟏⟩ 𝜶 | 𝟎⟩ − 𝜷 | 𝟏⟩
𝜶|𝟎⟩ + 𝜷|𝟏⟩ Z 𝜶 | 𝟎⟩ − 𝜷 | 𝟏⟩
1 1 1
𝑯= [ ]
√2 1 −1
Let the Hadamard gate operates on |0⟩ state qubit;
1 1 1 1 1 1 1 1 0 𝟏
𝑯|𝟎⟩ = [ ][ ] = [ ]= ([ ] + [ ]) = (|𝟎⟩ + |𝟏⟩)
√2 1 −1 0 √2 1 √2 0 1 √𝟐
1 1 1 0 1 1 1 1 0 𝟏
𝑯|𝟏⟩ = [ ][ ] = [ ]= ([ ] − [ ]) = (|𝟎⟩ − |𝟏⟩)
√ 1
2 −1 1 √2 −1 √ 2 0 1 √𝟐
⸫The Hadamard gate operates on |0⟩ and |1⟩ states, which puts each into superposition state.
𝟏 𝟏
|1⟩ H (|𝟎⟩ − |𝟏⟩) |1⟩ (|𝟎⟩ − |𝟏⟩)
√𝟐
√𝟐
𝜶 𝜷
(|𝟎⟩ + |𝟏⟩) + (|𝟎⟩ − |𝟏⟩)
𝜶|𝟎⟩ + 𝜷|𝟏⟩ √𝟐 √𝟐
𝜶 𝜷
𝜶|𝟎⟩ + 𝜷|𝟏⟩ H (|𝟎⟩ + |𝟏⟩) + (|𝟎⟩ − |𝟏⟩)
√𝟐 √𝟐
S Gate:
Q: Discuss the working of Phase gate mentioning its matrix representation and truth-table. (6M - any one Gate)
Phase gate (S) actually map the qubit states |0⟩ → |0⟩ and |1⟩ → i|1⟩. The probability of measuring a |0⟩ or |1⟩
unchanged after applying this gate, however, it only modifies the phase of the qubit state.
Phase gate (S) satisfies the unitary condition; 𝑺𝑺† = 𝑺† 𝑺 = 𝑰
𝝅
T Gate or ( ) gate:
𝟖
𝟏+𝒊
Phase gate (T) actually map the qubit states |0⟩ → |0⟩ and |1⟩ → |1⟩.
𝟐
The probability of measuring a |0⟩ or |1⟩ unchanged after applying this gate, however, it only modifies the
phase of the qubit state.
⸫The T gate operates on |0⟩ and |1⟩ states, which remains the state and only changes their phase.
𝟏+𝒊 𝟏+𝒊
|1⟩ T |𝟏⟩ |1⟩ |𝟏⟩
√𝟐 √𝟐
𝟏+𝒊
𝜶|𝟎⟩ + 𝜷 |𝟏⟩
𝜶|𝟎⟩ + 𝜷|𝟏⟩ √𝟐
𝟏+𝒊
𝜶|𝟎⟩ + 𝜷|𝟏⟩ T 𝜶|𝟎⟩ + 𝜷 |1⟩
√𝟐
CNOT gate is a typical multi-qubit logic gate, it is similar to the conventional NOT gate, which reverse
the present state of the qubit.
In CNOT gate transformation of Target qubit will be controlled by Control qubit.
The target state will alter the state during transformation only when control state is |1⟩, otherwise unaltered.
Discussion of 4 different input states: Consider CNOT gate operating on 4 states; |00⟩, |01⟩, |10⟩, & |11⟩
1. Operation of CNOT gate on |𝟎𝟎⟩: Here, control qubit is |0⟩, hence, target qubit doesn’t alter.
i.e., |00⟩ → |00⟩
2. Operation of CNOT gate on |𝟎𝟏⟩: Here, control qubit is |0⟩, hence, target qubit doesn’t alter.
i.e., |01⟩ → |01⟩
3. Operation of CNOT gate on |𝟏𝟎⟩: Here, control qubit is |1⟩, ⸫ target qubit is altered from |0⟩ to |1⟩
i.e., |1𝟎⟩ → |1𝟏⟩
4. Operation of CNOT gate on |𝟏𝟏⟩: Here, control qubit |1⟩, ⸫ target qubit is altered from |1⟩ to |0⟩.
i.e., |1𝟏⟩ → |1𝟎⟩
1 0 0 0 |00⟩ |00⟩
= [0
1 0 0] |01⟩ |01⟩
𝑈𝐶𝑁
0 0 0 1
0 0 |10⟩ |11⟩
1 0
|11⟩ |10⟩
CZ gate is a typical multi-qubit logic gate, it is similar to the conventional Z gate, which transform the
Target qubit (i.e., |𝐵⟩) as per Pauli Z operation if control qubit is |1⟩, otherwise remains same.
In CZ gate transformation of Target qubit will be controlled by Control qubit.
Gate Representation:
Toffoli Gate:
• Toffoli gate, is also known as CCNOT gate (Controlled-Controlled-NOT).
• It has 3 inputs, out of which two are Control qubits and one is Target qubit.
• The Target qubit flips only when both control qubits are |1⟩. The two Control qubits are not altered
during the operation.
Gate representation:
1 0 0 0 0 0 0 0 |000⟩ |000⟩
0 1 0 0 0 0 0 0 |001⟩ |001⟩
0 0 1 0 0 0 0 0 |010⟩ |010⟩
𝑈𝑇 = 0
0 0 1 0 0 0 0 |011⟩ |011⟩
0 0 0 0 1 0 0 0 |100⟩ |100⟩
0 0 0 0 0 1 0 0 |101⟩ |101⟩
0 0 0 0 0 0 0 1 |110⟩ |111⟩
[0 0 0 0 0 0 1 0] |111⟩ |110⟩
Solved Examples
Example 1. A linear operator ‘𝑋’ operates on qubit states such that 𝑋|0⟩ = |1⟩ and 𝑋|1⟩ = |0⟩. Find
the matrix representation of ‘𝑋’. (MQP-I, VTU June 2023)
𝑥11 𝑥12
Consider X is 2×2 matrix; 𝑋 = [𝑥 𝑥22 ]
21
𝟎 𝟏
Then 𝑋 becomes; 𝑿=[ ]
𝟏 𝟎
𝟏 𝟏
𝑈 † = (𝑈 ∗ )𝑇 = [√1 √2
2 √2 2
𝑈 = [√𝑖 −𝑖 ] 𝑖 ]
√2 √2 √2 √2
1 1 1 −𝑖 1 1 −𝑖 𝑖 1 1
+ + + 0
2 2 2 2 1 0
𝑈𝑈 =† [√𝑖2 √2
−𝑖 ] [√12 √2
𝑖 ] = [𝑖 𝑖2 𝑖2
] = [ 2 2
1 1] = [ ]=𝐼
−
𝑖
− − 0 + 0 1
√2 √2 √2 √2 2 2 2 2 2 2
1 −𝑖 1 1 1 1 −𝑖 𝑖 1 1
+ + + 0
† √2 √2 √2 √2 2 2 2 2 2 2 1 0
𝑈 𝑈= 1 𝑖 𝑖 −𝑖
=[ 2 2] = [ 1 1
]= [ ]=𝐼
𝑖 𝑖 𝑖 𝑖 0 1
− − − 0 +
[√2 √2] [√2 √2 ] 2 2 2 2 2 2
∴ 𝑼𝑼† = 𝑼† 𝑼 = 𝑰
Hence, the given matrix is unitary matrix.
⸫ HH |0⟩ = |0⟩
Thus Hadamard gate operate twice on any state it gives same state.
1 1 1
Then 𝐻 † = (𝐻 ∗ )𝑇 = [ ]
√2 1 −1
1 1 1 1 1 1 1 1+1 1−1 1 2 0
𝐻𝐻 † = [ ]∙ [ ]= [ ]= [ ]=𝐼
√2 1 −1 √2 1 −1 2 1−1 1+1 2 0 2
1 1 1 1 1 1 1 1+1 1−1 1 2 0
and 𝐻† 𝐻 = [ ]∙ [ ]= [ ]= [ ]=𝐼
√2 1 −1 √2 1 −1 2 1−1 1+1 2 0 2
∴ 𝑯𝑯† = 𝑯† 𝑯 = 𝑰
Example 5. Show that S gate can be formed by connecting two T gates in series.
Soln: Show that T2 = S
1 0
If T gate is; 𝑇 = [0 1+𝑖]
√2
⸫ T2 = S
Example7. Find the inner product of states |𝟎⟩ and |𝟏⟩ and draw the conclusions on the results.
Solution:
|0 ⟩ = [ 1 ] & |1⟩ = [0]
0 1
⟨𝟎|𝟎⟩ = [1 0] ∙ [1] = (1 ∙ 1 + 0 ∙ 0) = 𝟏
0
⟨𝟏|𝟏⟩ = [0 1] ∙ [0] = (0 ∙ 0 + 1 ∙ 1) = 𝟏
1
Since, their inner product is 1, therefore two states |0⟩ and |1⟩ are said to be orthonormal.
α1 β
Example 8. Given |ᴪ⟩ = [α ] and |∅⟩ = [ 1 ] prove that ⟨ᴪ|∅⟩ = ⟨∅|ᴪ⟩∗ . (MQP-II, 2023)
2 β2
β
Solution: ⟨ᴪ|∅⟩ = [α1∗ α∗2 ] ∙ [ 1]
β2
= α1 β1∗ + α2 β∗2
∗
⟨∅|ᴪ⟩∗ = (α1 β1∗ + α2 β∗2)