Quantum Error Correction Jian-Wei Pan Lecture Note 9.

Slides:



Advertisements
Similar presentations
Department of Computer Science & Engineering University of Washington
Advertisements

Computing with adversarial noise Aram Harrow (UW -> MIT) Matt Hastings (Duke/MSR) Anup Rao (UW)
University of Queensland
Error Control Code.
Bounds on Code Length Theorem: Let l ∗ 1, l ∗ 2,..., l ∗ m be optimal codeword lengths for a source distribution p and a D-ary alphabet, and let L ∗ be.
F AULT T OLERANT Q UANTUM C OMPUTATION December 21 st, 2009 Mirmojtaba Gharibi.
Quantum Packet Switching A. Yavuz Oruç Department of Electrical and Computer Engineering University of Maryland, College Park.
Overview Part 2 – Combinational Logic
Quantum Error Correction Joshua Kretchmer Gautam Wilkins Eric Zhou.
Quantum Error Correction SOURCES: Michele Mosca Daniel Gottesman Richard Spillman Andrew Landahl.
Chien Hsing James Wu David Gottesman Andrew Landahl.
Quantum Error Correction Daniel Gottesman Perimeter Institute.
Department of Computer Science & Engineering University of Washington
Quantum Error Correction Michele Mosca. Quantum Error Correction: Bit Flip Errors l Suppose the environment will effect error (i.e. operation ) on our.
Grover. Part 2. Components of Grover Loop The Oracle -- O The Hadamard Transforms -- H The Zero State Phase Shift -- Z O is an Oracle H is Hadamards H.
Quantum Computation and Error Correction Ali Soleimani.
5 Qubits Error Correcting Shor’s code uses 9 qubits to encode 1 qubit, but more efficient codes exist. Given our error model where errors can be any of.
1 Digital Logic
University of Queensland
Review from last lecture: A Simple Quantum (3,1) Repetition Code
Engineering Models and Design Methods for Quantum State Machines.
Quantum Computing Lecture 22 Michele Mosca. Correcting Phase Errors l Suppose the environment effects error on our quantum computer, where This is a description.
Quantum Computing Joseph Stelmach.
Anuj Dawar.
1 Recap (I) n -qubit quantum state: 2 n -dimensional unit vector Unitary op: 2 n  2 n linear operation U such that U † U = I (where U † denotes the conjugate.
Copyright © Cengage Learning. All rights reserved.
Quantum Computation and Quantum Information – Lecture 2 Part 1 of CS406 – Research Directions in Computing Dr. Rajagopal Nagarajan Assistant: Nick Papanikolaou.
ROM-based computations: quantum versus classical B.C. Travaglione, M.A.Nielsen, H.M. Wiseman, and A. Ambainis.
Data link layer: services
Alice and Bob’s Excellent Adventure
Matt Reed Yale University Boston, MA - February 28, 2012
Quantum Error Correction Daniel Gottesman Perimeter Institute.
1 Channel Coding (II) Cyclic Codes and Convolutional Codes.
Application of Finite Geometry LDPC code on the Internet Data Transport Wu Yuchun Oct 2006 Huawei Hisi Company Ltd.
Quantum Information Jan Guzowski. Universal Quantum Computers are Only Years Away From David’s Deutsch weblog: „For a long time my standard answer to.
Information Coding in noisy channel error protection:-- improve tolerance of errors error detection: --- indicate occurrence of errors. Source.
October 1 & 3, Introduction to Quantum Computing Lecture 1 of 2 Introduction to Quantum Computing Lecture 1 of 2
Short course on quantum computing Andris Ambainis University of Latvia.
1 SNS COLLEGE OF ENGINEERING Department of Electronics and Communication Engineering Subject: Digital communication Sem: V Cyclic Codes.
1 hardware of quantum computer 1. quantum registers 2. quantum gates.
Unit 5 Lecture 2 Error Control Error Detection & Error Correction.
Basic Characteristics of Block Codes
Error Control Code. Widely used in many areas, like communications, DVD, data storage… In communications, because of noise, you can never be sure that.
DIGITAL COMMUNICATIONS Linear Block Codes
1 Introduction to Quantum Information Processing CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lecture 20 (2009)
Chapter 31 INTRODUCTION TO ALGEBRAIC CODING THEORY.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 8 Arithmetic.
Quantum Computing Reversibility & Quantum Computing.
The parity bits of linear block codes are linear combination of the message. Therefore, we can represent the encoder by a linear system described by matrices.
Error Detection and Correction – Hamming Code
Quantum Computing Michael Larson. The Quantum Computer Quantum computers, like all computers, are machines that perform calculations upon data. Quantum.
Data Communications and Networking
Welcome This is a template to create an Instructional Design Document of the concept you have selected for creating animation. This will take you through.
IPQI-2010-Anu Venugopalan 1 qubits, quantum registers and gates Anu Venugopalan Guru Gobind Singh Indraprastha Univeristy Delhi _______________________________________________.
ECE DIGITAL LOGIC LECTURE 15: COMBINATIONAL CIRCUITS Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2015, 10/20/2015.
Richard Cleve DC 2117 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Lecture (2011)
Lampel ZIV (LZ) code The Lempel-Ziv algorithm is a variable-to-fixed length code Basically, there are two versions of the algorithm LZ77 and LZ78 are the.
COMBINATIONAL AND SEQUENTIAL CIRCUITS Guided By: Prof. P. B. Swadas Prepared By: BIRLA VISHVAKARMA MAHAVDYALAYA.
Reliability of Disk Systems. Reliability So far, we looked at ways to improve the performance of disk systems. Next, we will look at ways to improve the.
Clocks A clock is a free-running signal with a cycle time.
Introduction to Quantum Computing Lecture 1 of 2
Correlative level coding
Quantum Computing Dorca Lee.
Using surface code experimental output correctly and effectively
Finish Ch 2 and Review Dr. Clincy Professor of CS Exam 1 – Sept 13th
Chap 4 Quantum Circuits: p
RAID Redundant Array of Inexpensive (Independent) Disks
Improving Quantum Circuit Dependability
EGR 2131 Unit 12 Synchronous Sequential Circuits
Quantum Computing Joseph Stelmach.
Presentation transcript:

Quantum Error Correction Jian-Wei Pan Lecture Note 9

Errors Correction PROBLEMPROBLEM: When computing with a quantum computer, you can’t look at what the computer is doing  You are only allowed to look at the end RESULTRESULT: What happens if an error is introduced during calculation? SOLUTIONSOLUTION: We need some sort of quantum error detection/correction procedure

Classical Errors Goal: store an unknown single bit for a time t. Errors: in a time interval τ one error occurs with the probability P τ.  The probability that the bit flips:

Classical Error Correcting Codes Suppose errors in our physical system for storing 0 and 1 cause each physical bit to be flipped independently with the probability P τ We can correct the errors by using a “redundant coding” e.g. : encode a logical 0 with the state 000 and a logical 1 with the state 111

Reversible networks for encoding and decoding a single bit “ b ” Network for encoding Network for decoding

Classical Error Correcting Codes After the errors occur Probability of no errors: Probability of error in one bit: Probability of error in two bits: Probability of error in three bits:

Classical Error Correcting Codes Decode the logical bits by taking the majority answer of the three bits and correct the encoded bits So We will have the correct state with a probability

Correction for a long time Goal: keep the state for a very long time t Perform many measurements  Consider for time τ sufficiently short  Divide t in N intervals of duration τ = t/N  After the time t Zeno effect!

Measurement of error destroys superpositions. No-cloning theorem prevents repetition. Must correct multiple types of errors (e.g., bit flip and phase errors). Quantum Errors

Example of 3-qubit Error Correction A 3-bit quantum error correction scheme uses an encoder and a decoder circuit as shown below: Encoder Decoder 0 0 Input qubit Output qubit Operations & Errors We will distinguish among good states 0 and 1 and all other states As we see one qubit is encoded to three qubits

3-qubit Error Correction: the Encoder The encoder will entangle the two redundant qubits with the input qubit: a|0> + b|1> |0> 1. If the input state is |0> then the encoder does nothing so the encoder does nothing so the output state is |000> the output state is |000> 2. If the input state is |1> then the encoder flips the lower the encoder flips the lower states so the output state is states so the output state is |111> |111> 3. If the input is an superposition state, then the output is the entangled state a|000> + b|111>

Problem: Any correction must be done without looking at the output  The decoder looks just like the encoder: Corrected output Measure: if 11 flip the top qubit } If the input to the decoder is |000> or |111> there was no error so the output of the decoder is: Input Output |000> |000> |111> |100> (the top 1 causes the bottom bits to flip) Error free flag 3-qubit Error Correction: the Decoder

Example continued: Consider all the possible error conditions: No Errors: a|000> + b|111> decoded to a|000> + b|100> = (a|0> + b|1>)|00> Top qubit flipped: a|100> + b|011> decoded to a|111> + b|011> = (a|1> + b|0>)|11> So, flip the top qubit = (a|0> + b|1>)|11> Middle qubit flipped: a|010> + b|101> decoded to a|010> + b|110> = (a|0> + b|1>)|10> Bottom qubit flipped: a|001> + b|110> decoded to a|001> + b|101> = (a|0> + b|1>)|01>

Decoder without Measurement The prior decoder circuit requires the measurement of the two extra bits and a possible flip of the top bit  Both these operations can be implemented automatically using a Toffoli gate If these are both 1 then flip the top bit } Thus we can correct single bit-flip errors

The Errors

Phase-shift Error Correction H H H a|0> + b|1> |0> Encoding H H H Hadamards Gate Decoding Corrected output Measure: if 11 shift the phase of the top qubit }

orThe 2 codes earlier corrects either bit flips or phase flips. Shor’s 9 qubits error correcting code combines both codes. It can correct any arbitrary single qubit error Shor’s 9 Qubits Error Correcting Code

A full Error Correction Code

encoder decoder Architecture of Shor Code

A more efficient Code

Can it be more efficient? Shor’s code uses 9 qubits to encode 1 qubit, but more efficient codes exist. Given our error model where errors can be any of the Pauli matrices applied to any qubit. To recover from 1 qubit errors, what is the minimum number to encode 1 qubit? How to calculate this number?

How to use syndrome bits to calculate the minimum length Argument:  Supposing we encode 1 qubit using n qubits.  We can have n-1 syndrome bits, the values of which tells us the exact error that occurred. Hence 2 n-1 errors can be represented by the syndrome bits  We have n qubits, and so 3n possible errors. Consider also the case of no errors.  Hence,  Least value of n solving this is 5. Pauli rotations

Encoding Use 5 qubits to encode 1 qubit :  

From above, we calculate: Encoding circuitEncoding circuit Shift phase

Rules of shifting phase and flip bit If qubits 2,3 and 4 are ‘1’, shift the phase If qubits 2 and 4 is ‘0’ and qubit 3 is ‘1’, shift the phase If qubit 1 is ‘1’, flip qubits 3 and 5

Signal after Hadamards: Encoding circuit Hadamards

Step-by-step analysis of the encoding circuit Shifting phase when 2,3,4 are “1” Shifting phase when 2,4 are “0” and 3 is “1”

Step-by-step analysis of the encoding circuit Flipping bits 5 when bit 3 is “1” and then flipping bit 3 and 5 when bit 1 is “1” Flipping bits 3 and 5 with “1” in bits 2 and 4

Step-by-step analysis of the encoding circuit Shifting phase in data bit when bits 4 and 5 are “1”

Assuming at most 1 qubit error and the error is just as likely to affect any qubit. The decoding circuit is the encoding circuit in reverse: Step-by-step analysis of the decoding circuit This is the decoding circuit

Example: Error is phase and bit flip on 3 rd qubit Assume encoded qubit damaged such that:

Continuation of error analysis in decoder Phase and bit flip on 3 rd qubit Shift phase when bits 4 and 5 are “1”

Flipping bit 3 when bit 4 is “1” and flipping bit 5 when bit 2 is “1” Continuation of error analysis in decoder Flipping bits 3 and 5 when bit 1 is “1” and then flipping bit 5 when bit 3 is “1”

Continuation of error analysis in decoder Shifting phase on bit 5 when 2,3,4 are “1”

Re-express equation to prepare for Hadamard transform: Continuation of error analysis in decoder This is on inputs to Hadamards

Qubits 1,2,4 and 5 are the syndrome bits which indicate the exact error that occurred and the current state of qubit 3. Continuation of error analysis in decoder This syndrome on bits 1,2,4,5 will be now used to modify the bit 3

B n denotes a bit-flip on Nth qubit B n denotes a bit-flip on Nth qubit S n denotes a phase-shift on Nth S n denotes a phase-shift on Nth qubit qubit BS n denotes a bit-flip and a phase- BS n denotes a bit-flip and a phase- shift on Nth qubit shift on Nth qubit Syndromes Table From previous slide

Execution of correction based on syndromes According to syndrome table, the 3 rd qubit is in state. So apply a phase shift and a bit flip to obtain the protected qubit.

The 5 qubits error correcting circuit Before transmission After transmission

Concatenated Code 1 qubit can be encoded using 5 qubits. Each of the 5 qubits can be further encoded using 5 qubits. Continue doing this until some number of hierarchical levels is reached.

Illustration:  We will use the 5 qubit encoding.  Assume probability of single qubit error is e and that errors are uncorrelated. Example of Concatenated Code

For 2 levels, number of qubits required is 5 2 = 25 This encoding will fail when 2 or more sub blocks of 5 qubits cannot recover from errors. Hence probability of recovery failure is in order of = (e 2 ) 2 = e 4 e 4 < e 2. 2 levels encoding has better probability of error recovery than 1 level if e is small enough Example of Concatenated Code

For 3 levels, number of qubits required is 5 3 = 125 This encoding will fail when 2 or more sub blocks of 25 qubits cannot recover from errors. Hence probability of recovery failure is in order of = (e 4 ) 2 = e 8 better probabilitye 8 < e 4. 3 levels encoding has better probability of error recovery than 2 levels if e is small enough. Example of Concatenated Code

In general for L levels,  Number of qubits required is 5 L  Probability of recovery failure is in the order of Advantages of concatenated code:  If probability of individual qubit error, e, is pushed below a certain threshold value, adding more levels will reduce probability of recovery failure.  i.e. we can increase the accuracy of our encoding indefinitely by adding more levels.  Error correction is simple using a divide and conquer strategy. Example of Concatenated Code

Disadvantages of concatenated coding:  If probability of individual qubit error, e, is above the threshold value, adding more levels will make things worse.( i.e. probability of recovery failure will be higher)  Exponential number of qubits needed. Note:  Threshold value depends on Type of encoding used Types of errors that occurs. When the errors are likely to occur (during qubit storage, or gate processing) Concatenated Code Concatenated Code