QuantumClifford.jl icon indicating copy to clipboard operation
QuantumClifford.jl copied to clipboard

fastcolumn, fastrow become ineffective after to_cpu, to_gpu

Open Shayan-P opened this issue 11 months ago • 0 comments

In the current implementation, to_cpu, to_gpu copy the whole data. This means that Adjoint matrices get copied thus they are not adjoint anymore.

As a result, the user has to reapply fast_row, and fast_column whenever copies/collects data.

This can be fixed by dispatching a different to_cpu/to_gpu function for Adjoint types.

Shayan-P avatar Aug 27 '23 04:08 Shayan-P