From b81d4deb67238ac748cfe3da8216cb39934bab23 Mon Sep 17 00:00:00 2001 From: Feroz <93876775+Fe-r-oz@users.noreply.github.com> Date: Sat, 2 Mar 2024 01:48:45 +0500 Subject: [PATCH] Update QHammingcode.jl --- src/ecc/codes/QHammingcode.jl | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/ecc/codes/QHammingcode.jl b/src/ecc/codes/QHammingcode.jl index df0dcac2e..a78342f42 100644 --- a/src/ecc/codes/QHammingcode.jl +++ b/src/ecc/codes/QHammingcode.jl @@ -1,9 +1,3 @@ -#The Gottesman code has the parameters [[2^r, 2^r - r - 2, 3]] -#So, the parity check matrix will be of the form: -#[[I_r, K, -I_r] -#[K^T, I_(2^r - r - 2), 0] -#[0, -K, I_r]] - struct QHamming r::Int end @@ -29,13 +23,3 @@ function parity_checks(code::QHamming) return CSS(H) end - -#how to use -# Create two different instances of the quantum Hamming code -#code1 = QHamming(5) # r = 5 -#code2 = QHamming(7) # r = 7 - -# Get the parity check matrices for each instance -#H1 = parity_checks(code1) -#H2 = parity_checks(code2) -