[go: up one dir, main page]

0% found this document useful (0 votes)
184 views3 pages

Single Qubit Gates in Qiskit

The document outlines an assignment for Dr. Ajay Kumar's Quantum Computing course, focusing on working with single qubits in Qiskit. It consists of multiple sections where students are required to create quantum circuits, apply various gates (X, Y, Z, S, T, S†, T†, U), and visualize the results on the Bloch Sphere while displaying the state vectors. Students are encouraged to refer to the Qiskit textbook for detailed guidance on single-qubit gates.

Uploaded by

mmanyabe22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
184 views3 pages

Single Qubit Gates in Qiskit

The document outlines an assignment for Dr. Ajay Kumar's Quantum Computing course, focusing on working with single qubits in Qiskit. It consists of multiple sections where students are required to create quantum circuits, apply various gates (X, Y, Z, S, T, S†, T†, U), and visualize the results on the Bloch Sphere while displaying the state vectors. Students are encouraged to refer to the Qiskit textbook for detailed guidance on single-qubit gates.

Uploaded by

mmanyabe22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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.

You might also like