OPhO 2022, Теория — Задача 5. Quantum Computing

2022 Online Physics Olympiad: Invitational Contest — Theoretical Examination · 26 т.

Sponsors

This competition could not be possible without the help of our sponsors, who are all doing great things in physics, math, and education.

The original sponsor marks link to Jane Street, Wolfram, AwesomeMath, Beyond the Big Bang, Physics Olympiad, and AoPS Art of Problem Solving.

Instructions for Theoretical Exam

The theoretical examination consists of 5 long answer questions and 110 points over 2 full days from July 30, 0:01 am GMT.

  • The team leader should submit their final solution document in this google form. We don’t anticipate a tie, but in the rare circumstance that there is one, the time you submit will be used to break it.
  • If you wish to request a clarification, please use this form. To see all clarifications, view this document.
  • Participants are given a google form where they are allowed to submit up-to 1 gigabyte of data for their solutions. It is recommended that participants write their solutions in LaTeX. However, handwritten solutions (or a combination of both) are accepted too. If participants have more than one photo of a handwritten solution (jpg, png, etc), it is required to organize them in the correct order in a pdf before submitting. If you wish a premade LaTeX template, we have made one for you here.
  • Since each question is a long answer response, participants will be judged on the quality of your work. To receive full points, participants need to show their work, including deriving equations. As a general rule of thumb, any common equations (such as the ones in the IPhO formula sheet) can be cited without proof.
  • Remember to state any approximations made and which system of equations were solved after every step. Explicitly showing every step of algebra is not necessary. Participants may leave all final answers in symbolic form (in terms of variables) unless otherwise specified. Be sure to state all assumptions.

Problems

  • T1: Maxwell’s Demon
  • T2: Euler’s Disk
  • T3: Rocket
  • T4: Magical Box
  • T5: Quantum Computing
List of Constants
  • Proton mass, mp=1.67⋅10−27 kgm_p=1.67\cdot10^{-27}\ \mathrm{kg}
  • Neutron mass, mn=1.67⋅10−27 kgm_n=1.67\cdot10^{-27}\ \mathrm{kg}
  • Electron mass, me=9.11⋅10−31 kgm_e=9.11\cdot10^{-31}\ \mathrm{kg}
  • Avogadro’s constant, N0=6.02⋅1023 mol−1N_0=6.02\cdot10^{23}\ \mathrm{mol^{-1}}
  • Universal gas constant, R=8.31 J/(mol⋅K)R=8.31\ \mathrm{J/(mol\cdot K)}
  • Boltzmann’s constant, kB=1.38⋅10−23 J/Kk_B=1.38\cdot10^{-23}\ \mathrm{J/K}
  • Electron charge magnitude, e=1.60⋅10−19e=1.60\cdot10^{-19}
  • 1 electron volt, 1 eV=1.60⋅10−19 J1\ \mathrm{eV}=1.60\cdot10^{-19}\ \mathrm J
  • Speed of light, c=3.00⋅108 m/sc=3.00\cdot10^8\ \mathrm{m/s}
  • Universal Gravitational constant, G=6.67⋅10−11 (N⋅m2)/kg2G=6.67\cdot10^{-11}\ \mathrm{(N\cdot m^2)/kg^2}
  • Acceleration due to gravity, g=9.81 m/s2g=9.81\ \mathrm{m/s^2}
  • 1 unified atomic mass unit, 1 u=1.66⋅10−27 kg=931 MeV/c21\ \mathrm u=1.66\cdot10^{-27}\ \mathrm{kg}=931\ \mathrm{MeV}/c^2
  • Planck’s constant, h=6.63⋅10−34 J⋅s=4.41⋅10−15 eV⋅sh=6.63\cdot10^{-34}\ \mathrm{J\cdot s}=4.41\cdot10^{-15}\ \mathrm{eV\cdot s}
  • Permittivity of free space, ϵ0=8.85⋅10−12 C2/(N⋅m2)\epsilon_0=8.85\cdot10^{-12}\ \mathrm{C^2/(N\cdot m^2)}
  • Coulomb’s law constant, k=14πϵ0=8.99⋅109 (N⋅m2)/C2k=\frac1{4\pi\epsilon_0}=8.99\cdot10^9\ \mathrm{(N\cdot m^2)/C^2}
  • Permeability of free space, μ0=4π⋅10−7 T⋅m/A\mu_0=4\pi\cdot10^{-7}\ \mathrm{T\cdot m/A}
  • Stefan-Boltzmann constant, σ=5.67⋅10−8 W/m2/K4\sigma=5.67\cdot10^{-8}\ \mathrm{W/m^2/K^4}
Problem writers

T1: Maxwell’s Demon — Zhening Li

T2: Euler’s Disk — Daniel Seungmin Lee

T3: Rocket — Adithya Balachandran

T4: Magical Box — Daniel Seungmin Lee

T5: Quantum Computing — QiLin Xue

Organizer clarification document — major notes

Separately quoted from the organizer clarification document, titled 2022 OPhO Invitational Theory Clarifications:

MAJOR NOTES

  • Last updated: July 30, 12:01 am UTC
  • We will only be adding clarifications that cannot already be found in the exam. If you are not seeing your clarification answered, try looking through the exam again to see if you did not miss anything.

The separate Experimental Notes link is retained in the original clarification PDF and concerns the distinct experimental paper.

Условие

In this problem, you will learn the fundamentals of quantum computers, as well as the physics on how they can be constructed! We have tried to provide as much background information as necessary, but if you believe some part is missing or unclear, please fill out the clarifications form.

Introduction

Physicists use braket notation to describe vectors in quantum systems. When using a vector v⃗\vec v to describe a quantum state, the ket, written as ∣v⟩|v\rangle can be used. Both notations below are equivalent:

v⃗=(v1v2)→∣v⟩=(v1v2)\vec v=\begin{pmatrix}v_1\\v_2\end{pmatrix}\to|v\rangle=\begin{pmatrix}v_1\\v_2\end{pmatrix}

The bra, on the other hand, is the conjugate transpose of the ket ⟨v∣=(∣v⟩)†\langle v|=(|v\rangle)^\dagger. Given two vectors ∣v⟩|v\rangle and ∣w⟩|w\rangle, the braket ⟨v∣w⟩=∣v⟩⋅∣w⟩\langle v|w\rangle=|v\rangle\cdot|w\rangle is the inner product of both vectors. This notation will be used throughout this problem.

In any digital device, information is communicated via 0s and 1s, or binary code. The simplest units of this information are called bits. Similar to a bit, the qubit can be represented as a linear combination of two orthogonal states: quantum-0 and quantum-1, which are typically ∣0⟩|0\rangle and ∣1⟩|1\rangle. Here,

∣0⟩=(10),and ∣1⟩=(01).|0\rangle=\begin{pmatrix}1\\0\end{pmatrix},\quad\text{and }|1\rangle=\begin{pmatrix}0\\1\end{pmatrix}.

Typically, we write a single qubit state as

∣Ψ⟩=a∣0⟩+b∣1⟩,|\Psi\rangle=a|0\rangle+b|1\rangle,

where a,b∈Ca,b\in\mathbb C, and ⟨Ψ⟩Ψ=1\langle\Psi\rangle\Psi=1.

a. (1 pt.) A qubit is prepared in the state a∣0⟩+b∣1⟩a|0\rangle+b|1\rangle.

(i) What is the probability of measuring the qubit in the state ∣0⟩|0\rangle?

(ii) What is the probability of measuring the qubit in the state ∣−⟩=∣0⟩−∣1⟩|-\rangle=|0\rangle-|1\rangle?

Hint: If you are still confused about measurement (it’s tricky!), check out this qiskit article. You can ignore all the parts with code, we’ll save those for the computer science students writing OCSO.

A quantum gate performs an unitary operator on a quantum state. Applying an operator (sometimes known as a gate) to a qubit state can be represented in the diagram below.

Native one-qubit unitary gate, input ket Psi, full wire, U-hat box and U-hat Psi output.

where U^\hat U is a local unitary since it only acts on a single qubit. There are five important gates:

I=(1001),X=(0110),Y=(0−ii0),Z=(100−1),H=(111−1)I=\begin{pmatrix}1&0\\0&1\end{pmatrix},\quad X=\begin{pmatrix}0&1\\1&0\end{pmatrix},\quad Y=\begin{pmatrix}0&-i\\i&0\end{pmatrix},\quad Z=\begin{pmatrix}1&0\\0&-1\end{pmatrix},\quad H=\begin{pmatrix}1&1\\1&-1\end{pmatrix}

Here, I,X,Y,ZI,X,Y,Z form the four Pauli matrices and HH is known as the Hadamard gate, which we will use later on when we talk about entanglement.

For example, if ∣Ψ⟩=0.6∣0⟩+0.8∣1⟩|\Psi\rangle=0.6|0\rangle+0.8|1\rangle and apply the gate X=(0110)X=\begin{pmatrix}0&1\\1&0\end{pmatrix}, we end up with

X∣Ψ⟩=(0110)(0.60.8)=(0.80.6)=0.8∣0⟩+0.6∣1⟩.X|\Psi\rangle=\begin{pmatrix}0&1\\1&0\end{pmatrix}\begin{pmatrix}0.6\\0.8\end{pmatrix}=\begin{pmatrix}0.8\\0.6\end{pmatrix}=0.8|0\rangle+0.6|1\rangle.

b. (1 pt.) A qubit is prepared in the state ∣Ψ⟩=a∣0⟩+b∣1⟩|\Psi\rangle=a|0\rangle+b|1\rangle. What is the probability of measuring the qubit U^∣Ψ⟩\hat U|\Psi\rangle in the state ∣0⟩|0\rangle? Express your answer in terms of a,ba,b, and properties of the unitary U^\hat U.

The heart of quantum information lies in what we can do with more than a single qubit. If one qubit has two dimensions (∣0⟩|0\rangle and ∣1⟩|1\rangle), then a two-qubit system can be represented in four dimensions. For a two qubit system, the state can be written as a0∣00⟩+a1∣01⟩+a2∣10⟩+a3∣11⟩a_0|00\rangle+a_1|01\rangle+a_2|10\rangle+a_3|11\rangle, where ∣00⟩,∣01⟩,∣10⟩,∣11⟩|00\rangle,|01\rangle,|10\rangle,|11\rangle can be seen as the “basis vectors.” If we have two independent qubits, i.e. ∣Ψ1⟩=a∣0⟩+b∣1⟩|\Psi_1\rangle=a|0\rangle+b|1\rangle and ∣Ψ2⟩=c∣0⟩+d∣1⟩|\Psi_2\rangle=c|0\rangle+d|1\rangle, we can represent their combined state using the tensor product, i.e.

∣Ψ⟩=∣Ψ1⟩⊗∣Ψ2⟩=(a∣0⟩+b∣1⟩)⊗(c∣0⟩+d∣1⟩)=ac∣00⟩+ad∣01⟩+bc∣10⟩+bd∣11⟩.\begin{aligned}|\Psi\rangle&=|\Psi_1\rangle\otimes|\Psi_2\rangle\\&=(a|0\rangle+b|1\rangle)\otimes(c|0\rangle+d|1\rangle)\\&=ac|00\rangle+ad|01\rangle+bc|10\rangle+bd|11\rangle.\end{aligned}

Here, we can see that

∣00⟩=∣0⟩⊗∣0⟩=(1000),∣01⟩=∣0⟩⊗∣1⟩=(0100),∣10⟩=∣1⟩⊗∣0⟩=(0010),∣11⟩=∣1⟩⊗∣1⟩=(0001)|00\rangle=|0\rangle\otimes|0\rangle=\begin{pmatrix}1\\0\\0\\0\end{pmatrix},\quad|01\rangle=|0\rangle\otimes|1\rangle=\begin{pmatrix}0\\1\\0\\0\end{pmatrix},\quad|10\rangle=|1\rangle\otimes|0\rangle=\begin{pmatrix}0\\0\\1\\0\end{pmatrix},\quad|11\rangle=|1\rangle\otimes|1\rangle=\begin{pmatrix}0\\0\\0\\1\end{pmatrix}

Note that not every two qubit state can be written as a tensor product. When this occurs, we say that they are entangled. We can immediately determine if a state is entangled by calculating its concurrence, defined by

C=2∣a0a3−a1a2∣.C=2|a_0a_3-a_1a_2|.

If C=0C=0, then the two qubits are separate and the system is separable. If C=1C=1, the system is maximally entangled, such as

12∣00⟩+12∣11⟩.\frac1{\sqrt2}|00\rangle+\frac1{\sqrt2}|11\rangle.

Physically, this means that a measurement of one qubit directly leads to a “collapse” of the other qubit (this is the classic example shown in popular science media). Note that 0≤C≤10\le C\le1.

We can change the concurrence using a control operation. For example,

Native CNOT with complete two wires, input kets a,b, top control dot and lower X gate.

performs the CNOT gate. The unitary XX is applied to ∣b⟩|b\rangle if ∣a⟩=1|a\rangle=1, otherwise nothing is done. That is, we have:

∣00⟩↦∣00⟩∣01⟩↦∣01⟩∣10⟩↦∣11⟩∣11⟩↦∣10⟩.\begin{aligned}|00\rangle&\mapsto|00\rangle\\|01\rangle&\mapsto|01\rangle\\|10\rangle&\mapsto|11\rangle\\|11\rangle&\mapsto|10\rangle.\end{aligned}

The CNOT gate is an example of a global unitary, since it acts on more than one qubit. Global unitaries for 2 qubit systems can be written as a 4×44\times4 matrix. For example, we can write

CNOT=(1000010000010010),CNOT=\begin{pmatrix}1&0&0&0\\0&1&0&0\\0&0&0&1\\0&0&1&0\end{pmatrix},

where ∣00⟩,…,∣11⟩|00\rangle,\ldots,|11\rangle form the 4 standard basis vectors. We can combine local and global unitaries to create entangled states. For example, consider the following circuit:

Native two-qubit entangling circuit: two input zero kets, upper H and control, lower X, full wires.

The initial state is ∣Ψin⟩=∣00⟩=(1000)|\Psi_{\mathrm{in}}\rangle=|00\rangle=\begin{pmatrix}1\\0\\0\\0\end{pmatrix}. After applying the Hadamard gate HH, the state becomes

∣Ψmiddle⟩=12(∣0⟩+∣1⟩)⊗∣0⟩=12∣00⟩+12∣10⟩=(120120).|\Psi_{\mathrm{middle}}\rangle=\frac1{\sqrt2}(|0\rangle+|1\rangle)\otimes|0\rangle=\frac1{\sqrt2}|00\rangle+\frac1{\sqrt2}|10\rangle=\begin{pmatrix}\frac1{\sqrt2}\\0\\\frac1{\sqrt2}\\0\end{pmatrix}.

After applying the CNOT gate, the state becomes:

∣Ψout⟩=(1000010000010010)(120120)=(120012)=12∣00⟩+12∣11⟩.|\Psi_{\mathrm{out}}\rangle=\begin{pmatrix}1&0&0&0\\0&1&0&0\\0&0&0&1\\0&0&1&0\end{pmatrix}\begin{pmatrix}\frac1{\sqrt2}\\0\\\frac1{\sqrt2}\\0\end{pmatrix}=\begin{pmatrix}\frac1{\sqrt2}\\0\\0\\\frac1{\sqrt2}\end{pmatrix}=\frac1{\sqrt2}|00\rangle+\frac1{\sqrt2}|11\rangle.

Note that we can avoid matrix multiplication in this last step by seeing what CNOT does on each term of ∣Ψmiddle⟩|\Psi_{\mathrm{middle}}\rangle. CNOT will not have an effect on 12∣00⟩\frac12|00\rangle since the first qubit is ∣0⟩|0\rangle. CNOT will have an effect on 12∣10⟩\frac12|10\rangle since the first qubit is a ∣1⟩|1\rangle, so it’ll flip the second qubit to a ∣1⟩|1\rangle, giving us the map 12∣10⟩↦12∣11⟩\frac12|10\rangle\mapsto\frac12|11\rangle.

c. (1 pt.) Construct a quantum circuit where the input state is ∣00⟩|00\rangle and the output state is i2(∣0⟩−∣1⟩)\frac i{\sqrt2}(|0\rangle-|1\rangle) using only X,Y,Z,H,CNOTX,Y,Z,H,CNOT gates.

Quantum Teleportation

Quantum teleportation is the transfer of the quantum state of one qubit to another (not the actual physical qubit) using a shared entangled resource and two classical bits of information. It is performed using the following circuit.

Complete original three-branch teleportation circuit with A alpha/beta input, B/C zero inputs, every H/X/Z gate/control, measurement icon and double classical wire, output Psi.

The gate measures the qubit (returns either a 0 or a 1) and the wider wire represents that information that flows through this wire is a classical bit.

Original measurement-gate icon: complete square, curved meter mark and diagonal arrow.

d. (1 pt.) Verify that the above circuit does teleport the qubit from the top branch to the bottom branch by looking at the specific case of α=β=12\alpha=\beta=\frac1{\sqrt2}

e. (3 pts.) After the first operation is performed on branch CC, the branch is brought a very far distance from the other two branches. By doing so, it appears we can create faster-than-light communication during the teleportation process, which is impossible! Explain why there is no contradiction. Justify rigorously.

We can analyze this by performing matrix multiplication, but using a circuit-based approach is much cleaner. To do so, we need to use the Griffiths-Niu Theorem.

f. (2 pts.) The following circuits, according to the Griffiths-Niu Theorem, are equivalent:

Complete original Griffiths-Niu circuit equivalence: measurement-before-classical-control U and quantum-control U before measurement, both wires and equals sign.

Prove the Griffiths-Niu Theorem.

Using this theorem, we can redraw our circuit as:

Complete original redrawn teleportation circuit with A/B/C input labels, all H/X/Z gates/control wires, A/B measurements and output classical a,b.

g. (1 pts.) For a control-Z gate, it doesn’t matter which branch is the control. In other words,

Both original equivalent controlled-Z diagrams, reversed control and Z positions, full wires and equals sign.

Prove this relationship.

Using the above problem, we can flip the control-Z gate. Then using the identity Z=HXHZ=HXH, we can reduce it further:

Complete three-wire teleportation with controlled Z expanded as HXH, input/output labels, all controls and measurement gates.

Since H2=IH^2=I, we can simplify the top part. Furthermore, we can introduce another CNOT between the first and the second branch.

Complete original teleportation after inserted CNOT, all input labels, H/X gates, control wires, measurement icons and a,b outputs.

We were allowed to introduce this CNOT gate since XH∣0⟩=H∣0⟩XH|0\rangle=H|0\rangle. This actually makes it easier using the following problem:

h. (2 pts.) Prove that the below two circuits are equivalent.

Original four CNOTs on three branches equal to a single first-to-third CNOT, complete controls/wires/X gates and equals sign.

Using this substitution, we end up with:

Complete original reduced teleportation circuit, A input, B/C zero, H/X gates, opposite-direction controls and both measurements.

We can now introduce another CNOT gate, which doesn’t do anything since CC will always be ∣0⟩|0\rangle.

Complete original final three-CNOT teleportation circuit before SWAP substitution, input labels, all gates/controls and measurements.

Three alternating CNOT gates is equivalent to the SWAP gate, so we can write:

Complete original three-branch SWAP circuit: A input, B/C zero, crossed A/C SWAP markers, H on A/B and measurement gates.

where we clearly see a swapping that occurs between the top and bottom branch!

Building Quantum Computers

According to theoretical physcist David P. Divencenzo, there are five necessary (but not necessarily sufficient) criteria to build a quantum computer:

  • A well-characterized qubit.
  • The ability to initialize qubits.
  • Long and relevant decoherence times.
  • A “universal set” of quantum gates.
  • The ability to measure qubits.

In this section, we will focus on how we can create qubits and how we can create a universal set of quantum gates. Consider two energy levels E1,E0E_1,E_0 as the qubit states ∣1⟩,∣0⟩|1\rangle,|0\rangle respectively. Assume that

E1=12ℏω,E0=−12ℏω.E_1=\frac12\hbar\omega,\quad E_0=-\frac12\hbar\omega.

Also assume that the qubit state is time varying, in the form of:

∣Ψ(t)⟩=A(t)∣0⟩+B(t)∣1⟩.|\Psi(t)\rangle=A(t)|0\rangle+B(t)|1\rangle.

i. (14 pts.) Using the above setup, show how we can implement the quantum gates X,Y,ZX,Y,Z. Hint: The Schrodinger Equation tells us

iℏ∂∂t∣Ψ(t)⟩=H^∣Ψ(t)⟩,i\hbar\frac\partial{\partial t}|\Psi(t)\rangle=\hat{\mathcal H}|\Psi(t)\rangle,

where H^=(E000E1)\hat{\mathcal H}=\begin{pmatrix}E_0&0\\0&E_1\end{pmatrix}.

Published organizer clarifications — separately quoted from the original clarification document, page 2:

  • There is a typo in 5c). The output state should be i2(∣00⟩−∣11⟩)\frac i{\sqrt2}(|00\rangle-|11\rangle) instead of i2(∣0⟩−∣1⟩)\frac i{\sqrt2}(|0\rangle-|1\rangle)
  • The written Hadamard gate should have a factor of 1/21/\sqrt2 in front of the matrix, in order to preserve magnitude.
  • 5i) By “implement,” please think about how you would create the gates (or create the same effects as the gates) as a physical system. It’s the real world you’re dealing with here, not just some math!
  • Overall Hint: Don’t overthink too much! All that is required for these questions is basic linear algebra (matrices and understanding of basis vectors) and calculus with ordinary differential equations.

Решение

Внимание: Непълно решение

The original key supplies a complete printed grading scheme, with labels (a)–(j) rather than the question’s (a)–(i), but no full proofs or physical implementations. Its grading labels and scores are retained literally.

Organizer clarification document — other notes

Separately quoted from the organizer clarification document:

Other Notes

  • You are allowed to refer to Wikipedia (but not any other sources). You should typically rederive proofs instead of citing them.
  • Uploading images: View this link to find how to upload images on overleaf.
  • You are allowed to mix LaTeX and handwritten PDFs for your answer sheet. Note that you need to write your solution to the problem alongside your final answers. If you desire a LaTeX template, we have made one for you here. Make a copy of the project to edit the document.
  • You can use basic formulae related to topics on the IPhO syllabus without derivation but all other formulae which go beyond that must be derived.
  • If you find that space is running out on your LaTeX file, try to use \newpage\verb|\newpage| and see if that fixes it.

Оригинал в Архива: theory.pdf · официални решения: theory_sol.pdf · допълнителни данни: Clarifications.pdf