Skip to content

Commit

Permalink
fix: random circuit codes are non-CSS so return iscss(...) = false in…
Browse files Browse the repository at this point in the history
…stead of nothing
  • Loading branch information
Fe-r-oz committed Jan 20, 2025
1 parent 0d13791 commit 39f5253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecc/codes/random_circuit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct CircuitCode <: AbstractECC
encode_qubits::AbstractArray
end

iscss(::Type{CircuitCode}) = nothing
iscss(::Type{CircuitCode}) = false

code_n(c::CircuitCode) = c.n

Expand Down

0 comments on commit 39f5253

Please sign in to comment.