Closed hartytp closed 1 year ago
NB benchmarking on fitting
Fuzzing exponential...
success (took 0.4 s for 100 trails)
Fuzzing gaussian...
success (took 0.6 s for 100 trails)
Fuzzing polynomial...
success (took 0.2 s for 100 trails)
Fuzzing power...
success (took 0.5 s for 100 trails)
Fuzzing rabi_freq...
success (took 1.7 s for 100 trails)
Fuzzing rabi_time...
success (took 0.5 s for 100 trails)
Fuzzing rectangle...
success (took 0.2 s for 100 trails)
Fuzzing sinc...
success (took 1.1 s for 100 trails)
Fuzzing sinc2...
success (took 1.1 s for 100 trails)
Fuzzing sinusoid...
success (took 4.2 s for 100 trails)
Fuzzing triangle...
success (took 0.3 s for 100 trails)
The following would be a good starting point and makes this library a superset of the useful code in
oitg.fitting
(let me know if I've missed anything):Sinusoid
: generalised sinusoidcosine
phase as a derived parametersin^2
convenience wrapper? I think probably not in the first instanceRabiFlop
Sinc
/Sinc^2
Triangle
Rectangle
LaserFlop
Exponential
Guassian
Lorentzian