Skip to content

Commit

Permalink
minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fe-r-oz committed Sep 15, 2024
1 parent 648c43f commit c54485e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nonclifford.jl
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function apply!(state::GeneralizedStabilizer, gate::AbstractPauliChannel; prune_
dᵢ′ = dₗ .⊻ dᵢ
dⱼ′ = dᵣ .⊻ dⱼ
χ′ = χ * w * (-tone)^c * (im)^(-phaseₗ+phaseᵣ+4)
newdict[(dᵢ′,dⱼ′)] += χ′
newdict[(dᵢ′,dⱼ′)] += χ′
end
end
filter!(x -> abs(x[2]) > prune_threshold, newdict)
Expand Down

0 comments on commit c54485e

Please sign in to comment.