QuState / PhastFT

A high-performance, "quantum-inspired" Fast Fourier Transform (FFT) library written in pure and safe Rust.
Apache License 2.0
193 stars 8 forks source link

Support for `f32` in FFT computations #12

Closed astral4 closed 3 months ago

astral4 commented 5 months ago

In rustfft, it's possible to compute Fourier transforms of sequences with either 32-bit or 64-bit floats. This is done by generalizing over an FftNum trait. However, phastft only supports 64-bit floats. Is it possible to add support for f32 in phastft?

smu160 commented 5 months ago

Hi @astral4,

That's a great point. Since we also need f32 support for Spinoza, this is next on my to-do list.

Thank you!

Best, Saveliy