Assignment 4

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Introduction to Quantum Information and Quantum Computation

(CS312.9), Spring 2023, IIIT Hyderabad

Assignment
February 13, 2023

Total Points: 25 (+5 Bonus points) Due date: 23rd February, 2023 (Hard deadline)
General Instructions: Submit handwritten or typed PDFs.

1. [3 points] (a) Consider a trit with the initial probability distribution


 
1 2 3
P= , , .
6 6 6
What is the minimum heat cost, determined by the Clausius inequality, due to resetting this trit?

1
(b) Show that the quantum states (U ⊗ I) √ (|00⟩ + |11⟩) are mutually orthogonal. Here U = {I, σ̂x , σ̂y , σ̂z }.
2

2. [4 points] Pauli rotations

(a) Let A be matrix such that A2 = I and x be a real number. Prove that eiAx = cos(x)I + i sin(x)A.

(b) Use the result of (a) to prove that


exp(−iθσ̂x ) = cos(θ)I − i sin(θ)σ̂x
(c) Consider the three component spin vector ⃗σ = (σ̂x , σ̂y , σ̂z ). If n
b = (nx , ny , nz ) is a real unit vector in three
dimensions, then prove that
exp(−iθb n · ⃗σ ) = cos(θ)I − i sin(θ)b n · ⃗σ

3. [5 points] Evolution of a quantum state and Quantum Zeno effect

Suppose you are given the Hamiltonian Ĥ = ℏωσ̂x and that we are working in units where ℏω = 1. As-
sume that the quantum system is initialized in the state |ψ(0)⟩ = |0⟩.

(a) Find the state of the system after time t.

(b) After what time T is the system in the state |ψ(T )⟩ = |1⟩?

(c) Imagine that you make n projective measurements in the {|0⟩ , |1⟩} basis at time intervals δT = T /n.
What is the probability of obtaining |0⟩ in each of the n times when n = 5 and when n = ∞? Interpret the
results.

1
4. [5 points] Quantum Gates

(a) Show that

(b) Write the unitary corresponding to the controlled-Z quantum gate shown here.

(c) What would be the output state of the given quantum circuit if the input state is |+⟩ |0⟩?

(d) Construct a Controlled SWAP gate using only Toffoli gates.

5. [4 points] Swap test

Consider the quantum circuit shown here. The two-qubit gate is a controlled-SWAP gate.

(a) What is the output state?

(b) What is the probability that the first qubit is in the state |1⟩ after measurement?

6. [4 points] Randomized algorithm for the Deutsch-Jozsa problem

In class, we have seen the Deutsch-Jozsa problem. We restate it here for convenience. Suppose we are given a
black box for some Boolean function f : {0, 1}n 7→ {0, 1} with the promise that f is either constant or balanced.
In order to determine which is the case with certainty, we have seen that a classical algorithm requires 2n/2 + 1
queries to the black box in the worst case, while a quantum query needs only one query. Now we impose
some relaxation to the problem. Now, we want to determine whether f is constant or balanced with a success
probability of 1 − ε, where ε ∈ (0, 1/2). How many queries to the black box are needed by a classical algorithm
and the quantum algorithm, respectively?

7. [5 points] Bonus Question: How does your wavefunction evolve?

Page 2
The time-independent Schrödinger equation for a free particle is given by

∂ψ ℏ2 ∂ 2 ψ
iℏ =− .
∂t 2m ∂x2

(a) Verify that a typical solution to this equation is a wavefunction of the form ψ(x, t) = Aei(px−Et)/ℏ , where
E = E(p) = p2 /2m.

(b) Now, consider a free particle localized in space at t = 0. To be more precise, assume that the wavefunction
of the particle initially is a Gaussian wavepacket centered around the origin and is given by

ψ(x, 0) = A exp −x2 /2d2 ,


 

where d is the spread of the


 Gaussian wavepacket.
 Now, calculate how this wavepacket will evolve in time.
x2
Show that |ψ(x, t)|2 ∝ exp − 2 2 .
 
ℏ t
d2 (1 + 2 4 )
m d

(c) What happens to the wavepacket with time? Does the probability of observing the particle in space spreads
out or becomes more localized? How fast does it localize or delocalize?

(d) To the result obtained in (c), substitute (i) the mass of the particle by the mass of the electron (≈ 10−27 g),
the value of d for an electron is ≈ 10−8 cm. (ii) the mass of the particle by your own mass in grams and assume
d ≈ 1cm. For both cases, consider ℏ ≈ 10−27 g cm2 /s. How fast does the wavefunction of the electron localize
or delocalize? What happens to your wavefunction?

Page 3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy