cirq-core 1.5.0.dev20250405050852__py3-none-any.whl → 1.5.0.dev20250407174230__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.dev20250405050852"
31
+ __version__ = "1.5.0.dev20250407174230"
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.dev20250405050852"
6
+ assert cirq.__version__ == "1.5.0.dev20250407174230"
cirq/devices/device.py CHANGED
@@ -146,12 +146,12 @@ class DeviceMetadata:
146
146
  return self._qubits_set, graph_equality
147
147
 
148
148
  def _json_dict_(self):
149
- graph_payload = nx.readwrite.json_graph.node_link_data(self._nx_graph)
149
+ graph_payload = nx.readwrite.json_graph.node_link_data(self._nx_graph, edges='links')
150
150
  qubits_payload = sorted(list(self._qubits_set))
151
151
 
152
152
  return {'qubits': qubits_payload, 'nx_graph': graph_payload}
153
153
 
154
154
  @classmethod
155
155
  def _from_json_dict_(cls, qubits: Iterable[cirq.Qid], nx_graph: nx.Graph, **kwargs):
156
- graph_obj = nx.readwrite.json_graph.node_link_graph(nx_graph)
156
+ graph_obj = nx.readwrite.json_graph.node_link_graph(nx_graph, edges='links')
157
157
  return cls(qubits, graph_obj)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cirq-core
3
- Version: 1.5.0.dev20250405050852
3
+ Version: 1.5.0.dev20250407174230
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=0m3sYIyxRNv9jvAo6rzJ-cnbpny3KGnAByrbU7bApgQ,34720
4
4
  cirq/_doc.py,sha256=yDyWUD_2JDS0gShfGRb-rdqRt9-WeL7DhkqX7np0Nko,2879
5
5
  cirq/_import.py,sha256=cfocxtT1BJ4HkfZ-VO8YyIhPP-xfqHDkLrzz6eeO5U0,8421
6
6
  cirq/_import_test.py,sha256=6K_v0riZJXOXUphHNkGA8MY-JcmGlezFaGmvrNhm3OQ,1015
7
- cirq/_version.py,sha256=rrHncQSD1uha8V-ZVfxjGi97KobvlRJIdilCH7DsjIw,1206
8
- cirq/_version_test.py,sha256=ZAHy9pdX7FT9NoLH9SJy53S2EU42iikkMzR--NkmMMg,147
7
+ cirq/_version.py,sha256=D4yuZDKJU2u_A4txdI7XGIzvQOYHtnU0ysIxDSoFYQE,1206
8
+ cirq/_version_test.py,sha256=fkq1P6etzBAAe6cP_VVnB_7DedZY4BXnxqCzAjIJ8AY,147
9
9
  cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
10
10
  cirq/json_resolver_cache.py,sha256=YVamU72nCUT5dG0bhAvRKVX5lXcZMNTwP3H36v-cYag,13615
11
11
  cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
@@ -156,7 +156,7 @@ cirq/contrib/svg/__init__.py,sha256=m7d-CNT2j74uNQdmM2xJ1a7HG6v0FZMt8eAwW4rPJpI,
156
156
  cirq/contrib/svg/svg.py,sha256=QQs--lyGCOY8ynbUIxdJf-i-8X_fU8NRjPIn8ELUnIk,9410
157
157
  cirq/contrib/svg/svg_test.py,sha256=VUuaQGu0ZxnWXgbh7BgZYQK4zyaxdPfBrX9ifJ7quUc,2430
158
158
  cirq/devices/__init__.py,sha256=ZhUNJv7L1V9n3yQCDFJ_CkQNjgT-rJ8MZTfafHqCvhY,2577
159
- cirq/devices/device.py,sha256=wLHSXdB9VuPCKnjBIoioE03zt6PzTAwrULE2_-rmOBQ,5377
159
+ cirq/devices/device.py,sha256=4MXGo_NHHlysc3aK5a29jgdmjJniA6VCum8tUDW4HFw,5407
160
160
  cirq/devices/device_test.py,sha256=9MDFBoTA2AwjhR65Dzmibohecah82yEM7d6w_ujWiSc,1125
161
161
  cirq/devices/grid_device_metadata.py,sha256=V2OWWw0BK6NsfhdoViA9DRnPf92zWa0wUJBRcbhzFeM,8639
162
162
  cirq/devices/grid_device_metadata_test.py,sha256=jUnuBRH_ufJUIp4fA70z7IOXCbIxYAbgfHwYbC-nTJ8,8593
@@ -1209,8 +1209,8 @@ cirq/work/sampler.py,sha256=sW0RhIelGABAKbqTM58shwyyCPgf86JIv9IGdJe__js,19186
1209
1209
  cirq/work/sampler_test.py,sha256=mdk1J-WrvbPUYhY41VhWf9_te4DnXr_XMPcugWwc4-I,13281
1210
1210
  cirq/work/zeros_sampler.py,sha256=8_Ne6dBkDANtTZuql7Eb0Qg_E_P3-_gu-ybFzxTbKAQ,2356
1211
1211
  cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
1212
- cirq_core-1.5.0.dev20250405050852.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1213
- cirq_core-1.5.0.dev20250405050852.dist-info/METADATA,sha256=JbcLAzlUu5jxiad1Wd8Gb9vhve4q05YQnFhfyMBMgLI,4584
1214
- cirq_core-1.5.0.dev20250405050852.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1215
- cirq_core-1.5.0.dev20250405050852.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1216
- cirq_core-1.5.0.dev20250405050852.dist-info/RECORD,,
1212
+ cirq_core-1.5.0.dev20250407174230.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1213
+ cirq_core-1.5.0.dev20250407174230.dist-info/METADATA,sha256=nPDs019i4XgRkCPkMtxUmdo_P3ZpmQPHih3k8pD_p_4,4584
1214
+ cirq_core-1.5.0.dev20250407174230.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1215
+ cirq_core-1.5.0.dev20250407174230.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1216
+ cirq_core-1.5.0.dev20250407174230.dist-info/RECORD,,