Closed shadibeh closed 1 year ago
Hi @shadibeh, this was fixed in https://github.com/jcmgray/cotengra/commit/2d8b6b406b34fe63c91362e46966dd589d9cddad, see the other issue: #16. I think for whatever reason your installation might not be completely up-to-date? - it was fixed quite recently.
Hi everyone, I get the following error after running the following codes:
import tqdm ZZ = qu.pauli('Z') & qu.pauli('Z') local_exp_rehs = [ circ_ex.local_expectation_rehearse(weight * ZZ, edge, optimize=opt) for edge, weight in tqdm.tqdm(list(terms.items())) ]
/Users/myenv_quimb/lib/python3.9/site-packages/cotengra/hyper_optuna.py:21: FutureWarning: suggest_loguniform has been deprecated in v3.0.0. This feature will be removed in v6.0.0. See https://github.com/optuna/optuna/releases/tag/v3.0.0. Use :func:
~optuna.trial.Trial.suggest_float
instead. return lambda trial: trial.suggest_loguniform(Could anyone help me to resolve it? I installed the latest version of Cotengra and my Python version is 3.9.14. Thanks