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 CHANGED
@@ -28,4 +28,4 @@ if sys.version_info < (3, 10, 0): # pragma: no cover
28
28
  'of cirq (e.g. "python -m pip install cirq==1.1.*")'
29
29
  )
30
30
 
31
- __version__ = "1.5.0.dev20250117173817"
31
+ __version__ = "1.5.0.dev20250118022546"
cirq/_version_test.py CHANGED
@@ -3,4 +3,4 @@ import cirq
3
3
 
4
4
 
5
5
  def test_version():
6
- assert cirq.__version__ == "1.5.0.dev20250117173817"
6
+ assert cirq.__version__ == "1.5.0.dev20250118022546"
@@ -170,15 +170,8 @@ def tensor_expectation_value(
170
170
  )
171
171
  else:
172
172
  tn.rank_simplify(inplace=True)
173
- # TODO(#6586): revert when our minimum quimb version has bugfix for quimb#231
174
- # Skip path-info evaluation when TensorNetwork consists of scalar Tensors.
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cirq-core
3
- Version: 1.5.0.dev20250117173817
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
@@ -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=4JjZ9LWu1mIX9RiUoa6Lb2EnefNZPXMsyUja6CLVO0Y,1206
8
- cirq/_version_test.py,sha256=0PiXda5LIa8dyNz14Ivkl5J5H8Ppphz0JyASHPMkqLE,147
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=kMKNYJ3LLBhQXUCp2jXxCVrp6YLi-PDbrLGoPw7FDqA,6990
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.dev20250117173817.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1207
- cirq_core-1.5.0.dev20250117173817.dist-info/METADATA,sha256=jTJeFnIerU4YDDy06CPvinaKV79VVwSTi0aIOsKrUpI,2105
1208
- cirq_core-1.5.0.dev20250117173817.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1209
- cirq_core-1.5.0.dev20250117173817.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1210
- cirq_core-1.5.0.dev20250117173817.dist-info/RECORD,,
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,,