quantum
play

Quantum Lecture 9 Classical linear codes Quantum codes Mikael - PDF document

Quantum Lecture 9 Classical linear codes Quantum codes Mikael Skoglund, Quantum Info 1/16 Block Codes An ( n, M ) block (channel) code over a field GF( q ) is a set C = { x 1 , x 2 , . . . , x M } of codewords , with x m GF n ( q )


  1. Quantum Lecture 9 • Classical linear codes • Quantum codes Mikael Skoglund, Quantum Info 1/16 Block Codes An ( n, M ) block (channel) code over a field GF( q ) is a set C = { x 1 , x 2 , . . . , x M } of codewords , with x m ∈ GF n ( q ) GF( q ) = “set of q < ∞ objects that can be added, subtracted, divided and multiplied to stay inside the set” • GF(2) = { 0 , 1 } modulo 2 • GF( p ) = { 0 , 1 , . . . , p − 1 } modulo p , for a prime number p • GF( q ) for a non-prime q ; polynomials. . . Mikael Skoglund, Quantum Info 2/16

  2. Hamming distance : For x , y ∈ GF n ( q ) , d ( x , y ) = number of components where x and y differ Hamming weight : For x ∈ GF n ( q ) , w ( x ) = d ( x , 0 ) where 0 = (0 , 0 , . . . , 0) Minimum distance of a code C : d min = d = min { d ( x , y ) : x � = y ; x , y ∈ C} Mikael Skoglund, Quantum Info 3/16 A code C is linear if x , y ∈ C = ⇒ x + y ∈ C , x ∈ C , α ∈ GF( q ) = ⇒ α · x ∈ C where + and · are addition and multiplication in GF( q ) A linear code C forms a linear space ⊂ GF n ( q ) of dimension k < n ⇒ exists a basis { g m } k m =1 , g m ∈ C , that spans C , i.e., k � x ∈ C ⇐ ⇒ x = u m g m m =1 for some u = ( u 1 , . . . , u k ) ∈ GF k ( q ) , and hence M = |C| = q k Mikael Skoglund, Quantum Info 4/16

  3. Let { g m } k m =1 define the rows of a k × n matrix G = ⇒ x ∈ C ⇐ ⇒ x = uG for some u ∈ GF k ( q ) G is called a generator matrix for the code Any G with rows that form a maximal set of linearly independent codewords is a valid generator matrix ⇒ a code C can have different G ’s An ( n, M ) linear code of dimension k = log q M and with minimum distance d is called an [ n, k, d ] code Mikael Skoglund, Quantum Info 5/16 Let r = n − k and let the rows of the r × n matrix H span n C ⊥ = { v : v · x = 0 , x ∈ C} , � v · x = v m x m in GF( q ) m =1 Any such H is called a parity check matrix for C • GH T = 0 ⇒ Hx T = 0 T (= { 0 } k × r ) ; x ∈ C ⇐ • H generates the dual code C ⊥ C linear = ⇒ d min = min x ∈C w ( x ) = minimal number of linearly dependent columns of H Mikael Skoglund, Quantum Info 6/16

  4. Coding over a DMC ˆ I y ˆ I x x Information variable: I ∈ I M = { 1 , . . . , M } ( p ( i ) = 1 /M ) Encoding: I = i → x i = α ( i ) ∈ C • C linear with M = q k = ⇒ any i ∈ I M corresponds to some u i ∈ GF k ( q ) and x i = u i G A DMC ( X , p ( y | x ) , Y ) with X = GF( q ) , used n times → y ∈ Y n • potentially Y � = X , but let’s assume Y = X = GF( q ) x = β ( y ) ∈ C ( → ˆ Decoding: ˆ I ) Probability of error: P e = Pr(ˆ x � = x ) Mikael Skoglund, Quantum Info 7/16 Decoding x transmitted = ⇒ y = x + e where e = ( e 1 , . . . , e n ) is the error vector corresponding to y The nearest neighbor (NN) decoder x ′ = arg min x = x ′ ˆ if x ∈C d ( y , x ) • Equiprobable I ∈ I M and a symmetric DMC such that Pr( e m = 0) = 1 − p > 1 / 2 and Pr( e m � = 0) = p/ ( q − 1) , NN ⇐ ⇒ maximum likelihood ⇐ ⇒ minimum P e With NN decoding, a code with d min = d can correct � d − 1 � t = 2 errors; as long as w ( e ) ≤ t the codeword x will always be recovered correctly from y Mikael Skoglund, Quantum Info 8/16

  5. Bounds • Hamming (or sphere-packing): For a code with t = ⌊ ( d min − 1) / 2 ⌋ , t � n � ( q − 1) i ≤ M − 1 q n � i i =0 • equality = ⇒ perfect code = ⇒ can correct all e of weight ≤ t and no others • Hamming codes are perfect linear binary codes with t = 1 • Gilbert–Varshamov : There exists an [ n, k, d ] code over GF( q ) with r = n − k ≤ ρ and d ≥ δ provided that δ − 2 � n − 1 � ( q − 1) i < q ρ � i i =0 Mikael Skoglund, Quantum Info 9/16 • Singleton : For any [ n, k, d ] code, r = n − k ≥ d − 1 • r = d − 1 = ⇒ maximum distance separable (MDS) • For MDS codes: • Any r columns in H are linearly independent • Any k columns in G are linearly independent Mikael Skoglund, Quantum Info 10/16

  6. Two codes C and D of length n over GF( q ) are equivalent if there exist n permutations π 1 , . . . , π n of field elements and a permutation σ of coordinate positions such that � � ( x 1 , . . . , x n ) ∈ C = ⇒ σ ( π 1 ( x 1 ) , . . . , π n ( x n )) ∈ D • In particular, swapping the same two coordinates in all codewords gives an equivalent code For a linear code, ( G , H ) can be manipulated (add, subtract, swap rows, swap columns) into an equivalent linear code in systematic or standard form − A T � � � � � � G sys = H sys = I k � A � I r For MDS codes: no swapping of columns needed Mikael Skoglund, Quantum Info 11/16 Cosets For each y ∈ GF n ( q ) , the coset of a linear code C (over GF( q ) ) corresponding to y is the set C ( y ) = y + C = { y + x : x ∈ C} Every z ∈ GF n ( q ) belongs to C ( y ) for some y Two cosets C ( y 1 ) and C ( y 2 ) are either equal or disjoint Thus, given C we can partition GF n ( q ) into q n / |C| different cosets Mikael Skoglund, Quantum Info 12/16

  7. Quantum Error Correcting Codes Mikael Skoglund, Quantum Info 13/16 A code is a subspace C in a Hilbert space H Let P C denote the projection on the code, | ψ � ∈ H ⇒ P C | ψ � ∈ C A channel is represented by a quantum operation E from H to H ′ , Tr E = 1 , with operation elements { E i } called errors A decoder is a mapping D : H ′ → H The decoder is error-correcting if for | ψ � ∈ C , ρ = | ψ �� ψ | , D ( E ( ρ )) = γρ for some γ ∈ C Mikael Skoglund, Quantum Info 14/16

  8. Error-correction conditions (finite dimensions) There exists an error-correcting decoder iff P C E ∗ i E j P C = γ ij P C for γ ij ∈ C picked from a Hermitian matrix If the condition is fulfilled, { E i } is a set of correctable errors If the error-correction conditions are fulfilled for { E i } then they are also fulfilled for { F i } , with � F j = c ij E i i for any c ij ∈ C Mikael Skoglund, Quantum Info 15/16 General error correction (finite dimensions) Given C , assume { E i } satisfies P C E ∗ i E j P C = γ ij P C The matrix γ = ( γ ij ) is Hermitian ⇒ γ = U ∗ DU for U unitary and D = ( d ij ) diagonal i u ij E i ⇒ P C F ∗ For U = ( u ij ) let F j = � k F ℓ P C = d kℓ P C � G ∗ G k = F k P C can be written as G k = U k k G k where U k is unitary (polar decomposition), thus F k P C = √ d kk U k P C Define the projector P k = U k P C U ∗ k ⇒ corresponding subspaces for different k orthogonal Detection: Measure { P k } Correction: Apply U ∗ k k U ∗ Decoder: D ( σ ) = � k P k σP k U k , σ = E ( ρ ) ρ = | ψ �� ψ | for | ψ � ∈ C ⇒ D ( σ ) = � k d kk ρ Mikael Skoglund, Quantum Info 16/16

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend