Skip to content

Commit 5c0638b

Browse files
authored
upgrade quimb and cotengra versions (#1420)
**Context:** This demo was getting random warnings, ``` /home/runner/work/qml/qml/venv/lib/python3.10/site-packages/cotengra/hyperoptimizers/hyper.py:57: UserWarning: Couldn't find `optuna`, `cmaes`, or `nevergrad` so will use completely random sampling in place of hyper-optimization. warnings.warn( /home/runner/work/qml/qml/venv/lib/python3.10/site-packages/cotengra/hyperoptimizers/hyper.py:76: UserWarning: Couldn't find `optuna`, `cmaes`, or `nevergrad` so will use completely random sampling in place of hyper-optimization. warnings.warn( ``` which seemed to only occur with `cotengra <= 0.7.4`. ![image](https://github.com/user-attachments/assets/2ed9409a-1e9b-4662-a1da-296bd8ce303a) **Description of the change:** By upgrading `cotengra` (and `quimb` ... why not?), the warnings disappear. **Benefits:** No more warnings, ![image](https://github.com/user-attachments/assets/317699c6-d0f5-48ce-96ee-71041f87f1ce)
1 parent a395d67 commit 5c0638b

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

demonstrations/tutorial_How_to_simulate_quantum_circuits_with_tensor_networks.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77
],
88
"dateOfPublication": "2024-07-09T00:00:00+00:00",
9-
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
9+
"dateOfLastModification": "2025-06-25T00:00:00+00:00",
1010
"categories": [
1111
"Getting Started",
1212
"Quantum Computing",

poetry.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ zstd = "*"
9696
dill = "*"
9797
stim = "*"
9898
bluequbit = "0.9.3b1"
99-
quimb = "1.8.2"
99+
quimb = "1.11.0"
100+
cotengra = "0.7.5"
100101
aiohttp = "3.9.5"
101102
fsspec = "2024.6.1"
102103
h5py = "3.11.0"

0 commit comments

Comments
 (0)