Skip to content

Commit

Permalink
remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov authored Oct 18, 2024
1 parent aa7d975 commit 9290621
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/mul_leftright.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ function mul_ordered_lv!(r::AbstractVector{T}, l::AbstractVector{T}; phases::Val
end
=#

# This method is already covered by the identical but less specific one right below. (And JET does not like it)
#=
function mul_ordered!(r::SubArray{T,1,P,I1,L1}, l::SubArray{T,1,P,I2,L2}; phases::Val{B}=Val(true)) where {T<:Unsigned, B, I1, I2, L1, L2, P<:Adjoint}
# This method exists because SIMD.jl does not play well with Adjoint
# Delete it and try `QuantumClifford.mul_left!(fastcolumn(random_stabilizer(194)), 2, 1)` # works fine for 192
_mul_ordered_nonvec!(r,l; phases=B)
end
=#

function mul_ordered!(r::SubArray{T,1,P,I2,L2}, l::AbstractVector{T}; phases::Val{B}=Val(true)) where {T<:Unsigned, B, I2, L2, P<:Adjoint}
# This method exists because SIMD.jl does not play well with Adjoint
_mul_ordered_nonvec!(r,l; phases=B)
Expand Down

0 comments on commit 9290621

Please sign in to comment.