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

Missing line in 'Open-loop optimal control' docs #73

Closed
flo-maier opened this issue Mar 18, 2021 · 1 comment
Closed

Missing line in 'Open-loop optimal control' docs #73

flo-maier opened this issue Mar 18, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@flo-maier
Copy link

Describe the bug
On readthedocs there is a line missing in the code which leads to 'ValueError: not enough values to unpack' (expected 2, got 0) (https://c3-toolset.readthedocs.io/en/latest/optimal_control.html)

To Reproduce
Steps to reproduce the behavior:

  1. Execute the code from Setup of a two-qubit chip with C3 and Open-loop optimal control on readthedocs
  2. See error

Expected behavior
No error

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • PyCharm 2020.3.4
  • Anaconda 4.9.2 / Python 3.8.5

Solution
Add 'exp.pmap.set_opt_map(gateset_opt_map)' before 'opt.optimize_controls()'

@lazyoracle lazyoracle added the documentation Improvements or additions to documentation label Apr 1, 2021
@lazyoracle lazyoracle added this to the 1.3 milestone May 17, 2021
@lazyoracle lazyoracle mentioned this issue May 31, 2021
17 tasks
@lazyoracle
Copy link
Member

Closing because docs are consistent with current dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants