QuantumBFS / CuYao.jl

CUDA extension for Yao.jl
https://yaoquantum.org
Other
35 stars 8 forks source link

Incorrect promotion rule #9

Open Roger-luo opened 5 years ago

Roger-luo commented 5 years ago

https://github.com/QuantumBFS/CuYao.jl/blob/ac4d15856a90bd8a63b3fdc4a8711f98af0dac49/src/CUDApatch.jl#L80

Should use LinearAlgebra.promote_op for consistency with Base

GiggleLiu commented 5 years ago

So, what is the difference?