cirq-core 1.7.0.dev20250814172825__py3-none-any.whl → 1.7.0.dev20250814212453__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/interop/quirk/cells/parse.py +3 -3
- cirq/study/resolver.py +1 -1
- {cirq_core-1.7.0.dev20250814172825.dist-info → cirq_core-1.7.0.dev20250814212453.dist-info}/METADATA +1 -1
- {cirq_core-1.7.0.dev20250814172825.dist-info → cirq_core-1.7.0.dev20250814212453.dist-info}/RECORD +9 -9
- {cirq_core-1.7.0.dev20250814172825.dist-info → cirq_core-1.7.0.dev20250814212453.dist-info}/WHEEL +0 -0
- {cirq_core-1.7.0.dev20250814172825.dist-info → cirq_core-1.7.0.dev20250814212453.dist-info}/licenses/LICENSE +0 -0
- {cirq_core-1.7.0.dev20250814172825.dist-info → cirq_core-1.7.0.dev20250814212453.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
|
@@ -147,7 +147,7 @@ def _parse_formula_using_token_map(
|
|
|
147
147
|
def apply(op: str | _HangingNode) -> None:
|
|
148
148
|
assert isinstance(op, _HangingNode)
|
|
149
149
|
if len(vals) < 2:
|
|
150
|
-
raise ValueError("Bad expression: operated on nothing.\ntext={text!r}")
|
|
150
|
+
raise ValueError(f"Bad expression: operated on nothing.\ntext={text!r}")
|
|
151
151
|
b = vals.pop()
|
|
152
152
|
a = vals.pop()
|
|
153
153
|
# Note: vals seems to be _HangingToken
|
|
@@ -157,7 +157,7 @@ def _parse_formula_using_token_map(
|
|
|
157
157
|
def close_paren() -> None:
|
|
158
158
|
while True:
|
|
159
159
|
if len(ops) == 0:
|
|
160
|
-
raise ValueError("Bad expression: unmatched ')'.\ntext={text!r}")
|
|
160
|
+
raise ValueError(f"Bad expression: unmatched ')'.\ntext={text!r}")
|
|
161
161
|
op = ops.pop()
|
|
162
162
|
if op == "(":
|
|
163
163
|
break
|
|
@@ -193,7 +193,7 @@ def _parse_formula_using_token_map(
|
|
|
193
193
|
token_unary_action = token.unary_action
|
|
194
194
|
ops.append(_HangingNode(func=lambda _, b: token_unary_action(b), weight=np.inf))
|
|
195
195
|
elif token.binary_action is not None:
|
|
196
|
-
raise ValueError("Bad expression: binary op in bad spot.\ntext={text!r}")
|
|
196
|
+
raise ValueError(f"Bad expression: binary op in bad spot.\ntext={text!r}")
|
|
197
197
|
|
|
198
198
|
was_valid_end_token = False
|
|
199
199
|
for token in tokens:
|
cirq/study/resolver.py
CHANGED
|
@@ -202,7 +202,7 @@ class ParamResolver:
|
|
|
202
202
|
if value in self._deep_eval_map:
|
|
203
203
|
v = self._deep_eval_map[value]
|
|
204
204
|
if v is _RECURSION_FLAG:
|
|
205
|
-
raise RecursionError('Evaluation of {value} indirectly contains itself.')
|
|
205
|
+
raise RecursionError(f'Evaluation of {value} indirectly contains itself.')
|
|
206
206
|
return v
|
|
207
207
|
|
|
208
208
|
# There isn't a full evaluation for 'value' yet. Until it's ready,
|
{cirq_core-1.7.0.dev20250814172825.dist-info → cirq_core-1.7.0.dev20250814212453.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cirq-core
|
|
3
|
-
Version: 1.7.0.
|
|
3
|
+
Version: 1.7.0.dev20250814212453
|
|
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.7.0.dev20250814172825.dist-info → cirq_core-1.7.0.dev20250814212453.dist-info}/RECORD
RENAMED
|
@@ -4,8 +4,8 @@ cirq/_compat_test.py,sha256=emXpdD5ZvwLRlFAoQB8YatmZyU3b4e9jg6FppMTUhkU,33900
|
|
|
4
4
|
cirq/_doc.py,sha256=BrnoABo1hk5RgB3Cgww4zLHUfiyFny0F1V-tOMCbdaU,2909
|
|
5
5
|
cirq/_import.py,sha256=ixBu4EyGl46Ram2cP3p5eZVEFDW5L2DS-VyTjz4N9iw,8429
|
|
6
6
|
cirq/_import_test.py,sha256=oF4izzOVZLc7NZ0aZHFcGv-r01eiFFt_JORx_x7_D4s,1089
|
|
7
|
-
cirq/_version.py,sha256=
|
|
8
|
-
cirq/_version_test.py,sha256=
|
|
7
|
+
cirq/_version.py,sha256=6NE9MDS8jk2oyHjhv4VmluiMpKucsbVAWW-2BL-Ivs4,1206
|
|
8
|
+
cirq/_version_test.py,sha256=IC4CMDEju1ahbY-9oCKC1LGXybWoCr75zlLMb1ExDgo,155
|
|
9
9
|
cirq/conftest.py,sha256=wSDKNdIQRDfLnXvOCWD3erheOw8JHRhdfQ53EyTUIXg,1239
|
|
10
10
|
cirq/json_resolver_cache.py,sha256=A5DIgFAY1hUNt9vai_C3-gGBv24116CJMzQxMcXOax4,13726
|
|
11
11
|
cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
|
|
@@ -248,7 +248,7 @@ cirq/interop/quirk/cells/input_rotation_cells.py,sha256=TlxRbKQ6IPN8XgA7qocwufgn
|
|
|
248
248
|
cirq/interop/quirk/cells/input_rotation_cells_test.py,sha256=uYIkzwQioX9GxrKrEGgMAVn_OFnmqcT4nWPoK3NGLOQ,6410
|
|
249
249
|
cirq/interop/quirk/cells/measurement_cells.py,sha256=U3I8wEX5BVp8Rlg1MkQAwaRMJ6wl6KGC805RGMoSO8A,1526
|
|
250
250
|
cirq/interop/quirk/cells/measurement_cells_test.py,sha256=DFc5Do4ePN5dGSzmbkXCpAwJ8UTth031uhq9QqpIEKw,1618
|
|
251
|
-
cirq/interop/quirk/cells/parse.py,sha256=
|
|
251
|
+
cirq/interop/quirk/cells/parse.py,sha256=THngP-aipoXuzd9lhEcTo_AhTCCDCybkaooDnwwYyaI,11860
|
|
252
252
|
cirq/interop/quirk/cells/parse_test.py,sha256=w3Vp13EBAcMvpCgWK9fzYwfBpVF4ax6JAqASLmFrYWg,7625
|
|
253
253
|
cirq/interop/quirk/cells/qubit_permutation_cells.py,sha256=2xBQt93gS0aam64ZU54Z8wnraIU5_G8auJLq5-7dBjU,3417
|
|
254
254
|
cirq/interop/quirk/cells/qubit_permutation_cells_test.py,sha256=HEg156HfRnTSciiYEr_H3oIBtvF0GNafKwb2Gy53k5U,4552
|
|
@@ -977,7 +977,7 @@ cirq/sim/clifford/stabilizer_state_ch_form_test.py,sha256=UuvgpwexGB5LzMfaa3Gws2
|
|
|
977
977
|
cirq/study/__init__.py,sha256=OyJhZjBiEkNbtSuSZaOwHGwwnOIGgnn-W8ec0xHhHBI,1647
|
|
978
978
|
cirq/study/flatten_expressions.py,sha256=q9U-AukDri63yC4pF_dEKCX81RfquK4z31ktLkL0gz0,15528
|
|
979
979
|
cirq/study/flatten_expressions_test.py,sha256=ONYcsFoL7Re7IsySwXgnnIlrWCuUu1ds2f90-2uNj1c,6202
|
|
980
|
-
cirq/study/resolver.py,sha256=
|
|
980
|
+
cirq/study/resolver.py,sha256=TozodaKHKobwTKVR3g3DblzPljTrErAxVHryZVwpraQ,11747
|
|
981
981
|
cirq/study/resolver_test.py,sha256=LY1h8RCPY4d_8O5hprRcIf3HFhzODQrMbUrmwmt1fbM,10727
|
|
982
982
|
cirq/study/result.py,sha256=ci9Pg9IW4OMR4aZ4SaQ7TPVTgoSU-1WarjKEXBv2F2g,19214
|
|
983
983
|
cirq/study/result_test.py,sha256=Safhg93E1x7NA--bxvkMwOnTPAlT0VkfF6hdsEKvhEM,15627
|
|
@@ -1234,8 +1234,8 @@ cirq/work/sampler.py,sha256=rxbMWvrhu3gfNSBjZKozw28lLKVvBAS_1EGyPdYe8Xg,19041
|
|
|
1234
1234
|
cirq/work/sampler_test.py,sha256=SsMrRvLDYELyOAWLKISjkdEfrBwLYWRsT6D8WrsLM3Q,13533
|
|
1235
1235
|
cirq/work/zeros_sampler.py,sha256=Fs2JWwq0n9zv7_G5Rm-9vPeHUag7uctcMOHg0JTkZpc,2371
|
|
1236
1236
|
cirq/work/zeros_sampler_test.py,sha256=lQLgQDGBLtfImryys2HzQ2jOSGxHgc7-koVBUhv8qYk,3345
|
|
1237
|
-
cirq_core-1.7.0.
|
|
1238
|
-
cirq_core-1.7.0.
|
|
1239
|
-
cirq_core-1.7.0.
|
|
1240
|
-
cirq_core-1.7.0.
|
|
1241
|
-
cirq_core-1.7.0.
|
|
1237
|
+
cirq_core-1.7.0.dev20250814212453.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1238
|
+
cirq_core-1.7.0.dev20250814212453.dist-info/METADATA,sha256=0Lfc8GRv4lEgrRYGxcVWD24NKefC3_5p6U3m4aD_wEU,4857
|
|
1239
|
+
cirq_core-1.7.0.dev20250814212453.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
1240
|
+
cirq_core-1.7.0.dev20250814212453.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1241
|
+
cirq_core-1.7.0.dev20250814212453.dist-info/RECORD,,
|
{cirq_core-1.7.0.dev20250814172825.dist-info → cirq_core-1.7.0.dev20250814212453.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|