OxIonics / ionics_fits

Small python fitting library with an emphasis on Atomic Molecular and Optical Physics
Apache License 2.0
0 stars 0 forks source link

Molmer-Sorensen frequency model: improve heuristics for scans not centred on resonance #159

Closed AUTProgram closed 5 months ago

AUTProgram commented 5 months ago

When we probe two-qubit gate dynamics, we typically start by scanning the gate detuning over a wide range, such that the scan contains the line of symmetry (where mode is driven on resonance). In this case, the MolmerSorensenFreq.estimate_parameters() method works fine because it looks for the symmetry point. However, sometimes we also just scan the gate detuning over a narrower range around the loop closure. In this case, the fit gives garbage, see below for an example. image

For now, I'm handling this issue by specifying a user estimate for w_0 manually depending on the scan range. If we can think of a simple heuristic that helps with this, probably worth adding to the estimation procedure directly rather than relying on the user.

hartytp commented 5 months ago

Chatted about this IRL. I think this is a "won't fix" issue. Motivations:

Given the above, this feels out of scope for ionics_fits and is best handled by users giving the fit an initial guess