Skip to content

Commit d104cba

Browse files
committed
emergent bug gix
1 parent 9a8a1dd commit d104cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Differential.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export diff_circuit, num_gradient, rotter, cnot_entangler, opgrad, collect_rotbl
55
66
Arbitrary rotation unit, set parameters notrailing, noleading true to remove trailing and leading Z gates.
77
"""
8-
rotter(noleading::Bool=false, notrailing::Bool=false) = noleading ? (notrailing ? Rx(0) : chain(Rx(0), Rz(0))) : (notrailing ? chain(Rz(0), Rx(0)) : chain(Rz(0), Rz(0), Rz(0)))
8+
rotter(noleading::Bool=false, notrailing::Bool=false) = noleading ? (notrailing ? Rx(0) : chain(Rx(0), Rz(0))) : (notrailing ? chain(Rz(0), Rx(0)) : chain(Rz(0), Rx(0), Rz(0)))
99

1010
"""
1111
cnot_entangler([n::Int, ] pairs::Vector{Pair}) = ChainBlock

0 commit comments

Comments
 (0)