Closed jlbosse closed 1 year ago
Sorry, I forgot why I added this patch. If the tests pass locally, I think removing it is better.
In that case don't merge yet. I will check if the tests pass tomorrow when I am back at work and update the PR if they do.
Yup, as expected the tests also still pass after removing expect(::Scale, ::CuDensityMatrix)
Thank you! I will tag a new version.
I got some warnings for the mentioned type parameters and about type piracy that is fixed now.
But since
expect(op::Scale, reg::CuDensityMatrix)
implements exactly the same logic asexpect(op::Scale, reg::DensityMatrix)
inYaoArrayRegister
, is it even needed or can it be removed altogether?