Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame change is ignored when plotting level populations #138

Open
alex-simm opened this issue Sep 1, 2021 · 0 comments
Open

Frame change is ignored when plotting level populations #138

alex-simm opened this issue Sep 1, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@alex-simm
Copy link
Collaborator

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

  • 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

@lazyoracle lazyoracle added the bug Something isn't working label Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants