As far as I understand the bug report tracking complex 23, the current favourite implementations are through the external modules pytorch-cpu-strided-complex 51 and the cuda equivalent (note that you need to import the cpp submodule). For me, they seem to have more than a few rough edges at the moment, but I’d imagine that if you’re keen on helping out, noone will complain.
One thing I didn’t find is how to get zero-copy access to the real and imaginary part. I would imagine that that should be possible (because that’s how they’re saved in memory, after all) but .real and .imag stay in the complex datatypes rather than returning the real ones.
Best regards
Thomas