cirq-core 1.6.0.dev20250425004112__py3-none-any.whl → 1.6.0.dev20250428201230__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/protocols/decompose_protocol.py +3 -2
- {cirq_core-1.6.0.dev20250425004112.dist-info → cirq_core-1.6.0.dev20250428201230.dist-info}/METADATA +1 -1
- {cirq_core-1.6.0.dev20250425004112.dist-info → cirq_core-1.6.0.dev20250428201230.dist-info}/RECORD +8 -8
- {cirq_core-1.6.0.dev20250425004112.dist-info → cirq_core-1.6.0.dev20250428201230.dist-info}/WHEEL +1 -1
- {cirq_core-1.6.0.dev20250425004112.dist-info → cirq_core-1.6.0.dev20250428201230.dist-info}/licenses/LICENSE +0 -0
- {cirq_core-1.6.0.dev20250425004112.dist-info → cirq_core-1.6.0.dev20250428201230.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
|
@@ -373,7 +373,7 @@ def decompose_once(
|
|
|
373
373
|
|
|
374
374
|
method = getattr(val, '_decompose_with_context_', None)
|
|
375
375
|
decomposed = NotImplemented if method is None else method(*args, **kwargs, context=context)
|
|
376
|
-
if decomposed is NotImplemented or None:
|
|
376
|
+
if decomposed is NotImplemented or decomposed is None:
|
|
377
377
|
method = getattr(val, '_decompose_', None)
|
|
378
378
|
decomposed = NotImplemented if method is None else method(*args, **kwargs)
|
|
379
379
|
|
|
@@ -389,7 +389,8 @@ def decompose_once(
|
|
|
389
389
|
)
|
|
390
390
|
raise TypeError(
|
|
391
391
|
f"object of type {type(val)} does have a _decompose_ method, "
|
|
392
|
-
"but it returned NotImplemented or None."
|
|
392
|
+
"but it returned NotImplemented or None. The value is not "
|
|
393
|
+
"convertible to simpler operations."
|
|
393
394
|
)
|
|
394
395
|
|
|
395
396
|
|
{cirq_core-1.6.0.dev20250425004112.dist-info → cirq_core-1.6.0.dev20250428201230.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cirq-core
|
|
3
|
-
Version: 1.6.0.
|
|
3
|
+
Version: 1.6.0.dev20250428201230
|
|
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.6.0.dev20250425004112.dist-info → cirq_core-1.6.0.dev20250428201230.dist-info}/RECORD
RENAMED
|
@@ -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=
|
|
8
|
-
cirq/_version_test.py,sha256=
|
|
7
|
+
cirq/_version.py,sha256=fDUEPNFIJxKVQnXWU6ROD9HXINmj38mBwOJtfLHymjo,1206
|
|
8
|
+
cirq/_version_test.py,sha256=zgPaAqNUJWs5dkDwoyB837a3gX2cdfjTNynxbFZ9yk8,147
|
|
9
9
|
cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
|
|
10
10
|
cirq/json_resolver_cache.py,sha256=-4KqEEYb6aps-seafnFTHTp3SZc0D8mr4O-pCKIajn8,13653
|
|
11
11
|
cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
|
|
@@ -396,7 +396,7 @@ cirq/protocols/commutes_protocol.py,sha256=n7EQYs2giG3_Kh0bVhOXYQD7we7vTwj8IklBq
|
|
|
396
396
|
cirq/protocols/commutes_protocol_test.py,sha256=h0Lky4jrs7Hxrh4MeHxmxNciuofKGGZ2eC-ceWP8wKU,5849
|
|
397
397
|
cirq/protocols/control_key_protocol.py,sha256=uVn5r4IUKFBVgHbuAz5teeASOnOex4yzeufVsNqWFCc,2644
|
|
398
398
|
cirq/protocols/control_key_protocol_test.py,sha256=190gp4QBu5QpP2doMmzx9RkAkp6VZOOWGOXp0RIFgqc,970
|
|
399
|
-
cirq/protocols/decompose_protocol.py,sha256=
|
|
399
|
+
cirq/protocols/decompose_protocol.py,sha256=eI09q0rJ5XQ3dicvVBqwat9NogX-BEa45xmmvoNPQUQ,18940
|
|
400
400
|
cirq/protocols/decompose_protocol_test.py,sha256=RoCbxol2sEaCfm4SiCvF-rPceWHkmMkDytq-FqNYq1A,16079
|
|
401
401
|
cirq/protocols/equal_up_to_global_phase_protocol.py,sha256=7uF0v5c8pzmj9j7SbgG-dJ9nd4zddKMRf8tPx-Zr8Ys,4070
|
|
402
402
|
cirq/protocols/equal_up_to_global_phase_protocol_test.py,sha256=4lTuxGY4-JfoK9vr_2OUHxr5IAnVeveq3OAZFkLi_eM,5965
|
|
@@ -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.6.0.
|
|
1213
|
-
cirq_core-1.6.0.
|
|
1214
|
-
cirq_core-1.6.0.
|
|
1215
|
-
cirq_core-1.6.0.
|
|
1216
|
-
cirq_core-1.6.0.
|
|
1212
|
+
cirq_core-1.6.0.dev20250428201230.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1213
|
+
cirq_core-1.6.0.dev20250428201230.dist-info/METADATA,sha256=vYQc-ra0N7Y1lM4RHS5CawMTn8EsyblcStCJi-YohLE,4908
|
|
1214
|
+
cirq_core-1.6.0.dev20250428201230.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
|
1215
|
+
cirq_core-1.6.0.dev20250428201230.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1216
|
+
cirq_core-1.6.0.dev20250428201230.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|