cirq-core 1.4.0.dev20231205193004__py3-none-any.whl → 1.4.0.dev20231205195308__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
@@ -1 +1 @@
1
- __version__ = "1.4.0.dev20231205193004"
1
+ __version__ = "1.4.0.dev20231205195308"
@@ -70,6 +70,8 @@ class _SupportsValueEquality(Protocol):
70
70
 
71
71
 
72
72
  def _value_equality_eq(self: _SupportsValueEquality, other: _SupportsValueEquality) -> bool:
73
+ if other is self:
74
+ return True
73
75
  cls_self = self._value_equality_values_cls_()
74
76
  get_cls_other = getattr(other, '_value_equality_values_cls_', None)
75
77
  if get_cls_other is None:
@@ -91,6 +93,8 @@ def _value_equality_hash(self: _SupportsValueEquality) -> int:
91
93
  def _value_equality_approx_eq(
92
94
  self: _SupportsValueEquality, other: _SupportsValueEquality, atol: float
93
95
  ) -> bool:
96
+ if other is self:
97
+ return True
94
98
  cls_self = self._value_equality_values_cls_()
95
99
  get_cls_other = getattr(other, '_value_equality_values_cls_', None)
96
100
  if get_cls_other is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cirq-core
3
- Version: 1.4.0.dev20231205193004
3
+ Version: 1.4.0.dev20231205195308
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,7 +4,7 @@ cirq/_compat_test.py,sha256=iQJYqIP1uyRe8mNUwi2VKccyUaJDFYH7b3Fg6cqQLQw,35053
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=bPusEL63Fj5s7vUPxSsbOc3T7QzxwWpnr6_TEAug_MA,40
7
+ cirq/_version.py,sha256=fdhwsCElG96AMMPO-tMnw0_9FPoBpdsgGeIvQA8NFQE,40
8
8
  cirq/_version_test.py,sha256=yYS6xm5-nuBRQJa9R3n41WdvFtVyY7Lb5Q8bea3VgBI,133
9
9
  cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
10
10
  cirq/json_resolver_cache.py,sha256=S0HaPOCUIck-vNSQlS6KxnQtle6w-2dGuSxkUbJQY9Y,13168
@@ -1116,7 +1116,7 @@ cirq/value/random_state_test.py,sha256=0VyxtuBYgrbHsNCXFZtcgucd5KwI1obMjILH2ZTZ5
1116
1116
  cirq/value/timestamp.py,sha256=u0v5FmnSF_o3NE7aF-xIfQ5cDAVZzaUb-ZMdrxWYg2Y,3649
1117
1117
  cirq/value/timestamp_test.py,sha256=eZt9LLVK6TQy-2Bo1djitUD4at7i7M4lN60bLCx9UPs,4029
1118
1118
  cirq/value/type_alias.py,sha256=YD5m-77rx-hatIEVi5Q5j5tZ2Ji3Mmg4jUY9GT3LscM,1144
1119
- cirq/value/value_equality_attr.py,sha256=JX5urKm22YUi7xIc55foyhov8wSkHqwEHQh5sfbuAuw,10048
1119
+ cirq/value/value_equality_attr.py,sha256=VrSgnx8NLqIdXBSvZaf7V1NQ-zQO_BlM3CgxENNcEE8,10132
1120
1120
  cirq/value/value_equality_attr_test.py,sha256=k_nl5hWxo4yMO6WNu0wU68wyeb-RN9Ua_Ix7s9UTfOE,6412
1121
1121
  cirq/vis/__init__.py,sha256=e3Z1PI-Ay0hDHhIgFZEDwQIuO8C_aayNdL-EByF0J4o,1001
1122
1122
  cirq/vis/density_matrix.py,sha256=kMAPcRh6f0ghZKSe86nB_2iFngrDsw0pNael1EZ5BEw,4819
@@ -1148,8 +1148,8 @@ cirq/work/sampler.py,sha256=JVv1vvfa6EgFiR3UeDk44U186dCrioH2NZXueCgsb9w,19828
1148
1148
  cirq/work/sampler_test.py,sha256=zo1Hj6sn6fLs_WZMxYRApBqgBsldmptn74NL0jhNukc,12325
1149
1149
  cirq/work/zeros_sampler.py,sha256=x1C7cup66a43n-3tm8QjhiqJa07qcJW10FxNp9jJ59Q,2356
1150
1150
  cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
1151
- cirq_core-1.4.0.dev20231205193004.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1152
- cirq_core-1.4.0.dev20231205193004.dist-info/METADATA,sha256=FwG8ECCsAQAUaqeF25XXgH2kY75fBlFEpyFijcsGkYs,2075
1153
- cirq_core-1.4.0.dev20231205193004.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
1154
- cirq_core-1.4.0.dev20231205193004.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1155
- cirq_core-1.4.0.dev20231205193004.dist-info/RECORD,,
1151
+ cirq_core-1.4.0.dev20231205195308.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1152
+ cirq_core-1.4.0.dev20231205195308.dist-info/METADATA,sha256=U_YPhFh7CKMoN5GjbZJ_UGCTb1_GjJEiCFz3WEHTIpY,2075
1153
+ cirq_core-1.4.0.dev20231205195308.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
1154
+ cirq_core-1.4.0.dev20231205195308.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1155
+ cirq_core-1.4.0.dev20231205195308.dist-info/RECORD,,