Faculty Name: Dr Ajay Kumar
Quantum Computing
Assignment 5
(Working with single qubit in Qiskit )
Instructions: The assignment is self-explanatory. Try yourself, as these concepts will be used for
later assignments.
√ For Section 1 to Section 6, repeat these questions for quantum state
|0⟩, |1⟩, 1/ 2(|0⟩ + |1⟩)
Section 1
X-Gate on Bloch Sphere and State Vector Create a quantum circuit with single qubit.
1. Apply X-Gate to the qubit.
2. Draw the Circuit.
3. Show the qubit on Bloch Sphere.
4. Display the state vector of the quantum state.
You can refer [Link] for details.
Section 2
Y-Gate on Bloch Sphere and State Vector Create a quantum circuit with single qubit.
1. Apply Y-Gate to the qubit.
2. Draw the Circuit.
3. Show the qubit on Bloch Sphere.
4. Display the state vector of the quantum state.
You can refer [Link] for details.
Section 3
Z-Gate on Bloch Sphere and State Vector Create a quantum circuit with single qubit.
1. Apply Z-Gate to the qubit.
2. Draw the Circuit.
3. Show the qubit on Bloch Sphere.
4. Display the state vector of the quantum state.
You can refer [Link] for details.
1
Section 4
Phase-Gate on Bloch Sphere and State Vector Create a quantum circuit with single qubit.
1. Apply S-Gate to the qubit.
2. Draw the Circuit.
3. Show the qubit on Bloch Sphere.
4. Display the state vector of the quantum state.
You can refer [Link] for details.
Section 5
T-Gate on Bloch Sphere and State Vector Create a quantum circuit with single qubit.
1. Apply T-Gate to the qubit.
2. Draw the Circuit.
3. Show the qubit on Bloch Sphere.
4. Display the state vector of the quantum state.
You can refer [Link] for details.
Section 6
S † -Gate on Bloch Sphere and State Vector Create a quantum circuit with single qubit.
1. Apply S † -Gate to the qubit.
2. Draw the Circuit.
3. Show the qubit on Bloch Sphere.
4. Display the state vector of the quantum state.
You can refer [Link] for details.
Section 6
T † -Gate on Bloch Sphere and State Vector Create a quantum circuit with single qubit.
1. Apply T † -Gate to the qubit.
2. Draw the Circuit.
3. Show the qubit on Bloch Sphere.
4. Display the state vector of the quantum state.
You can refer [Link] for details.
2
Section 7
U-Gate on Bloch Sphere and State Vector Universal single qubit gate is defined using U (θ, ϕ, λ) =
−eiλ sin(θ/2)
cos(θ/2)
Create a quantum circuit with a single qubit. Find the value of
eiϕ sin(θ/2) ei(λ+ϕ) cos(θ/2)
(θ, ϕ, λ) for X, Y, Z, H, S, T, S † , T † and verify it using state vector and Bloch sphere.
You can refer [Link] for details.