Lets say there's a deoxys that i'm battling and ditto transforms holding the quick powder.
so ditto would get two times the speed deoxys has?
Nope, it doesn't work.
>Doubles Speed of Ditto, but does not work when Transformed. -Bulbapedia
Hope This Helped :D