0% found this document useful (0 votes)
10 views1 page

Week 1,2 Assignment

Uploaded by

Shikhar Moondra
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)
10 views1 page

Week 1,2 Assignment

Uploaded by

Shikhar Moondra
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
You are on page 1/ 1

MnP Club

Assignment 1

CPP: Quantum Computing

December, 2024

Here is the assignment for the first week of the course ! For the theory questions , you can either
write them down, or LATEX them. For the coding questions, you can submit either a Python file or
a Jupyter Notebook (ipynb file)

The instructions to submit the assignment will be given shortly :)


1. We’re going to give you some matrices, and your job is to find their eigenvalues (no calculator
, and write down how you find them, because that is what we want to know)
     
0 5 0 4 0 0 5 4 25 20 20 16
5 0 4 0 0 0 3 2 15 10 12 8 
(a) 
0 3 0 2
 (b) 
5 4 0 0
 (c) 15 12 10 8 

3 0 2 0 3 2 0 0 9 6 6 4

2. Suppose that O is a (orthogonally) diagonalizable operator with eigenvalues ±1 Show that

I ±O
P±1 =
2
where Pλ is the projector on the eigenspace of O associated with eigenvalue λ. (Even though
this is an exercise in the reference, it’s pretty nice and relevant, so here you go)
3. Let V be a finite dimensional inner product space, and let A be an operator on V. The follow-
ing are equivalent:
Prove that an operator that is norm preserving (for every vector x ∈ V, | Ax | = | x | is equiva-
lent to a unitary operator.
Hint : Try using the fact that the below condition is also equivalent to the above two :

⟨ Ax | Ay⟩ = ⟨ x |y⟩

for all x, y ∈ V
4. Write code (using qiskit) to plot the following states on the Bloch Sphere

|0⟩ + |1⟩ |0⟩ − |1⟩


|0⟩ , |1⟩ , √ , √
2 2
Justify their directions, and do you notice some similarities among the first two and the last
two?
|000⟩+|
√ 111⟩
5. Make a Quantum Circuit (code it up in qiskit) that prepares the state from |000⟩
2
and only with basic gates such as H, X and CNOT gates.
|00⟩+|
√ 11⟩
Hint : First prepare the state and try to generalise it
2
|0...0⟩+|
√ 1...1⟩ ?
Can you generalise this further to prepare the state
2

You might also like