Skip to content

Commit a61c222

Browse files
frankwswangRogerluo
authored andcommitted
Update Diff.jl (#6)
import method QDiff to Yao.mat and Yao.apply!
1 parent 23dfbf2 commit a61c222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Diff.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export Rotor, generator, AbstractDiff, BPDiff, QDiff, backward!, gradient, CPhaseGate, DiffBlock
2-
import Yao: expect, content, chcontent
2+
import Yao: expect, content, chcontent, mat, apply!
33
using StatsBase
44

55
############# General Rotor ############

0 commit comments

Comments
 (0)