cirq-core 1.5.0.dev20241114152643__py3-none-any.whl → 1.5.0.dev20241114192837__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/ops/raw_types.py +3 -1
- cirq/ops/raw_types_test.py +2 -0
- {cirq_core-1.5.0.dev20241114152643.dist-info → cirq_core-1.5.0.dev20241114192837.dist-info}/METADATA +1 -1
- {cirq_core-1.5.0.dev20241114152643.dist-info → cirq_core-1.5.0.dev20241114192837.dist-info}/RECORD +9 -9
- {cirq_core-1.5.0.dev20241114152643.dist-info → cirq_core-1.5.0.dev20241114192837.dist-info}/LICENSE +0 -0
- {cirq_core-1.5.0.dev20241114152643.dist-info → cirq_core-1.5.0.dev20241114192837.dist-info}/WHEEL +0 -0
- {cirq_core-1.5.0.dev20241114152643.dist-info → cirq_core-1.5.0.dev20241114192837.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
cirq/ops/raw_types.py
CHANGED
|
@@ -939,7 +939,9 @@ class TaggedOperation(Operation):
|
|
|
939
939
|
return protocols.trace_distance_bound(self.sub_operation)
|
|
940
940
|
|
|
941
941
|
def _phase_by_(self, phase_turns: float, qubit_index: int) -> 'cirq.Operation':
|
|
942
|
-
return protocols.phase_by(
|
|
942
|
+
return protocols.phase_by(
|
|
943
|
+
self.sub_operation, phase_turns, qubit_index, default=NotImplemented
|
|
944
|
+
)
|
|
943
945
|
|
|
944
946
|
def __pow__(self, exponent: Any) -> 'cirq.Operation':
|
|
945
947
|
return self.sub_operation**exponent
|
cirq/ops/raw_types_test.py
CHANGED
|
@@ -662,6 +662,8 @@ def test_tagged_operation_forwards_protocols():
|
|
|
662
662
|
assert cirq.commutes(tagged_x, clifford_x)
|
|
663
663
|
assert cirq.commutes(clifford_x, tagged_x)
|
|
664
664
|
assert cirq.commutes(tagged_x, tagged_x)
|
|
665
|
+
assert cirq.phase_by(clifford_x, 0.125, 0, default=None) is None
|
|
666
|
+
assert cirq.phase_by(tagged_x, 0.125, 0, default=None) is None
|
|
665
667
|
|
|
666
668
|
assert cirq.trace_distance_bound(y**0.001) == cirq.trace_distance_bound(
|
|
667
669
|
(y**0.001).with_tags(tag)
|
{cirq_core-1.5.0.dev20241114152643.dist-info → cirq_core-1.5.0.dev20241114192837.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cirq-core
|
|
3
|
-
Version: 1.5.0.
|
|
3
|
+
Version: 1.5.0.dev20241114192837
|
|
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.5.0.dev20241114152643.dist-info → cirq_core-1.5.0.dev20241114192837.dist-info}/RECORD
RENAMED
|
@@ -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=
|
|
8
|
-
cirq/_version_test.py,sha256=
|
|
7
|
+
cirq/_version.py,sha256=a5XWmY62A4WcIcIUMEr4caNeBqjkOJNIOP4oqqjKtI4,1206
|
|
8
|
+
cirq/_version_test.py,sha256=_cLt6HPWC3iBuhRJfxLsGiSGkZ_y2XnbOPJjtw9aj-E,147
|
|
9
9
|
cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
|
|
10
10
|
cirq/json_resolver_cache.py,sha256=ytePZtNZgKjOF2NiVpUTuotB-JKZmQNOFIFdvXqsxHw,13271
|
|
11
11
|
cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
|
|
@@ -359,8 +359,8 @@ cirq/ops/qubit_order_or_list.py,sha256=WVnhQcOYCgAhiB4t47Kji-pN1tnvs--X5deCQwwGV
|
|
|
359
359
|
cirq/ops/qubit_order_test.py,sha256=B9xMIxlaI7YjRUNA6AkHJuUCFejGYw-lT7ZaSl31yTU,4238
|
|
360
360
|
cirq/ops/random_gate_channel.py,sha256=gKDqZa6AwdCIuuh2UOvO5oxCdGRDOInA7fI3ZLQ-LTY,5121
|
|
361
361
|
cirq/ops/random_gate_channel_test.py,sha256=U3EAaAlCZkgFIYxqwcSkPsaVGrKA2PSeG_DK2ou--AE,8606
|
|
362
|
-
cirq/ops/raw_types.py,sha256=
|
|
363
|
-
cirq/ops/raw_types_test.py,sha256=
|
|
362
|
+
cirq/ops/raw_types.py,sha256=ISnjY0TPcle_qe6uzHCF_4d_SQevJ4lSWJWGR36lYuU,40309
|
|
363
|
+
cirq/ops/raw_types_test.py,sha256=bZUOQSfPDZgH6Z98PKX0oBP2iWXwSh3b9dty1dFcFfM,33620
|
|
364
364
|
cirq/ops/state_preparation_channel.py,sha256=PjVtoLbjBAy_XqnFAY40Am-NifeuCFVVLW6RJxph5sQ,4778
|
|
365
365
|
cirq/ops/state_preparation_channel_test.py,sha256=yKUvLw_ft6cvIgRJcFQ779wZS-V6V-pzQq-rZRWdCmU,5922
|
|
366
366
|
cirq/ops/swap_gates.py,sha256=9eJMGyOiA8W9k2xJ_w5PaLOCHGvB6C4T2RLddIZ5qE8,11601
|
|
@@ -1187,8 +1187,8 @@ cirq/work/sampler.py,sha256=y6qtCpAwO8SqZ_JKU8PwlbMLHpJskNPqGWD_pNbyZew,19779
|
|
|
1187
1187
|
cirq/work/sampler_test.py,sha256=hL2UWx3dz2ukZVNxWftiKVvJcQoLplLZdQm-k1QcA40,13282
|
|
1188
1188
|
cirq/work/zeros_sampler.py,sha256=x1C7cup66a43n-3tm8QjhiqJa07qcJW10FxNp9jJ59Q,2356
|
|
1189
1189
|
cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
|
|
1190
|
-
cirq_core-1.5.0.
|
|
1191
|
-
cirq_core-1.5.0.
|
|
1192
|
-
cirq_core-1.5.0.
|
|
1193
|
-
cirq_core-1.5.0.
|
|
1194
|
-
cirq_core-1.5.0.
|
|
1190
|
+
cirq_core-1.5.0.dev20241114192837.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1191
|
+
cirq_core-1.5.0.dev20241114192837.dist-info/METADATA,sha256=QRbhTshD84S2v5n3Y-_mKfSdGMSAnF7XiTE0avgR3lI,1992
|
|
1192
|
+
cirq_core-1.5.0.dev20241114192837.dist-info/WHEEL,sha256=bFJAMchF8aTQGUgMZzHJyDDMPTO3ToJ7x23SLJa1SVo,92
|
|
1193
|
+
cirq_core-1.5.0.dev20241114192837.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1194
|
+
cirq_core-1.5.0.dev20241114192837.dist-info/RECORD,,
|
{cirq_core-1.5.0.dev20241114152643.dist-info → cirq_core-1.5.0.dev20241114192837.dist-info}/LICENSE
RENAMED
|
File without changes
|
{cirq_core-1.5.0.dev20241114152643.dist-info → cirq_core-1.5.0.dev20241114192837.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|