Skip to content

Commit

Permalink
fixed subsytem constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
esabo committed Feb 9, 2024
1 parent 647396b commit 895e6d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/CodingTheory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import Oscar: dual, isprime, factor, transpose, order, polynomial, nrows, ncols,
isisomorphic, lift, quo, VectorSpace, dimension, extend, support, complement,
is_regular, iscyclic, genus, density, isdegenerate, index, generators, copy, issubfield, ,
girth, generator_matrix, polynomial_ring, is_primitive, normal_subgroups, vector_space,
tensor_product, gens, dim
tensor_product, gens, dim, is_isomorphic
import Oscar.Nemo: exponent_vectors
import Base: circshift, iseven, show, length, in, zeros, , /, *, ==, , +, -, copy, isequal,
import CairoMakie: save
Expand Down
4 changes: 2 additions & 2 deletions test/Quantum/subsystem_code_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# [[9, 1, 4, 3]] gauged Shor code
S = ["XXXXXXIII", "XXXIIIXXX", "ZZIZZIZZI","IZZIZZIZZ"]
# these are the {X, Z} pairings
G_ops = ["IZZIIIIII", "IIXIIIIIX", "IIIIZZIII", "IIIIIXIIX", "ZZIIIIIII", "XIIIIIXII", "IIIZZIIII", "IIIXIIXII"]
G = S G_ops
G_ops = ["IZZIIIIII", "IIXIIIIIX", "IIIIZZIII", "IIIIIXIIX", "ZZIIIIIII", "XIIIIIXII", "IIIZZIIII", "IIIXIIXII"]
G = S G_ops
L = ["ZZZZZZZZZ", "XXXXXXXXX"]
Q = SubsystemCode(G)
@test length(Q) == 9
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include("Classical/ReedMuller_test.jl")
include("Classical/misc_known_codes_test.jl")
include("Classical/cyclotomic_test.jl")
include("Classical/cyclic_code_test.jl")
include("Classical/GeneralizedReedSolomon_test.jl")
# include("Classical/GeneralizedReedSolomon_test.jl")
include("Classical/quasi-cyclic_code_test.jl")
# include("Classical/tilings_Tanner_test.jl")
include("Classical/concatenation_test.jl")
Expand All @@ -22,5 +22,5 @@ include("Quantum/stabilizer_code_test.jl")
include("Quantum/quantum_MC_ids_test.jl")
include("Quantum/misc_known_codes_test.jl")
include("Quantum/product_codes_test.jl")
# include("Quantum/subsystem_code_test.jl")
include("Quantum/subsystem_code_test.jl")
# include("chain_complex_test.jl")

0 comments on commit 895e6d2

Please sign in to comment.