Skip to content

Commit 9663a0f

Browse files
committed
collapse_x fixes
1 parent 09f9f44 commit 9663a0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backtrajectory.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ function collapse_x!(T, q::Int)
7474
return
7575
end
7676

77-
apply!(T, sHadamard(q); phases=true)
77+
apply_right!(T, sHadamard(q))
7878
collapse_z!(T, q)
79-
apply!(T, sHadamard(q); phases=true)
79+
apply_right!(T, sHadamard(q))
8080
end
8181

8282
function do_MZ!(T, op::sMZ)

0 commit comments

Comments
 (0)