How to pass list for bound of control pulse for cpo.optimize_pulse function

8 views
Skip to first unread message

Shilan Savan

unread,
Aug 15, 2025, 4:51:20 PMAug 15
to QuTiP: Quantum Toolbox in Python
Hi, I have a question regarding optimize pulse function in qutip.

According to documentation of the function" the amp_lbound and amp_ubound parameters 
could be
 scalar value applied to all controls
or a list of bounds for each control"

However, when I try to pass a list like [-0.5, -1], I get an error saying it's not accepted.
Can someone please clarify how to correctly pass a list of bounds for each control?
Thanks in advance

Reply all
Reply to author
Forward
0 new messages