Skip to content

Commit

Permalink
Update hypergraphproductcode.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Fe-r-oz authored Mar 1, 2024
1 parent 2f63447 commit 344e13b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ecc/codes/hypergraphproductcode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#H sub x = (H sub 1 ⊗ I sub n2 I sub r1 ⊗ (H sub 2)^T) (1)
#H sub z =( I sub n1 ⊗ H sub 2 (H sub 1)^T ⊗ I sub r2) (2)
#where I sub m is the m-dimensonal identity matrix. These two codes then yied a hypergraph product code via the CSS construction
#where I sub m is the m-dimensional identity matrix. These two codes then yied a hypergraph product code via the CSS construction

struct HypergraphProduct <: AbstractECC
n_i::Vector{Int} # Vector of n_i values
Expand Down Expand Up @@ -78,6 +78,5 @@ function IMatrix(n)
end



#println("Full parity checks:")
#println(parity_checks(code))

0 comments on commit 344e13b

Please sign in to comment.