cirq-core 1.5.0.dev20250117173817__py3-none-any.whl → 1.5.0.dev20250118022546__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cirq-core might be problematic. Click here for more details.
- cirq/_version.py +1 -1
- cirq/_version_test.py +1 -1
- cirq/contrib/quimb/state_vector.py +2 -9
- {cirq_core-1.5.0.dev20250117173817.dist-info → cirq_core-1.5.0.dev20250118022546.dist-info}/METADATA +1 -1
- {cirq_core-1.5.0.dev20250117173817.dist-info → cirq_core-1.5.0.dev20250118022546.dist-info}/RECORD +8 -8
- {cirq_core-1.5.0.dev20250117173817.dist-info → cirq_core-1.5.0.dev20250118022546.dist-info}/LICENSE +0 -0
- {cirq_core-1.5.0.dev20250117173817.dist-info → cirq_core-1.5.0.dev20250118022546.dist-info}/WHEEL +0 -0
- {cirq_core-1.5.0.dev20250117173817.dist-info → cirq_core-1.5.0.dev20250118022546.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
|
@@ -170,15 +170,8 @@ def tensor_expectation_value(
|
|
|
170
170
|
)
|
|
171
171
|
else:
|
|
172
172
|
tn.rank_simplify(inplace=True)
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
# Avoid bug in quimb-1.8.0.
|
|
176
|
-
# Ref: https://github.com/jcmgray/quimb/issues/231
|
|
177
|
-
if tn.ind_map:
|
|
178
|
-
path_info = tn.contract(get='path-info')
|
|
179
|
-
ram_gb = path_info.largest_intermediate * 128 / 8 / 1024 / 1024 / 1024
|
|
180
|
-
else:
|
|
181
|
-
ram_gb = 0
|
|
173
|
+
path_info = tn.contract(get='path-info')
|
|
174
|
+
ram_gb = path_info.largest_intermediate * 128 / 8 / 1024 / 1024 / 1024
|
|
182
175
|
if ram_gb > max_ram_gb:
|
|
183
176
|
raise MemoryError(f"We estimate that this contraction will take too much RAM! {ram_gb} GB")
|
|
184
177
|
e_val = tn.contract(inplace=True)
|
{cirq_core-1.5.0.dev20250117173817.dist-info → cirq_core-1.5.0.dev20250118022546.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cirq-core
|
|
3
|
-
Version: 1.5.0.
|
|
3
|
+
Version: 1.5.0.dev20250118022546
|
|
4
4
|
Summary: A framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
|
|
5
5
|
Home-page: http://github.com/quantumlib/cirq
|
|
6
6
|
Author: The Cirq Developers
|
{cirq_core-1.5.0.dev20250117173817.dist-info → cirq_core-1.5.0.dev20250118022546.dist-info}/RECORD
RENAMED
|
@@ -4,8 +4,8 @@ cirq/_compat_test.py,sha256=Qq3ZcfgD-Nb81cEppQdJqhAyrVqXKtfXZYGXT0p-Wh0,34718
|
|
|
4
4
|
cirq/_doc.py,sha256=yDyWUD_2JDS0gShfGRb-rdqRt9-WeL7DhkqX7np0Nko,2879
|
|
5
5
|
cirq/_import.py,sha256=p9gMHJscbtDDkfHOaulvd3Aer0pwUF5AXpL89XR8dNw,8402
|
|
6
6
|
cirq/_import_test.py,sha256=6K_v0riZJXOXUphHNkGA8MY-JcmGlezFaGmvrNhm3OQ,1015
|
|
7
|
-
cirq/_version.py,sha256=
|
|
8
|
-
cirq/_version_test.py,sha256=
|
|
7
|
+
cirq/_version.py,sha256=HofdU0c_Y0zu2LSBM-_b5xKcvzmFj_VhXfofxjs0PHs,1206
|
|
8
|
+
cirq/_version_test.py,sha256=7LMR2XMOQP5rvHtUO0qiufNoeZtEx6wz4-fHYF2H6CE,147
|
|
9
9
|
cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
|
|
10
10
|
cirq/json_resolver_cache.py,sha256=cpbvJMNIh0U-l1mEVb-TqhJUEXfm2vpuR3v432ORSmg,13702
|
|
11
11
|
cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
|
|
@@ -126,7 +126,7 @@ cirq/contrib/quimb/grid_circuits.py,sha256=vuMiMaVXsJi-8ZwPnGcKJVVVYlXGi3O-CCwRV
|
|
|
126
126
|
cirq/contrib/quimb/grid_circuits_test.py,sha256=0Pl_wea4E_HDa9zaKkmazltFdorB4QsaL2rmMrDv8Sw,3223
|
|
127
127
|
cirq/contrib/quimb/mps_simulator.py,sha256=wz7Et54hzoShXtxrXrJ2T2Im5c_hvz7N-SCaAQ3G7qk,24705
|
|
128
128
|
cirq/contrib/quimb/mps_simulator_test.py,sha256=6sjC95Ba4WCFoI6zlJmZCYi8GFwI58wkpXQdAoF2Sms,17007
|
|
129
|
-
cirq/contrib/quimb/state_vector.py,sha256=
|
|
129
|
+
cirq/contrib/quimb/state_vector.py,sha256=WziCD7uMeh-cHI6F6DJCjqFKOtji_us2rf0vQhvtnvc,6686
|
|
130
130
|
cirq/contrib/quimb/state_vector_test.py,sha256=Jwuk_9hL00OA-WDRBafGY16ZHiBJQ18Dn8Bx2l8AAoc,5800
|
|
131
131
|
cirq/contrib/quirk/__init__.py,sha256=0c14toTDI-aopiJjaGre6HGnXA6Vq7zs8Hun9whUEhA,728
|
|
132
132
|
cirq/contrib/quirk/export_to_quirk.py,sha256=DLZU0AcDGJhulrYlOcy2_ac9ITiqZ9bBz8a6ZZwFv8Y,3837
|
|
@@ -1203,8 +1203,8 @@ cirq/work/sampler.py,sha256=bE5tmVkcR6cZZMLETxDfHehdsYUMbx2RvBeIBetehI4,19187
|
|
|
1203
1203
|
cirq/work/sampler_test.py,sha256=hL2UWx3dz2ukZVNxWftiKVvJcQoLplLZdQm-k1QcA40,13282
|
|
1204
1204
|
cirq/work/zeros_sampler.py,sha256=x1C7cup66a43n-3tm8QjhiqJa07qcJW10FxNp9jJ59Q,2356
|
|
1205
1205
|
cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
|
|
1206
|
-
cirq_core-1.5.0.
|
|
1207
|
-
cirq_core-1.5.0.
|
|
1208
|
-
cirq_core-1.5.0.
|
|
1209
|
-
cirq_core-1.5.0.
|
|
1210
|
-
cirq_core-1.5.0.
|
|
1206
|
+
cirq_core-1.5.0.dev20250118022546.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1207
|
+
cirq_core-1.5.0.dev20250118022546.dist-info/METADATA,sha256=dOZhQ5ptBrUZn2T_OrK2VNHdkkpIh8W1uHrqAacrouQ,2105
|
|
1208
|
+
cirq_core-1.5.0.dev20250118022546.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
1209
|
+
cirq_core-1.5.0.dev20250118022546.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1210
|
+
cirq_core-1.5.0.dev20250118022546.dist-info/RECORD,,
|
{cirq_core-1.5.0.dev20250117173817.dist-info → cirq_core-1.5.0.dev20250118022546.dist-info}/LICENSE
RENAMED
|
File without changes
|
{cirq_core-1.5.0.dev20250117173817.dist-info → cirq_core-1.5.0.dev20250118022546.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|