QuantumClifford.jl
QuantumClifford.jl copied to clipboard
unnecessary copy when calling to_cpu on cpu data
The functions to_cpu, to_gpu copy the data regardless of where it resides.
It would be more intelligent to copy only if the data is not on the same device (calling to_cpu when data is on GPU and vice versa)