Skip to content

Commit

Permalink
adding iscss function
Browse files Browse the repository at this point in the history
  • Loading branch information
Fe-r-oz committed Mar 18, 2024
1 parent 0bb6ad7 commit 3942a72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ecc/ECC.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function iscss(code::AbstractECC)
# Check for known CSS structures directly
if isa(code, CSS) || isa(code, Toric) || isa(code, Shor9) || isa(code, Steane7) || isa(code, Perfect5) || isa(code, Cleve8)
return true

Check warning on line 60 in src/ecc/ECC.jl

View check run for this annotation

Codecov / codecov/patch

src/ecc/ECC.jl#L59-L60

Added lines #L59 - L60 were not covered by tests
end
end

parity_checks(s::Stabilizer) = s
Expand Down

0 comments on commit 3942a72

Please sign in to comment.