Assignment 2
Assignment 2
1. Fidelity:
The fidelity between two quantum states ρ, σ is defined as
√ √
q
F (ρ, σ) = Tr ρσ ρ.
How well an error correcting code preserves quantum states can be esti-
mated by comparing the worst-case fidelities with and without error cor-
rection.
(i) Compute the worst-case fidelity for a single-qubit system under the
action of a phase flip channel, with noise parameter p. Show that
the worst-case fidelity improves if the single-qubit is encoded via the
3-qubit repetition code with logical states |0⟩L = | + ++⟩ and |1⟩L =
| − −−⟩, by estimating a lower bound on the worst-case fidelity, post
QEC.
(ii) Compute the worst-case fidelity for a single-qubit system under the
action of a symmetric depolarizing channel with noise parameter p.
Show that the worst-case fidelity improves if the single-qubit is en-
coded via the 9-qubit Shor code, by estimating a lower bound on the
worst-case fidelity, post QEC.
3. Dual-rail Code
Recall that the quantum amplitude-damping channel is defined by two
Kraus operators, given by,
√
1 √ 0 0 p
E0 = , E1 = .
0 1−p 0 0
Consider a two-qubit state of the form, |ψ⟩ = a|01⟩+b|10⟩, with |a|2 +|b|2 =
1. Show that the action of the two-qubit amplitude damping channel on
this state can be represented by two Kraus operators, of the form,
p √ √
Ẽ0 = 1 − γI; Ẽ1 = γ (|00⟩⟨01|) ; Ẽ2 = γ (|00⟩⟨10|) .
Hence argue that the span of {|01⟩, |10⟩} forms an error detection code for
amplitude-damping noise.
satisfies the quantum error correction conditions for the set of single-
qubit error operators {I, Xi , Yi , Zi }, with the index i = 1, 2, . . . , 5 la-
beling each of the seven encoding qubits.
(ii) Show that the [7, 1, 3] stabilizer code with generators
satisfies the quantum error correction conditions for the set of single-
qubit error operators {I, Xi , Yi , Zi }, with the index i = 1, 2, . . . , 7 la-
beling each of the seven encoding qubits.
6. Measuring a stabilizer
Prove that, for any Pauli operator G, the following quantum circuit imple-
ments a measurement of the operator G on the input state |ψ⟩. The meter
indicates a measurement in the standard ({|0⟩, |1⟩}) basis.
|0⟩ H • H
|ψ⟩ G