Skip to content

Commit

Permalink
minor unitary infidelity edit
Browse files Browse the repository at this point in the history
  • Loading branch information
aarontrowbridge committed May 13, 2024
1 parent 2ab6a41 commit 4e12a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objectives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function UnitaryInfidelityObjective(;
Ũ⃗_slice = slice(Z.T, Z.components[name], Z.dim)
Ũ⃗ = Z⃗[Ũ⃗_slice]
∇l = l(Ũ⃗; gradient=true)
∇[Ũ⃗_slice] .= Q * ∇l
∇[Ũ⃗_slice] = Q * ∇l
return
end

Expand Down

0 comments on commit 4e12a85

Please sign in to comment.