cirq-core 1.5.0.dev20250110201758__py3-none-any.whl → 1.5.0.dev20250112042738__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/json_resolver_cache.py +1 -0
- cirq/ops/gate_operation_test.py +0 -1
- cirq/ops/raw_types.py +3 -0
- cirq/protocols/json_test_data/_InverseCompositeGate.json +10 -0
- cirq/protocols/json_test_data/_InverseCompositeGate.repr +1 -0
- {cirq_core-1.5.0.dev20250110201758.dist-info → cirq_core-1.5.0.dev20250112042738.dist-info}/METADATA +1 -1
- {cirq_core-1.5.0.dev20250110201758.dist-info → cirq_core-1.5.0.dev20250112042738.dist-info}/RECORD +12 -10
- {cirq_core-1.5.0.dev20250110201758.dist-info → cirq_core-1.5.0.dev20250112042738.dist-info}/LICENSE +0 -0
- {cirq_core-1.5.0.dev20250110201758.dist-info → cirq_core-1.5.0.dev20250112042738.dist-info}/WHEEL +0 -0
- {cirq_core-1.5.0.dev20250110201758.dist-info → cirq_core-1.5.0.dev20250112042738.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
cirq/json_resolver_cache.py
CHANGED
|
@@ -150,6 +150,7 @@ def _class_resolver_dictionary() -> Dict[str, ObjectFactory]:
|
|
|
150
150
|
'IdentityGate': cirq.IdentityGate,
|
|
151
151
|
'InitObsSetting': cirq.work.InitObsSetting,
|
|
152
152
|
'InsertionNoiseModel': InsertionNoiseModel,
|
|
153
|
+
'_InverseCompositeGate': raw_types._InverseCompositeGate,
|
|
153
154
|
'KeyCondition': cirq.KeyCondition,
|
|
154
155
|
'KrausChannel': cirq.KrausChannel,
|
|
155
156
|
'LinearDict': cirq.LinearDict,
|
cirq/ops/gate_operation_test.py
CHANGED
|
@@ -506,7 +506,6 @@ def test_gate_to_operation_to_gate_round_trips():
|
|
|
506
506
|
cirq.transformers.measurement_transformers._ConfusionChannel,
|
|
507
507
|
cirq.transformers.measurement_transformers._ModAdd,
|
|
508
508
|
cirq.transformers.routing.visualize_routed_circuit._SwapPrintGate,
|
|
509
|
-
cirq.ops.raw_types._InverseCompositeGate,
|
|
510
509
|
cirq.circuits.qasm_output.QasmTwoQubitGate,
|
|
511
510
|
cirq.ops.MSGate,
|
|
512
511
|
# Interop gates
|
cirq/ops/raw_types.py
CHANGED
|
@@ -1066,6 +1066,9 @@ class _InverseCompositeGate(Gate):
|
|
|
1066
1066
|
def __str__(self) -> str:
|
|
1067
1067
|
return f'{self._original!s}†'
|
|
1068
1068
|
|
|
1069
|
+
def _json_dict_(self) -> Dict[str, Any]:
|
|
1070
|
+
return {'original': self._original}
|
|
1071
|
+
|
|
1069
1072
|
|
|
1070
1073
|
def _validate_qid_shape(val: Any, qubits: Sequence['cirq.Qid']) -> None:
|
|
1071
1074
|
"""Helper function to validate qubits for gates and operations.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(cirq.QubitPermutationGate(permutation=(0, 1, 2))**-1)
|
{cirq_core-1.5.0.dev20250110201758.dist-info → cirq_core-1.5.0.dev20250112042738.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.dev20250112042738
|
|
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.dev20250110201758.dist-info → cirq_core-1.5.0.dev20250112042738.dist-info}/RECORD
RENAMED
|
@@ -4,10 +4,10 @@ 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=kdwC--PuEL-ZQe87RGCHko9ibhw46nfYcwKHqkNZ_O8,1206
|
|
8
|
+
cirq/_version_test.py,sha256=jgfQCHQ6lk5rdx_W1g6Did_sz5N0Ea_ys_rcAI5Ioz4,147
|
|
9
9
|
cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
|
|
10
|
-
cirq/json_resolver_cache.py,sha256=
|
|
10
|
+
cirq/json_resolver_cache.py,sha256=cpbvJMNIh0U-l1mEVb-TqhJUEXfm2vpuR3v432ORSmg,13702
|
|
11
11
|
cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
|
|
12
12
|
cirq/circuits/__init__.py,sha256=HKunqRpZoDmjy1IiK9Cn84MTGT84_PMeQ5VDCPafcWk,1335
|
|
13
13
|
cirq/circuits/_block_diagram_drawer.py,sha256=06ceNV01cMx4irIGYnztfLt_HDNhK3AwfsiNh686hjU,9510
|
|
@@ -297,7 +297,7 @@ cirq/ops/fsim_gate_test.py,sha256=4kFk0ALzTmaskQURHPl6JerNvw8gbZn49nt1_WAjpdY,25
|
|
|
297
297
|
cirq/ops/gate_features.py,sha256=414mSi3kgKSwLOeAG_WEZKn8ZMaLtOowed7os1qSnM4,1049
|
|
298
298
|
cirq/ops/gate_features_test.py,sha256=mnlqJnSpllcOnTUdvmUs_ssnPRhAIgHhKIAK2Z86Dfg,2347
|
|
299
299
|
cirq/ops/gate_operation.py,sha256=IGCyqe9YguIlajnQ3EV61Y0vUxOT_SrRxvNEFwKtUak,13720
|
|
300
|
-
cirq/ops/gate_operation_test.py,sha256=
|
|
300
|
+
cirq/ops/gate_operation_test.py,sha256=3sXTtOR3tkrF6C0jCcDexC0qrHCiqcjRClsvc9NXPq8,17457
|
|
301
301
|
cirq/ops/gateset.py,sha256=Tx1CIlve0RhnX9jHZsCVw7EHtfC6b3drbBncmCEtcsQ,21634
|
|
302
302
|
cirq/ops/gateset_test.py,sha256=BY5UJ1k3NC0jz0d4yocyO1qcQU6e4UbN9mapWE7z7AM,16361
|
|
303
303
|
cirq/ops/global_phase_op.py,sha256=4qYUov6BnBql2_yqUHI9DE60fLiLmCsKI9ZkfMLRRyo,4826
|
|
@@ -359,7 +359,7 @@ 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=
|
|
362
|
+
cirq/ops/raw_types.py,sha256=4RoBhgadVHSsPaq5aaDzgBT--uKo_Pmvd-8yLyF9VHY,41246
|
|
363
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
|
|
@@ -810,6 +810,8 @@ cirq/protocols/json_test_data/Zip.json,sha256=3L4Lazj5oksJCit2cvXhwnNJSDNh2kCGtc
|
|
|
810
810
|
cirq/protocols/json_test_data/Zip.repr,sha256=xlnQ1-q0aTS9t1mMO7vdCSj14QAuff1kTMCTX7TvzIk,103
|
|
811
811
|
cirq/protocols/json_test_data/ZipLongest.json,sha256=NEPlMm8IPrDHBrvyASwq9IZu5fROzqG5u9PiTbe8vXM,280
|
|
812
812
|
cirq/protocols/json_test_data/ZipLongest.repr,sha256=F-Ds7_1eqKgis0YvJqj3LwiXbkH8ZdP9k_ThmWsJL4k,110
|
|
813
|
+
cirq/protocols/json_test_data/_InverseCompositeGate.json,sha256=04Jo6qCe2RCkOZZHP_jMqgSkCP0Y26ZdXOeU9UJuQd8,172
|
|
814
|
+
cirq/protocols/json_test_data/_InverseCompositeGate.repr,sha256=MiivoajhEj7wtXepm3ZKJC2tKKN4LUFbmZBe2WQU4mg,54
|
|
813
815
|
cirq/protocols/json_test_data/_MeasurementSpec.json,sha256=c03X4XXcc9xz8rqLHnlUeEI74JeDcT1AuafZUyqNOtg,1288
|
|
814
816
|
cirq/protocols/json_test_data/_MeasurementSpec.repr,sha256=RO09cD6h-Th8dwtERQ6bPW8tVZFFUW8JngAzc-ASib4,285
|
|
815
817
|
cirq/protocols/json_test_data/_NoNoiseModel.json,sha256=mgmgKTFYinC7Jy6tyVtLzDlNAs57OtgImnGLS3D__TI,44
|
|
@@ -1201,8 +1203,8 @@ cirq/work/sampler.py,sha256=bE5tmVkcR6cZZMLETxDfHehdsYUMbx2RvBeIBetehI4,19187
|
|
|
1201
1203
|
cirq/work/sampler_test.py,sha256=hL2UWx3dz2ukZVNxWftiKVvJcQoLplLZdQm-k1QcA40,13282
|
|
1202
1204
|
cirq/work/zeros_sampler.py,sha256=x1C7cup66a43n-3tm8QjhiqJa07qcJW10FxNp9jJ59Q,2356
|
|
1203
1205
|
cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
|
|
1204
|
-
cirq_core-1.5.0.
|
|
1205
|
-
cirq_core-1.5.0.
|
|
1206
|
-
cirq_core-1.5.0.
|
|
1207
|
-
cirq_core-1.5.0.
|
|
1208
|
-
cirq_core-1.5.0.
|
|
1206
|
+
cirq_core-1.5.0.dev20250112042738.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1207
|
+
cirq_core-1.5.0.dev20250112042738.dist-info/METADATA,sha256=4V_O6q6YTHmUjnKAa-KtiJoA4LkvuPSOKNxpOm7mT1Y,2105
|
|
1208
|
+
cirq_core-1.5.0.dev20250112042738.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
1209
|
+
cirq_core-1.5.0.dev20250112042738.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1210
|
+
cirq_core-1.5.0.dev20250112042738.dist-info/RECORD,,
|
{cirq_core-1.5.0.dev20250110201758.dist-info → cirq_core-1.5.0.dev20250112042738.dist-info}/LICENSE
RENAMED
|
File without changes
|
{cirq_core-1.5.0.dev20250110201758.dist-info → cirq_core-1.5.0.dev20250112042738.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|