Skip to content

Commit

Permalink
add swap (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenZhao44 authored May 13, 2021
1 parent bff9505 commit d347441
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/intrinsic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ end
@intrinsic H
@intrinsic S
@intrinsic T
@intrinsic SWAP
@intrinsic shift::T) where {T}
@intrinsic Rx::T) where {T}
@intrinsic Ry::T) where {T}
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using YaoHIR: @intrinsic

@intrinsic X
@intrinsic R(theta::T) where {T <: Real}
@intrinsic SWAP

end

Expand Down

0 comments on commit d347441

Please sign in to comment.