The function choose_gd_params (see here) contains bugs because the variables lr and s are not defined. For now, to avoid issues when the linter runs or when functions in qiboteam/boostvqe are called, the function has been replaced with a pass statement.
|
def choose_gd_params( |
|
gci, |
|
eo_d_type, |
|
params, |
|
loss_0, |
|
s_0, |
|
mode, |
|
s_min=1e-4, |
|
s_max=2e-2, |
|
lr_min=1e-4, |
|
lr_max=1, |
|
threshold=1e-4, |
|
max_eval=30, |
|
please_be_adaptive=True, |
|
please_be_verbose=False, |
|
): |
|
pass |
The function
choose_gd_params(see here) contains bugs because the variableslrandsare not defined. For now, to avoid issues when the linter runs or when functions inqiboteam/boostvqeare called, the function has been replaced with apassstatement.qibo-dbqa/src/qibo_dbqa/utils_gci_optimization.py
Lines 29 to 45 in 0f7887f