Closed zipeilee closed 3 months ago
(base) ➜ Yao git:(master) ✗ ag compatible_multiplicative_operand
lib/YaoBlocks/src/primitive/time_evolution.jl
90:compatible_multiplicative_operand(::AbstractArray, source::AbstractArray) = source
94: # `compatible_multiplicative_operand` is used to ensure GPU compatibility.
95: reg.state .*= exp.((-im * te.dt) .* compatible_multiplicative_operand(reg.state, diag(mat(T, te.H))))
ext/CuYao/src/CUDApatch.jl
63:YaoBlocks.compatible_multiplicative_operand(::CuArray, source::AbstractArray) = CuArray(source)
64:YaoBlocks.compatible_multiplicative_operand(::CuArray, source::CuArray) = source
It is very likely that your YaoBlocks
version is not up to date.
When I update my Julia to 1.10.4 and just us
my REPL report the error as follow:
my package version: Julia 1.10.4 CUDA v5.4.3 Yao v0.9.0