$24
Problem 1 - The density matrix and the Werner states (15 pts / no collaboration)
Density matrices give a more general framework to describe quantum mechanics, especially in open systems, where quantum errors can occur, they provide an elegant way to describe qubit behavior. As a reminder, when a mixed quantum state is in the |ψi〉 state with probability pi, the density matrix of the system is
!
ρ = pi|ψi〉〈ψi|.
i
|˙〉 |〉
a) We know that pure states evolve according to the Schr¨odinger equation, ih¯ ψ = H ψ . Show that the time-evolution of the system described by the density matrix is
ih¯ρ˙ = [H, ρ] .
b) As an example, consider a free qubit described by the Hamiltonian H = −12 h¯ω0σz . At t = 0, we prepared the qubit in the pure |−〉 state. Express the time evolution of the density matrix, and calculate and plot the
expectation value of 〈σ 〉(t) = Tr (ρσ ).
c) Show that for a general state Tr (ρ) = 1, but Tr "ρ2# = 1 only for pure states, and Tr ρ2 < 1 for mixed states.
d) As a more advanced example, we consider the Werner states, which are a class of mixed states with a property that their amount of entanglement cannot be increased by any unitary transformation. The density
matrix of a two-qubit Werner state can be written asyy" #
ρW = p · |ψ−〉〈ψ−| + (1 − p)/4 · I ⊗ I,
√
where |ψ−〉 = (|01〉 − |10〉)/ 2 is the singlet Bell state, I is the identity operator for a single qubit and p ∈ [0, 1] is a parameter. Write down the the density matrix in matrix form.
e) Plot the purity (Trρ2W ) of the state as a function of p. What is the physical meaning of purity?
f) Plot the degree of entanglement as a function of p. (Using Qutip is a good idea here.)
Problem 2 - Longitudinal ZZ coupling between qubits (20 pts / collaboration is encouraged)
In class, we discussed that the dipole-dipole interaction between qubits can lead to an XX coupling term. In the rotating frame of the qubits, this coupling can generate an iSWAP gate if the interaction is turned on for the appropriate time. However, such dipole-dipole coupling is not the only interaction scheme that exists between qubits. Another coupling that arises frequently in experimental architectures is the ZZ interaction. This interaction many times considered as residual, unwanted coupling and currently significant research effort is invested in reducing its effect.
a) When two qubits are coupled longitudinally, the full system Hamiltonian takes the following form in the lab frame
HLAB = −
1
1
2 ¯hωAσz,A −
2 ¯hωB σz,B + ¯hgσz,Aσz,B ,
(1)
where ωA and ωB are the qubit energies, g is the coupling strength, and σi,A and σi,B are the Pauli matrices acting on the two qubits. Use the usual unitary transformation U = exp [−i (ωAσz,A + ωB σz,B ) t/2] to transfer the Hamiltonian to the rotating frame of the two qubits and show that the Hamiltonian in the rotating frame takes the following form
HROT = UHLABU † + ih¯UU˙ † = hg¯σz,Aσz,B .
(2)
1
b) Express the unitary evolution of the system: UZZ = exp [−iHROTt/h¯]. Give the answer in a 4x4 matrix form in the qubit basis states.
c) When the interaction gate is turned on for the appropriate time tgate, the unitary evolution can give rise to a perfect entangler controlled-phase (CZ) gate for ZZ coupling (in contrast to the iSWAP gate for XX coupling). The CZ gate corresponds to a phase shift of π on qubit B, when qubit A is excited, and has the
following form
%
1
0
0
0
(
CZ =
0
0
0
1
.
$
0
1
0
0
'
%
−
(
&
0
0
1
)
0
It is important to note that the unitary operation UZZ(tgate) needs to be combined with single-qubit Z rotations (and a global phase factor) to generate the CZ gate:
CZ = exp[−iπ/4] [RAz(−π/2) ⊗ RBz (−π/2)] UZZ(tgate).
(3)
Find tgate so that the ZZ interaction and the combination of these single-qubit gates (and the global phase factor) gives the CZ gate.
d) As mentioned above, the ZZ coupling many times arises in quantum systems as a spurious interaction: even when we want to isolate two qubits from each other, the ZZ interaction still remains in the system and unwantedly entangles the two qubits. In this section, we will estimate the effect of this ZZ interaction on the qubit coherence.
First, consider the density matrix of two qubits A and B, which can be expressed in the basis of {|00〉, |01〉, |10〉, |11〉} such as ρAB = ρ11|00〉〈00| + ρ12|00〉〈01| + . . . :
• '
ρ11 ρ12 ρ13 ρ14
%ρρρρ(
21 22 23 24 %(
ρ41 ρ42 ρ43 ρ44
Show that the partial trace over qubit B takes the following form
• +
TrB ρAB =
ρ11 + ρ22
ρ13
+ ρ24
.
ρ31
+ ρ42
ρ33 + ρ44
.
e) Show that if the two qubits are in the unentangled state ρAB = ρA ⊗ ρB , the reduced density matrix is equal to ρA, i.e., TrB√ρAB = ρA. On the other hand, if the states are the maximally entangled Bell states |ψBell〉 = (|00〉 + |11〉)/ 2), TrB ρAB describes a classical mixed state, i.e., TrB ρAB = I/2. Thus, from a single qubit perspective–roughly speaking–full entanglement means a fully mixed state and the loss of coherence.
f) Now focusing on two qubits coupled through ZZ interaction, we will show that this interaction reduces the purity of the qubit states. As a reminder, the ZZ coupling can be described by the following Hamiltonian in the rotating frame of the two qubits
HROT = ¯hgσz,Aσz,B ,
(4)
Calculate the evolution of the density matrices ρAB and TrB ρAB if we initially prepared qubit A in state |+〉 and qubit B in state |−〉. Plot the concurrence and the purity of qubit A as a function of time on the same plot. What relationship do you see between these two quantities?
g) The coherence time of a qubit T2 describes the decay of the off-diagonal term (ρ01) in the density matrix. This can be an exponential or Gaussian decay depending on the noise, and for this problem we assume the latter one: ρ01 ∝ e−(t/T2)2 . Find out the T2 decoherence time of the qubit due to the ZZ interaction at short times (t ≪ T2, gt ≪ 1).
Problem 3 - Simulating entangled state creation (15 pts / collaboration is encouraged)
In this problem, we will numerically simulate the iSWAP gate to create entangled states, and compare it with the theoretical expectations. Although this problem can be solved analytically in the absence of decoherence, the numerical approach will be useful for future systems with dephasing. Feel free to use and modify the shared QuTip codes or create your own.
a) First, we simulate the single-qubit gate. In the rotating frame and when the drive is on-resonant with the qubit frequency, the Rabi Hamiltonian takes the form of (¯h = 1 from now)
1 1
HRabi = 2 ΩI σx + 2 ΩQσy ,
2
where ΩI and ΩQ are the Rabi amplitudes. In this problem, we can consider a case when ΩI = 0, so that the rotation happens around the y axis. Assume that the Rabi frequency is ΩQ = 1. Simulate numerically the time evolution of the qubit after it is initialized in the |0〉 state, and find the gate time needed to create the |+〉 and |−〉 state based on the simulation. Extract the numerically obtained states for the two gate times, and compare it with the theoretically expected values. What is the fidelity of these states?
b) Using the gates calibrated above, assume that we initialized qubit A in the |+〉 and qubit B in the |−〉 state, and that both qubits have the same frequency. Now we can turn on the XX interaction between them, which, in the rotating frame, leads to the following Hamiltonian
1
Hint = g [σx,Aσx,B + σy,Aσy,B ] .
2
This interaction generates the iSWAP gate as we simulated in examples in class (see notebook online). Again find numerically the gate time for doing the iSWAP gate and extract the states numerically (here, assume that the coupling rate is g = 3). What is the fidelity and concurrence of the states?
3