Skip to content

Commit

Permalink
Revert "add utils and decomposition (#5)" (#6)
Browse files Browse the repository at this point in the history
This reverts commit 129311e.
  • Loading branch information
Roger-luo authored Jun 16, 2021
1 parent 2262288 commit a476f36
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 203 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ julia = "1.6"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["Test"]
3 changes: 0 additions & 3 deletions src/YaoHIR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,4 @@ include("types.jl")
include("intrinsic.jl")
include("printing.jl")

include("utils.jl")
include("decomposition.jl")

end
145 changes: 0 additions & 145 deletions src/decomposition.jl

This file was deleted.

22 changes: 0 additions & 22 deletions src/utils.jl

This file was deleted.

6 changes: 1 addition & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ circ = Chain(
Ctrl(Gate(Core.SSAValue(1), Locations(3)), CtrlLocations(2))
)

println(circ)
print(circ)

@test YaoHIR.leaves(circ) == [Gate(YaoHIR.X, Locations(1)),
Core.SSAValue(1),
Expand Down Expand Up @@ -54,7 +54,3 @@ println(circ)
end
end
end

@testset "utils.jl" begin
include("utils.jl")
end
27 changes: 0 additions & 27 deletions test/utils.jl

This file was deleted.

0 comments on commit a476f36

Please sign in to comment.