Lean, informalized

Nielsen & Chuang · Chapter 7, Quantum computers: physical realization · p. 338

Exercise 7.48 - Pulses on two coupled spins carry |00⟩|00\rangle to |β10⟩|\beta_{10}\rangle up to a phase

A pulse sequence that prepares a Bell state.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The Exercise

Two coupled nuclear spins of one half serve as the qubits of a nuclear magnetic resonance (NMR) experiment. They start in |00⟩|00\rangle, both spins in |0⟩|0\rangle. A pulse rotates each spin by π/2\pi/2 about the xˆ\hat x axis. The pair then evolves for a time tt under the coupling JZ1Z2J Z_1 Z_2, where ZkZ_k is the Pauli ZZ of spin kk, JJ is the coupling constant and Jt=π/4Jt = \pi/4. A last pulse rotates the second spin by −π/2-\pi/2 about the yˆ\hat y axis. The exercise is to show that the pair is then in the Bell state (|00⟩−|11⟩)/2(|00\rangle - |11\rangle)/\sqrt 2.

Two Qubits

A quantum system SS is given by its state space, a finite dimensional complex Hilbert space.✦ Any such space can be taken as the state space of a system, and the qubit is the two level system whose state space is ℂ2\mathbb{C}^2. The composite system S⊗TS \otimes T of two systems SS and TT is the system whose state space is the tensor product of theirs; the two spins form the composite system of two qubits, with state space ℂ2⊗ℂ2\mathbb{C}^2 \otimes \mathbb{C}^2.✦

A pure state ψ\psi of SS is a unit vector |ψ⟩|\psi\rangle in the state space of SS.✦ The basis states |0⟩|0\rangle and |1⟩|1\rangle of the qubit are the standard basis vectors e0e_0 and e1e_1 of ℂ2\mathbb{C}^2.✦ The product ψ⊗φ\psi \otimes \varphi of pure states ψ\psi of SS and φ\varphi of TT is the pure state of S⊗TS \otimes T with vector |ψ⟩⊗|φ⟩|\psi\rangle \otimes |\varphi\rangle; the spins start in |00⟩=|0⟩⊗|0⟩|00\rangle = |0\rangle \otimes |0\rangle.✦

A state ρ\rho of SS is a positive operator of unit trace on the state space of SS.✦ A pure state ψ\psi of SS determines the state |ψ⟩⟨ψ||\psi\rangle\langle\psi| of SS, the projector onto its vector.✦

For bits xx and yy, the Bell vector of two qubits is |βxy⟩=12(|0⟩|y⟩+(−1)x|1⟩|y‾⟩),|\beta_{xy}\rangle = \frac{1}{\sqrt 2}\bigl(|0\rangle|y\rangle + (-1)^x |1\rangle|\bar y\rangle\bigr),(1) with y‾\bar y the flip of yy, and the Bell state |βxy⟩|\beta_{xy}\rangle is the pure state of two qubits with this vector. The target of the exercise is |β10⟩|\beta_{10}\rangle, the case x=1x = 1, y=0y = 0 of (1).

Observables and Rotations

An observable AA on SS is a self adjoint operator on the state space of SS, A†=AA^\dagger = A.✦ The tensor product A⊗BA \otimes B of observables AA of SS and BB of TT is the observable of S⊗TS \otimes T whose operator is the tensor product of their operators.✦

In the basis |0⟩,|1⟩|0\rangle, |1\rangle the Pauli matrices are X=(0110),Y=(0−ii0),Z=(100−1).X = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \qquad Y = \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}, \qquad Z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}.(2) For a real vector n→\vec n in three dimensions, the matrix n→⋅σ→\vec n \cdot \vec\sigma is nxX+nyY+nzZn_x X + n_y Y + n_z Z, and the Pauli observable n→⋅σ→\vec n \cdot \vec\sigma is the observable of the qubit whose operator has that matrix. The observable ZZ is the Pauli observable for the unit vector nˆ=(0,0,1)\hat n = (0, 0, 1).✦ The coupling Hamiltonian JZ1Z2J Z_1 Z_2 of the two spins, for a real coupling constant JJ, is the observable of two qubits H=JZ⊗Z.H = J\, Z \otimes Z.(3)✦

For a real vector n→\vec n and an angle θ\theta, the rotation Rn→(θ)R_{\vec n}(\theta) is the 2×22 \times 2 complex matrix Rn→(θ)=exp⁡(−iθ2n→⋅σ→),R_{\vec n}(\theta) = \exp\Bigl(-\frac{i\theta}{2}\, \vec n \cdot \vec\sigma\Bigr),(4)✦ written Rnˆ(θ)R_{\hat n}(\theta) when the axis is a unit vector nˆ\hat n. The rotations about the xˆ\hat x and yˆ\hat y axes are Rx(θ)=e−iθX/2R_x(\theta) = e^{-i\theta X/2}, with nˆ=(1,0,0)\hat n = (1, 0, 0), and Ry(θ)=e−iθY/2R_y(\theta) = e^{-i\theta Y/2}, with nˆ=(0,1,0)\hat n = (0, 1, 0).

Unitaries and the Circuit

A unitary UU of SS is an operator on the state space of SS with U†U=UU†=1U^\dagger U = U U^\dagger = 1.✦ It carries a pure state ψ\psi of SS to the pure state UψU\psi, with vector U|ψ⟩U|\psi\rangle.✦ For unitaries UU and VV of SS, UU after VV is the unitary UVUV, first VV and then UU; the identity evolution of SS is the unitary 11. The product unitary U⊗VU \otimes V of unitaries UU of SS and VV of TT is the unitary of S⊗TS \otimes T whose operator is the tensor product of their operators.✦ A gate UU on the first factor alone is U⊗1U \otimes 1, and a gate VV on the second alone is 1⊗V1 \otimes V.

The propagator of an observable HH of SS, with Planck’s constant ℏ\hbar, from time t1t_1 to time t2t_2 is the unitary U(t1,t2)=exp⁡[−iH(t2−t1)/ℏ],U(t_1, t_2) = \exp\bigl[-iH(t_2 - t_1)/\hbar\bigr],(5)✦ which carries the state of a system with Hamiltonian HH at time t1t_1 to its state at t2t_2, |ψ(t2)⟩=U(t1,t2)|ψ(t1)⟩|\psi(t_2)\rangle = U(t_1, t_2)|\psi(t_1)\rangle.

The pulse sequence of the exercise is the NMR Bell circuit, the unitary of two qubits UJ,t=(1⊗Ry(−π/2))U(0,t)(Rx(π/2)⊗1)(1⊗Rx(π/2)),U_{J,t} = \bigl(1 \otimes R_y(-\pi/2)\bigr)\, U(0, t)\, \bigl(R_x(\pi/2) \otimes 1\bigr)\bigl(1 \otimes R_x(\pi/2)\bigr),(6) where U(0,t)=e−iHtU(0, t) = e^{-iHt} is the propagator (5) of the coupling Hamiltonian (3) with ℏ=1\hbar = 1. The two π/2\pi/2 rotations about xˆ\hat x commute, and the second spin is turned first.

The Claim

Only the product JtJt enters the propagator, U(0,t)=e−iJtZ1Z2U(0, t) = e^{-iJt\, Z_1 Z_2}, which for Jt=π/4Jt = \pi/4 is e−iπZ1Z2/4e^{-i\pi Z_1 Z_2/4}.

Theorem 1. Let JJ and tt be real numbers with Jt=π/4Jt = \pi/4, and let UJ,tU_{J,t} be the circuit (6). Then the pure state UJ,t|00⟩U_{J,t}|00\rangle determines the same state as the Bell state |β10⟩|\beta_{10}\rangle: UJ,t|00⟩⟨00|UJ,t†=|β10⟩⟨β10|.U_{J,t}|00\rangle\langle 00|U_{J,t}^\dagger = |\beta_{10}\rangle\langle\beta_{10}|.(7)✦

What Is Checked

The claim is stated over the circuit (6), made of rotation gates on one qubit and the propagator of the coupling Hamiltonian, and over the input |00⟩|00\rangle and the Bell state |β10⟩|\beta_{10}\rangle, compared through the states they determine.

About these constructions the library proves that every Bell vector (1) is a unit vector, so that |βxy⟩|\beta_{xy}\rangle is a pure state.✦ Each rotation gate is unitary because its matrix is. The Pauli observables are self adjoint because the matrix n→⋅σ→\vec n \cdot \vec\sigma is Hermitian, and so is the coupling Hamiltonian, a real multiple of a tensor product of Hermitian operators.