You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can do the optimisation of a gate in the rotating frame by setting model.set_FR(true). The full propagator of that gate (=product of the partials) is then changed by the frame rotation before optimisation. However, for plotting the examples use the partial propagators, which are in the lab frame. That means that what's optimised (the full propagator) does not match the plots (the state propagated by the partials).
I'm not sure if this does occur for two-level systems or is just too small to see. It definetely shows up for more than two levels because the upper levels have different rotation frequencies.
To Reproduce
use one of the examples, e.g. Simulated_calibration.ipynv
add model.set_FR(true) (in single_qubit_blackbox_exp.py
run the optimisation and
Expected behavior
Optimised propagator and plots of level populations should match. Probably, the partials need to be adjusted by the frame rotation.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information)
OS: Fedora
Python Version: 3.8
c3-toolset Version 1.3
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
I can do the optimisation of a gate in the rotating frame by setting
model.set_FR(true)
. The full propagator of that gate (=product of the partials) is then changed by the frame rotation before optimisation. However, for plotting the examples use the partial propagators, which are in the lab frame. That means that what's optimised (the full propagator) does not match the plots (the state propagated by the partials).I'm not sure if this does occur for two-level systems or is just too small to see. It definetely shows up for more than two levels because the upper levels have different rotation frequencies.
To Reproduce
Simulated_calibration.ipynv
model.set_FR(true)
(insingle_qubit_blackbox_exp.py
Expected behavior
Optimised propagator and plots of level populations should match. Probably, the partials need to be adjusted by the frame rotation.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information)
c3-toolset
Version 1.3Additional context
The text was updated successfully, but these errors were encountered: