From c0609961b3cf6ac519f1438d7677ea38a815a5e0 Mon Sep 17 00:00:00 2001 From: Roger-Luo Date: Thu, 6 May 2021 16:32:23 -0400 Subject: [PATCH] rm type upper bound --- src/intrinsic.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/intrinsic.jl b/src/intrinsic.jl index 6372cad..b5c48c3 100644 --- a/src/intrinsic.jl +++ b/src/intrinsic.jl @@ -56,8 +56,8 @@ end @intrinsic H @intrinsic S @intrinsic T -@intrinsic shift(θ::T) where {T <: Real} -@intrinsic Rx(θ::T) where {T <: Real} -@intrinsic Ry(θ::T) where {T <: Real} -@intrinsic Rz(θ::T) where {T <: Real} -@intrinsic UGate(α::T, β::T, γ::T) where {T <: Real} +@intrinsic shift(θ::T) where {T} +@intrinsic Rx(θ::T) where {T} +@intrinsic Ry(θ::T) where {T} +@intrinsic Rz(θ::T) where {T} +@intrinsic UGate(α::T, β::T, γ::T) where {T}