Skip to content

Commit

Permalink
Update and rename qhammingcode.jl to eightqubit.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Fe-r-oz authored Mar 5, 2024
1 parent d1945e6 commit 6035ff9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 31 deletions.
10 changes: 10 additions & 0 deletions src/ecc/codes/eightqubit.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
struct EightQubit <: AbstractECC end

code_n(c::EightQubit) = 8

parity_checks(c::EightQubit) = S"XXXXXXXX
ZZZZZZZZ
_X_XYZYZ
_XZY_XZY
_YXZXZ_Y"
distance(c::EightQubit) = 3
31 changes: 0 additions & 31 deletions src/ecc/codes/qhammingcode.jl

This file was deleted.

0 comments on commit 6035ff9

Please sign in to comment.