LLNL / Juqbox.jl

Juqbox.jl solves quantum optimal control problems in closed quantum systems
MIT License
42 stars 10 forks source link

FFT symmetry #20

Closed relugzosiraba closed 3 years ago

relugzosiraba commented 3 years ago

Here is a lab-frame spectrum for an optimal signal calculated via Juqbox. Does negative side of the spectrum contain any new information or can those be ignored since the spectrum is symmetric with respect to the y axis?

Spec1

andersp commented 3 years ago

I assume you compute the discrete Fourier transform (DFT) with Julia's fft function from the FFTW package. This function calculates the complex-valued DFT, which is defined for frequencies of both signs. If the signal is real-valued in the time domain, the DFT will satisfy certain symmetry properties in the frequency domain. The DFT is explained in detail on Wikipedia.