cirq-core 1.6.0.dev20250424231143__py3-none-any.whl → 1.6.0.dev20250425004112__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/dense_pauli_string.py +28 -28
- cirq/ops/diagonal_gate.py +12 -14
- cirq/ops/eigen_gate.py +8 -5
- cirq/ops/fourier_transform.py +8 -12
- cirq/ops/fsim_gate.py +38 -37
- cirq/ops/gate_operation.py +25 -27
- cirq/ops/gateset.py +7 -5
- cirq/ops/global_phase_op.py +11 -11
- cirq/ops/greedy_qubit_manager.py +9 -7
- cirq/ops/identity.py +8 -6
- cirq/ops/kraus_channel.py +7 -4
- cirq/ops/linear_combinations.py +36 -34
- cirq/ops/matrix_gates.py +10 -10
- cirq/ops/measure_util.py +6 -4
- cirq/ops/measurement_gate.py +12 -12
- cirq/ops/mixed_unitary_channel.py +7 -4
- cirq/ops/named_qubit.py +8 -5
- cirq/ops/op_tree.py +4 -2
- cirq/ops/parallel_gate.py +11 -13
- cirq/ops/parity_gates.py +15 -17
- cirq/ops/pauli_gates.py +20 -17
- cirq/ops/pauli_interaction_gate.py +10 -14
- cirq/ops/pauli_measurement_gate.py +20 -20
- cirq/ops/pauli_string.py +76 -79
- cirq/ops/pauli_string_phasor.py +30 -30
- cirq/ops/pauli_string_raw_types.py +6 -4
- cirq/ops/pauli_sum_exponential.py +11 -11
- cirq/ops/permutation_gate.py +5 -3
- cirq/ops/phased_iswap_gate.py +8 -8
- cirq/ops/phased_x_gate.py +8 -9
- cirq/ops/phased_x_z_gate.py +15 -13
- cirq/ops/qid_util.py +6 -4
- cirq/ops/qubit_manager.py +9 -7
- cirq/ops/random_gate_channel.py +9 -7
- cirq/ops/raw_types.py +70 -72
- cirq/ops/raw_types_test.py +10 -6
- cirq/ops/state_preparation_channel.py +4 -4
- cirq/ops/swap_gates.py +7 -9
- cirq/ops/three_qubit_gates.py +22 -28
- cirq/ops/two_qubit_diagonal_gate.py +8 -8
- cirq/ops/uniform_superposition_gate.py +3 -1
- cirq/ops/wait_gate.py +12 -9
- cirq/protocols/act_on_protocol.py +6 -4
- cirq/protocols/act_on_protocol_test.py +8 -5
- cirq/protocols/apply_unitary_protocol.py +10 -8
- cirq/protocols/circuit_diagram_info_protocol.py +10 -8
- cirq/protocols/control_key_protocol.py +5 -3
- cirq/protocols/decompose_protocol.py +25 -22
- cirq/protocols/decompose_protocol_test.py +5 -2
- cirq/protocols/inverse_protocol.py +10 -8
- {cirq_core-1.6.0.dev20250424231143.dist-info → cirq_core-1.6.0.dev20250425004112.dist-info}/METADATA +1 -1
- {cirq_core-1.6.0.dev20250424231143.dist-info → cirq_core-1.6.0.dev20250425004112.dist-info}/RECORD +57 -57
- {cirq_core-1.6.0.dev20250424231143.dist-info → cirq_core-1.6.0.dev20250425004112.dist-info}/WHEEL +0 -0
- {cirq_core-1.6.0.dev20250424231143.dist-info → cirq_core-1.6.0.dev20250425004112.dist-info}/licenses/LICENSE +0 -0
- {cirq_core-1.6.0.dev20250424231143.dist-info → cirq_core-1.6.0.dev20250425004112.dist-info}/top_level.txt +0 -0
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
14
17
|
import dataclasses
|
|
15
18
|
import inspect
|
|
16
19
|
import itertools
|
|
@@ -55,7 +58,7 @@ _CONTEXT_COUNTER = itertools.count() # Use _reset_context_counter() to reset th
|
|
|
55
58
|
@runtime_checkable
|
|
56
59
|
class OpDecomposerWithContext(Protocol):
|
|
57
60
|
def __call__(
|
|
58
|
-
self, __op:
|
|
61
|
+
self, __op: cirq.Operation, *, context: Optional[cirq.DecompositionContext] = None
|
|
59
62
|
) -> DecomposeResult: ...
|
|
60
63
|
|
|
61
64
|
|
|
@@ -71,7 +74,7 @@ DECOMPOSE_TARGET_GATESET = ops.Gateset(
|
|
|
71
74
|
)
|
|
72
75
|
|
|
73
76
|
|
|
74
|
-
def _value_error_describing_bad_operation(op:
|
|
77
|
+
def _value_error_describing_bad_operation(op: cirq.Operation) -> ValueError:
|
|
75
78
|
return ValueError(f"Operation doesn't satisfy the given `keep` but can't be decomposed: {op!r}")
|
|
76
79
|
|
|
77
80
|
|
|
@@ -84,7 +87,7 @@ class DecompositionContext:
|
|
|
84
87
|
part of the decompose protocol.
|
|
85
88
|
"""
|
|
86
89
|
|
|
87
|
-
qubit_manager:
|
|
90
|
+
qubit_manager: cirq.QubitManager
|
|
88
91
|
|
|
89
92
|
|
|
90
93
|
class SupportsDecompose(Protocol):
|
|
@@ -151,11 +154,11 @@ class SupportsDecomposeWithQubits(Protocol):
|
|
|
151
154
|
implements `SupportsDecomposeWithQubits`.
|
|
152
155
|
"""
|
|
153
156
|
|
|
154
|
-
def _decompose_(self, qubits: Tuple[
|
|
157
|
+
def _decompose_(self, qubits: Tuple[cirq.Qid, ...]) -> DecomposeResult:
|
|
155
158
|
pass
|
|
156
159
|
|
|
157
160
|
def _decompose_with_context_(
|
|
158
|
-
self, qubits: Tuple[
|
|
161
|
+
self, qubits: Tuple[cirq.Qid, ...], *, context: Optional[DecompositionContext] = None
|
|
159
162
|
) -> DecomposeResult:
|
|
160
163
|
pass
|
|
161
164
|
|
|
@@ -177,12 +180,12 @@ class _DecomposeArgs:
|
|
|
177
180
|
context: Optional[DecompositionContext]
|
|
178
181
|
intercepting_decomposer: Optional[OpDecomposer]
|
|
179
182
|
fallback_decomposer: Optional[OpDecomposer]
|
|
180
|
-
keep: Optional[Callable[[
|
|
181
|
-
on_stuck_raise: Union[None, Exception, Callable[[
|
|
183
|
+
keep: Optional[Callable[[cirq.Operation], bool]]
|
|
184
|
+
on_stuck_raise: Union[None, Exception, Callable[[cirq.Operation], Optional[Exception]]]
|
|
182
185
|
preserve_structure: bool
|
|
183
186
|
|
|
184
187
|
|
|
185
|
-
def _decompose_dfs(item: Any, args: _DecomposeArgs) -> Iterator[
|
|
188
|
+
def _decompose_dfs(item: Any, args: _DecomposeArgs) -> Iterator[cirq.Operation]:
|
|
186
189
|
from cirq.circuits import CircuitOperation, FrozenCircuit
|
|
187
190
|
|
|
188
191
|
if isinstance(item, ops.Operation):
|
|
@@ -226,13 +229,13 @@ def decompose(
|
|
|
226
229
|
*,
|
|
227
230
|
intercepting_decomposer: Optional[OpDecomposer] = None,
|
|
228
231
|
fallback_decomposer: Optional[OpDecomposer] = None,
|
|
229
|
-
keep: Optional[Callable[[
|
|
232
|
+
keep: Optional[Callable[[cirq.Operation], bool]] = None,
|
|
230
233
|
on_stuck_raise: Union[
|
|
231
|
-
None, Exception, Callable[[
|
|
234
|
+
None, Exception, Callable[[cirq.Operation], Optional[Exception]]
|
|
232
235
|
] = _value_error_describing_bad_operation,
|
|
233
236
|
preserve_structure: bool = False,
|
|
234
237
|
context: Optional[DecompositionContext] = None,
|
|
235
|
-
) -> List[
|
|
238
|
+
) -> List[cirq.Operation]:
|
|
236
239
|
"""Recursively decomposes a value into `cirq.Operation`s meeting a criteria.
|
|
237
240
|
|
|
238
241
|
Args:
|
|
@@ -313,14 +316,14 @@ def decompose(
|
|
|
313
316
|
|
|
314
317
|
|
|
315
318
|
@overload
|
|
316
|
-
def decompose_once(val: Any, **kwargs) -> List[
|
|
319
|
+
def decompose_once(val: Any, **kwargs) -> List[cirq.Operation]:
|
|
317
320
|
pass
|
|
318
321
|
|
|
319
322
|
|
|
320
323
|
@overload
|
|
321
324
|
def decompose_once(
|
|
322
325
|
val: Any, default: TDefault, *args, flatten: bool = True, **kwargs
|
|
323
|
-
) -> Union[TDefault, List[
|
|
326
|
+
) -> Union[TDefault, List[cirq.Operation]]:
|
|
324
327
|
pass
|
|
325
328
|
|
|
326
329
|
|
|
@@ -393,32 +396,32 @@ def decompose_once(
|
|
|
393
396
|
@overload
|
|
394
397
|
def decompose_once_with_qubits(
|
|
395
398
|
val: Any,
|
|
396
|
-
qubits: Iterable[
|
|
399
|
+
qubits: Iterable[cirq.Qid],
|
|
397
400
|
*,
|
|
398
401
|
flatten: bool = True,
|
|
399
|
-
context: Optional[
|
|
400
|
-
) -> List[
|
|
402
|
+
context: Optional[DecompositionContext] = None,
|
|
403
|
+
) -> List[cirq.Operation]:
|
|
401
404
|
pass
|
|
402
405
|
|
|
403
406
|
|
|
404
407
|
@overload
|
|
405
408
|
def decompose_once_with_qubits(
|
|
406
409
|
val: Any,
|
|
407
|
-
qubits: Iterable[
|
|
410
|
+
qubits: Iterable[cirq.Qid],
|
|
408
411
|
default: Optional[TDefault],
|
|
409
412
|
*,
|
|
410
413
|
flatten: bool = True,
|
|
411
|
-
context: Optional[
|
|
412
|
-
) -> Union[TDefault, List[
|
|
414
|
+
context: Optional[DecompositionContext] = None,
|
|
415
|
+
) -> Union[TDefault, List[cirq.Operation]]:
|
|
413
416
|
pass
|
|
414
417
|
|
|
415
418
|
|
|
416
419
|
def decompose_once_with_qubits(
|
|
417
420
|
val: Any,
|
|
418
|
-
qubits: Iterable[
|
|
421
|
+
qubits: Iterable[cirq.Qid],
|
|
419
422
|
default=RaiseTypeErrorIfNotProvided,
|
|
420
423
|
flatten: bool = True,
|
|
421
|
-
context: Optional[
|
|
424
|
+
context: Optional[DecompositionContext] = None,
|
|
422
425
|
):
|
|
423
426
|
"""Decomposes a value into operations on the given qubits.
|
|
424
427
|
|
|
@@ -457,7 +460,7 @@ def decompose_once_with_qubits(
|
|
|
457
460
|
|
|
458
461
|
def _try_decompose_into_operations_and_qubits(
|
|
459
462
|
val: Any,
|
|
460
|
-
) -> Tuple[Optional[List[
|
|
463
|
+
) -> Tuple[Optional[List[cirq.Operation]], Sequence[cirq.Qid], Tuple[int, ...]]:
|
|
461
464
|
"""Returns the value's decomposition (if any) and the qubits it applies to."""
|
|
462
465
|
|
|
463
466
|
if isinstance(val, ops.Gate):
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
14
17
|
import itertools
|
|
15
18
|
from typing import Optional
|
|
16
19
|
from unittest import mock
|
|
@@ -282,11 +285,11 @@ def test_decompose_preserving_structure_forwards_args(decompose_mode):
|
|
|
282
285
|
|
|
283
286
|
circuit = cirq.Circuit(cop2, cirq.measure(a, b, key='m'))
|
|
284
287
|
|
|
285
|
-
def keep_func(op:
|
|
288
|
+
def keep_func(op: cirq.Operation):
|
|
286
289
|
# Only decompose SWAP and X.
|
|
287
290
|
return not isinstance(op.gate, (cirq.SwapPowGate, cirq.XPowGate))
|
|
288
291
|
|
|
289
|
-
def x_to_hzh(op:
|
|
292
|
+
def x_to_hzh(op: cirq.Operation):
|
|
290
293
|
if isinstance(op.gate, cirq.XPowGate) and op.gate.exponent == 1:
|
|
291
294
|
return [cirq.H(*op.qubits), cirq.Z(*op.qubits), cirq.H(*op.qubits)]
|
|
292
295
|
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
15
17
|
from typing import Any, Iterable, List, overload, Tuple, TYPE_CHECKING, TypeVar, Union
|
|
16
18
|
|
|
17
19
|
from cirq import ops
|
|
@@ -28,42 +30,42 @@ TDefault = TypeVar('TDefault')
|
|
|
28
30
|
|
|
29
31
|
# pylint: disable=function-redefined
|
|
30
32
|
@overload
|
|
31
|
-
def inverse(val:
|
|
33
|
+
def inverse(val: cirq.Gate) -> cirq.Gate:
|
|
32
34
|
pass
|
|
33
35
|
|
|
34
36
|
|
|
35
37
|
@overload
|
|
36
|
-
def inverse(val:
|
|
38
|
+
def inverse(val: cirq.Operation) -> cirq.Operation:
|
|
37
39
|
pass
|
|
38
40
|
|
|
39
41
|
|
|
40
42
|
@overload
|
|
41
|
-
def inverse(val:
|
|
43
|
+
def inverse(val: cirq.Circuit) -> cirq.Circuit:
|
|
42
44
|
pass
|
|
43
45
|
|
|
44
46
|
|
|
45
47
|
@overload
|
|
46
|
-
def inverse(val:
|
|
48
|
+
def inverse(val: cirq.OP_TREE) -> cirq.OP_TREE:
|
|
47
49
|
pass
|
|
48
50
|
|
|
49
51
|
|
|
50
52
|
@overload
|
|
51
|
-
def inverse(val:
|
|
53
|
+
def inverse(val: cirq.Gate, default: TDefault) -> Union[TDefault, cirq.Gate]:
|
|
52
54
|
pass
|
|
53
55
|
|
|
54
56
|
|
|
55
57
|
@overload
|
|
56
|
-
def inverse(val:
|
|
58
|
+
def inverse(val: cirq.Operation, default: TDefault) -> Union[TDefault, cirq.Operation]:
|
|
57
59
|
pass
|
|
58
60
|
|
|
59
61
|
|
|
60
62
|
@overload
|
|
61
|
-
def inverse(val:
|
|
63
|
+
def inverse(val: cirq.Circuit, default: TDefault) -> Union[TDefault, cirq.Circuit]:
|
|
62
64
|
pass
|
|
63
65
|
|
|
64
66
|
|
|
65
67
|
@overload
|
|
66
|
-
def inverse(val:
|
|
68
|
+
def inverse(val: cirq.OP_TREE, default: TDefault) -> Union[TDefault, cirq.OP_TREE]:
|
|
67
69
|
pass
|
|
68
70
|
|
|
69
71
|
|
{cirq_core-1.6.0.dev20250424231143.dist-info → cirq_core-1.6.0.dev20250425004112.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.dev20250425004112
|
|
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.dev20250424231143.dist-info → cirq_core-1.6.0.dev20250425004112.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=yZTIwZI_GzdmKdoL4z3o7gR2Mh_CoWGENELgFsWTPR8,1206
|
|
8
|
+
cirq/_version_test.py,sha256=40MBwaio2eMOPCplo7UOBYb_MQ3qJJJ-qSVSYzCoumo,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
|
|
@@ -288,116 +288,116 @@ cirq/ops/controlled_gate.py,sha256=w6llkldlz_ap8rvtXCF7NIPFkMKbJJQgJXe2tFY8LBg,1
|
|
|
288
288
|
cirq/ops/controlled_gate_test.py,sha256=8PprvTdGMfBQOOQ-BpW_decRQU39P2gM_xJfX-fawMo,25512
|
|
289
289
|
cirq/ops/controlled_operation.py,sha256=VJt4-plwcA60fclTVbT26edL_9ReNl_AfGplB2126Hk,14103
|
|
290
290
|
cirq/ops/controlled_operation_test.py,sha256=kHdHGR6Q6ROgUJqG4DSKOvyrLJhi-u4uMh-rM3QRJ8o,16525
|
|
291
|
-
cirq/ops/dense_pauli_string.py,sha256
|
|
291
|
+
cirq/ops/dense_pauli_string.py,sha256=-cnQs2z9qf45KRqWC_ppqsCfJFdtpjbaw5kQio8-XMc,24435
|
|
292
292
|
cirq/ops/dense_pauli_string_test.py,sha256=duvgzhgTV9wuem4kDSwtL62SEUCThkz1tdP984-C4_s,21504
|
|
293
|
-
cirq/ops/diagonal_gate.py,sha256=
|
|
293
|
+
cirq/ops/diagonal_gate.py,sha256=dUoaiQe86crB1STyzlL5k9W6R_3JRlOrOTvxUm-Dymc,8999
|
|
294
294
|
cirq/ops/diagonal_gate_test.py,sha256=wsPZWhImVGNrEg1mYnXsO4nJ6VziDBfvEilAFtJJ8b4,6224
|
|
295
|
-
cirq/ops/eigen_gate.py,sha256=
|
|
295
|
+
cirq/ops/eigen_gate.py,sha256=ZQWJqUR-aX_5plVnQpjPrpdSIu3I8PE-gE1Rn2BL07s,17519
|
|
296
296
|
cirq/ops/eigen_gate_test.py,sha256=D9ETnoJ4NRcz9EvzQOFra84bonph8optp7zhW57rgWA,16139
|
|
297
|
-
cirq/ops/fourier_transform.py,sha256=
|
|
297
|
+
cirq/ops/fourier_transform.py,sha256=My5E49ox7sXTEXYP6QXSWIgsloOtX3rnAu1f1eFSHx0,7497
|
|
298
298
|
cirq/ops/fourier_transform_test.py,sha256=mtWhiC_Tg60uNh7mhhMb02cckGfNC_Tjte-Q4gRcF8c,6226
|
|
299
|
-
cirq/ops/fsim_gate.py,sha256=
|
|
299
|
+
cirq/ops/fsim_gate.py,sha256=pZiUI7GrLKSUtQs-U2sA0efPFfyILLS8BWddSfhZQCc,20073
|
|
300
300
|
cirq/ops/fsim_gate_test.py,sha256=4kFk0ALzTmaskQURHPl6JerNvw8gbZn49nt1_WAjpdY,25671
|
|
301
301
|
cirq/ops/gate_features.py,sha256=414mSi3kgKSwLOeAG_WEZKn8ZMaLtOowed7os1qSnM4,1049
|
|
302
302
|
cirq/ops/gate_features_test.py,sha256=mnlqJnSpllcOnTUdvmUs_ssnPRhAIgHhKIAK2Z86Dfg,2347
|
|
303
|
-
cirq/ops/gate_operation.py,sha256=
|
|
303
|
+
cirq/ops/gate_operation.py,sha256=_JbRX0FkDK8HzAwE9RY6b5YVaRbpZwJnNV9BrWJ2kTY,13680
|
|
304
304
|
cirq/ops/gate_operation_test.py,sha256=24RJmqG65_Z2ZeO1jnVT_VCKwfHcxP25Zfh3_JmjWpk,17517
|
|
305
|
-
cirq/ops/gateset.py,sha256=
|
|
305
|
+
cirq/ops/gateset.py,sha256=GqBz0R7sMUJaW9Pe7UCdhuM4lLE8RzrRkb8F97ePWnA,21660
|
|
306
306
|
cirq/ops/gateset_test.py,sha256=XqEgjuUga5gGUjHRBIbA6Pe7JCgCX-UBxrnXALMvrxM,16557
|
|
307
|
-
cirq/ops/global_phase_op.py,sha256=
|
|
307
|
+
cirq/ops/global_phase_op.py,sha256=hgXUGUEDQTJwdvRrkSZbVQsrjbrfdT6OxTER1jl440Q,4889
|
|
308
308
|
cirq/ops/global_phase_op_test.py,sha256=C-YMN5ja9IKKgmwC5w2sPDBpFr8p0pJrE5WFikCVZOg,9833
|
|
309
|
-
cirq/ops/greedy_qubit_manager.py,sha256=
|
|
309
|
+
cirq/ops/greedy_qubit_manager.py,sha256=8csh_mmSgIQ5qzWw5xHpZ3mR7Io7vpTeG0n6qazA6jo,4061
|
|
310
310
|
cirq/ops/greedy_qubit_manager_test.py,sha256=aixmKja9mp0WvLQE92aFpQLVEwJilsKV-5YWDO2a4_s,3404
|
|
311
|
-
cirq/ops/identity.py,sha256=
|
|
311
|
+
cirq/ops/identity.py,sha256=VaIVbO-4rIAxgiud9TQZDtI0EwTG1qyxD_Rg-pBsq6g,5910
|
|
312
312
|
cirq/ops/identity_test.py,sha256=OIrm8v4wBVq8bbAGZ-f5TERt8Hl6aD1bL8iHCOEhzNo,7939
|
|
313
|
-
cirq/ops/kraus_channel.py,sha256=
|
|
313
|
+
cirq/ops/kraus_channel.py,sha256=mA8iCmdZIavIc7vcGqSeJ5mYm48nIOTTQu789nfMjGY,5113
|
|
314
314
|
cirq/ops/kraus_channel_test.py,sha256=-E6ExIO3P0y2T74Gx-RMu0kLpy1RWP9wH6UGDI21oFU,4820
|
|
315
|
-
cirq/ops/linear_combinations.py,sha256=
|
|
315
|
+
cirq/ops/linear_combinations.py,sha256=cU4evv8-VL23Y7AN2yVkjy32tXXdqJoEq634SELJgHM,39872
|
|
316
316
|
cirq/ops/linear_combinations_test.py,sha256=ip-wN8T8nUQviD3ql42eet7k_MQ6DVUfIK8aX-_ygOs,67217
|
|
317
|
-
cirq/ops/matrix_gates.py,sha256=
|
|
317
|
+
cirq/ops/matrix_gates.py,sha256=bVN8u5wPEvalZfM6Y6MICEqQs4gZUnENcktc3r56NHs,10347
|
|
318
318
|
cirq/ops/matrix_gates_test.py,sha256=m5rMwq_sqVvsmkc5opVr3Ikd1ERuULmSRNAvGZUg7ds,14224
|
|
319
|
-
cirq/ops/measure_util.py,sha256=
|
|
319
|
+
cirq/ops/measure_util.py,sha256=WOOir3lrj-Icebx-XvZFe0vd74XbQuoCxVb-05qVeDg,7418
|
|
320
320
|
cirq/ops/measure_util_test.py,sha256=Yzlced4nb4DHO-0cM_a-QZGO_3R8oqExkpIALN_pG4A,5307
|
|
321
|
-
cirq/ops/measurement_gate.py,sha256=
|
|
321
|
+
cirq/ops/measurement_gate.py,sha256=0088IVwTUItpY_1I2iskeARSDlyqRV_Kh7QTIACOj-I,11987
|
|
322
322
|
cirq/ops/measurement_gate_test.py,sha256=1DenBunnVVqx8uWxhdi4rCMQHxmQ3X7hqPdsB27FUHA,18299
|
|
323
|
-
cirq/ops/mixed_unitary_channel.py,sha256=
|
|
323
|
+
cirq/ops/mixed_unitary_channel.py,sha256=GdpKExjLIBrhqpyb21YM0AiNQgxA5TqUgkjam7SVDak,5287
|
|
324
324
|
cirq/ops/mixed_unitary_channel_test.py,sha256=bP3fUC7dtIFOZaJd04Ovz-lChzLsXF1Jsq8tFlQNpfE,5152
|
|
325
|
-
cirq/ops/named_qubit.py,sha256=
|
|
325
|
+
cirq/ops/named_qubit.py,sha256=2vAtNvZNhsjyigRDp2PMp2LCdF2jYAGmC8Zo6_IUVuw,10032
|
|
326
326
|
cirq/ops/named_qubit_test.py,sha256=mtJVRe4JzFSNckMQJSGCj1P0VBtpGh--6YxKbIEE3TQ,5221
|
|
327
|
-
cirq/ops/op_tree.py,sha256=
|
|
327
|
+
cirq/ops/op_tree.py,sha256=Voltj5mC0yaN_peWkOsn5RTAfKTkHu4pT_9MGGDdiXc,5308
|
|
328
328
|
cirq/ops/op_tree_test.py,sha256=FzDaDjooimUEYvCvXrTCXbR2Je8QjRTZ0VXoeI7AGyo,5700
|
|
329
|
-
cirq/ops/parallel_gate.py,sha256=
|
|
329
|
+
cirq/ops/parallel_gate.py,sha256=S_Kp9S2gdAa_8RqGSDusjPG00DEikK5tbtL3WCTH6_o,6296
|
|
330
330
|
cirq/ops/parallel_gate_test.py,sha256=lWCLnlEhs_LDNgewp7e3uN-23Q513i4G0JMva96_GiE,6299
|
|
331
|
-
cirq/ops/parity_gates.py,sha256=
|
|
331
|
+
cirq/ops/parity_gates.py,sha256=cm3KTku0wBrawbyHCzOuQOpYVbeahaZfIrDkxNBeB4s,14355
|
|
332
332
|
cirq/ops/parity_gates_test.py,sha256=43k4Q6YIm2wOVxaAgp02ki0zpAQ271_lcG2GbWR4TJc,11289
|
|
333
|
-
cirq/ops/pauli_gates.py,sha256=
|
|
333
|
+
cirq/ops/pauli_gates.py,sha256=Wfpa-_7tMGNnHcLxUdC9Zqsp2dzxW1piPgj34UAq1Is,6820
|
|
334
334
|
cirq/ops/pauli_gates_test.py,sha256=3AX2hzr-xeXrZUeSr-yBFYhbLeHK1qEh7_Bq9vGUAgo,7753
|
|
335
|
-
cirq/ops/pauli_interaction_gate.py,sha256=
|
|
335
|
+
cirq/ops/pauli_interaction_gate.py,sha256=hGYmC1i8UCDDJ6e3ML6M8GeW-byq_dLoNv5UvB4ECao,5558
|
|
336
336
|
cirq/ops/pauli_interaction_gate_test.py,sha256=adnIIgCvFzO-inNaN77HER-WJ0hg6L63_HfiT60oV3M,4543
|
|
337
|
-
cirq/ops/pauli_measurement_gate.py,sha256=
|
|
337
|
+
cirq/ops/pauli_measurement_gate.py,sha256=R64b1zbnwecKTkZHXzOcro21OubDu-wibRk5ppwFfLk,7217
|
|
338
338
|
cirq/ops/pauli_measurement_gate_test.py,sha256=acKmYvwSQniIX2FtOCVrIPRPmyUBeV4uNUFmyShJixE,6778
|
|
339
|
-
cirq/ops/pauli_string.py,sha256=
|
|
340
|
-
cirq/ops/pauli_string_phasor.py,sha256
|
|
339
|
+
cirq/ops/pauli_string.py,sha256=c_9fAJQJR17SZYNCi02AhCdJj5L9zkjZJlgUA1cQv7w,66785
|
|
340
|
+
cirq/ops/pauli_string_phasor.py,sha256=OEF2xW5NM0y_4wcL6BLoN_RfBFeQkksh6QcO1qlwyDA,17476
|
|
341
341
|
cirq/ops/pauli_string_phasor_test.py,sha256=PT2PmSeXG8JS45gyUrVpXdTifwpNTCmU0ASUZ9WDk1Q,27865
|
|
342
|
-
cirq/ops/pauli_string_raw_types.py,sha256=
|
|
342
|
+
cirq/ops/pauli_string_raw_types.py,sha256=200Epv_YmR33YVEL8wT198S04GAruyG7I0xVtVk8oqk,2269
|
|
343
343
|
cirq/ops/pauli_string_raw_types_test.py,sha256=SZPluslZPGffPq93F5apESBygWZ2cj7BEX6dQuawRQE,2648
|
|
344
344
|
cirq/ops/pauli_string_test.py,sha256=OcOUSiR-ja1yfEr3GY8Mx3yogmDwr6_yCuXOU2XF3W4,78869
|
|
345
|
-
cirq/ops/pauli_sum_exponential.py,sha256=
|
|
345
|
+
cirq/ops/pauli_sum_exponential.py,sha256=o-OsJ6SfsYNnMdSTpAaL1uauTKh9SLL3oLLoh7y4IV0,4868
|
|
346
346
|
cirq/ops/pauli_sum_exponential_test.py,sha256=Vi2-0zDUCS4XtFn9dfmkgh9dH2ncuKYOiQLCZPoLMkg,5369
|
|
347
|
-
cirq/ops/permutation_gate.py,sha256=
|
|
347
|
+
cirq/ops/permutation_gate.py,sha256=uLd0qZgT4eDKO22Me9HGSDD7Hnf1Ol3ddkwJ7ZghL3U,4224
|
|
348
348
|
cirq/ops/permutation_gate_test.py,sha256=qroZ88JYhSU6rxuQsJ2pS2XqPFJ1BGvXYVy3cnpUc9k,3281
|
|
349
|
-
cirq/ops/phased_iswap_gate.py,sha256=
|
|
349
|
+
cirq/ops/phased_iswap_gate.py,sha256=kXC0V_fIFq-MO6jlA5arse60kqfDb3nqDC_YYfcZ19g,8996
|
|
350
350
|
cirq/ops/phased_iswap_gate_test.py,sha256=tB1MqH8Y0Kgr0QIxs1kq1yl2g0mKYI7Q_AaadBhFe2U,7360
|
|
351
|
-
cirq/ops/phased_x_gate.py,sha256=
|
|
351
|
+
cirq/ops/phased_x_gate.py,sha256=OHm4Bv3gF2GcGZfCU71Kj2PXqdjpVk5Ufo9yk_oylVk,9322
|
|
352
352
|
cirq/ops/phased_x_gate_test.py,sha256=g_qbhl2OesKgXkzECv-7FJPMlOBzv9-AzkVZgfflxbE,10821
|
|
353
|
-
cirq/ops/phased_x_z_gate.py,sha256=
|
|
353
|
+
cirq/ops/phased_x_z_gate.py,sha256=72_lDbJXEbKYQ1Q6brCc2jEiNcH1B5t8hnN2v_RqjRY,11524
|
|
354
354
|
cirq/ops/phased_x_z_gate_test.py,sha256=KK5-FD5zoaqZkw7p6UKxFddzaFWoxnQnE8LpCiKtIk8,10690
|
|
355
355
|
cirq/ops/projector.py,sha256=y3ignrYFmthdPm_pjJ0Y0xp8SGPviqcT07Y9KEZ231Y,5646
|
|
356
356
|
cirq/ops/projector_test.py,sha256=Wq7ddj-PV30yUXJxJoT3XIw2sIUC1AilnZ9m9N5Ejr8,9063
|
|
357
|
-
cirq/ops/qid_util.py,sha256=
|
|
357
|
+
cirq/ops/qid_util.py,sha256=B2Ilqp4LCDN-Um3lx2GfWq3IelZYicMvFx7hgIQmmhc,2095
|
|
358
358
|
cirq/ops/qid_util_test.py,sha256=JdViBgFfH4bZJyPKTjUf9MuPxMQe08JV_Tl6tusekfk,1061
|
|
359
|
-
cirq/ops/qubit_manager.py,sha256=
|
|
359
|
+
cirq/ops/qubit_manager.py,sha256=bMKvI-z018xf0YKfy87XhAseYKKGXNsFAyPR-AMhAC0,3562
|
|
360
360
|
cirq/ops/qubit_manager_test.py,sha256=HGPOQEwVujNFngi6iAGOYKqqWDwFp0jcA8nbU_GFvpY,3372
|
|
361
361
|
cirq/ops/qubit_order.py,sha256=2jCQE6bebhwkTphxJvPfAvGp16Dyees-erbPrBc4ibw,5616
|
|
362
362
|
cirq/ops/qubit_order_or_list.py,sha256=WVnhQcOYCgAhiB4t47Kji-pN1tnvs--X5deCQwwGVno,1165
|
|
363
363
|
cirq/ops/qubit_order_test.py,sha256=B9xMIxlaI7YjRUNA6AkHJuUCFejGYw-lT7ZaSl31yTU,4238
|
|
364
|
-
cirq/ops/random_gate_channel.py,sha256=
|
|
364
|
+
cirq/ops/random_gate_channel.py,sha256=HqE7wWehH6cNPEcsqNIFj99lL7iNzK-YAyXXJrzQxkk,5141
|
|
365
365
|
cirq/ops/random_gate_channel_test.py,sha256=6pJgavUZAw9WSxgcDPNwQk1Wzt4ffD-1dED2IcpKUcg,8398
|
|
366
|
-
cirq/ops/raw_types.py,sha256=
|
|
367
|
-
cirq/ops/raw_types_test.py,sha256=
|
|
368
|
-
cirq/ops/state_preparation_channel.py,sha256=
|
|
366
|
+
cirq/ops/raw_types.py,sha256=L1cyblfPsBwIOh8dW1RAFsS4GRrnIFln8pOWgD9_gqY,43728
|
|
367
|
+
cirq/ops/raw_types_test.py,sha256=YyyR1UDyW4Vail8Zsvz-nCLlqRsnjCnuzQEBn2oEZyM,34751
|
|
368
|
+
cirq/ops/state_preparation_channel.py,sha256=ypePZSkI2WiXR4Z0K4PbqZe5pA8YzB0lScFZEHccixA,4794
|
|
369
369
|
cirq/ops/state_preparation_channel_test.py,sha256=tSjrd5cCkd0nEV26WzJN-IVVHtm7HjfHGImYcvhYec8,5923
|
|
370
|
-
cirq/ops/swap_gates.py,sha256=
|
|
370
|
+
cirq/ops/swap_gates.py,sha256=dCamFTMhCwi7DDqKsviUpCV-WqsU_tE3Jh4r8R-Oq_k,11784
|
|
371
371
|
cirq/ops/swap_gates_test.py,sha256=_CihLf6rY4PNphCkH-S5mLJQYZW9ILjnnwUyQ9b0Blg,7452
|
|
372
372
|
cirq/ops/tags.py,sha256=B3nEsZQTurGPJodH7aDoreNSatqawTxwsmw8fSKaIlc,2294
|
|
373
373
|
cirq/ops/tags_test.py,sha256=4V9twOuCXd7Glvj9p3RW-tZ4-bfLtC1tmonR4soKNA0,1158
|
|
374
|
-
cirq/ops/three_qubit_gates.py,sha256=
|
|
374
|
+
cirq/ops/three_qubit_gates.py,sha256=TiK4M9Aed3ILT1-017eJie4T2Ir08RD3_36cbV4sRmc,28440
|
|
375
375
|
cirq/ops/three_qubit_gates_test.py,sha256=jCwb6nHl1Y0qdvqzeLW2TRIWEPLmGE47SwacdzUcFiU,11779
|
|
376
|
-
cirq/ops/two_qubit_diagonal_gate.py,sha256=
|
|
376
|
+
cirq/ops/two_qubit_diagonal_gate.py,sha256=cDAQwtynA0i746aBbg3F3uLTxyr0C90mXKQBURjlpM0,5403
|
|
377
377
|
cirq/ops/two_qubit_diagonal_gate_test.py,sha256=qiuREluCDKMok3ormBOdDYCFlOS9u1zFLqTsORO5JtM,4000
|
|
378
|
-
cirq/ops/uniform_superposition_gate.py,sha256=
|
|
378
|
+
cirq/ops/uniform_superposition_gate.py,sha256=WCBHosmq67T23fB3GhNp45l8KdeVgVp4lB4I1kVKh90,4757
|
|
379
379
|
cirq/ops/uniform_superposition_gate_test.py,sha256=gbtUQzWctZzSXNrWIq45s37J5L-hTyz9H-rtUzWcL0s,3552
|
|
380
|
-
cirq/ops/wait_gate.py,sha256=
|
|
380
|
+
cirq/ops/wait_gate.py,sha256=UICm3Yoooffh5B9LsQQiWqBtt0K2i7VfLWZACqQ_EGI,5598
|
|
381
381
|
cirq/ops/wait_gate_test.py,sha256=2Uw8ZjFkYGhDosoxbJr_IW2wWdxY8kXR-CLyC69DYRg,3543
|
|
382
382
|
cirq/protocols/__init__.py,sha256=JvMKV92kF8qxm8mXNM9iY8TMyn87mwSwaafnvuphcgY,6087
|
|
383
|
-
cirq/protocols/act_on_protocol.py,sha256=
|
|
384
|
-
cirq/protocols/act_on_protocol_test.py,sha256=
|
|
383
|
+
cirq/protocols/act_on_protocol.py,sha256=yf8QZwBUG6E2vdkHHZho7-6n2_qtBQJZ9onw6XMAO8w,6912
|
|
384
|
+
cirq/protocols/act_on_protocol_test.py,sha256=UdaKEtg1WY2HQOoDQShnCo0vXUCu2ZRgdzpVjPKH_lA,3174
|
|
385
385
|
cirq/protocols/apply_channel_protocol.py,sha256=s5gkjAcAMe_qdPJGPuZnt4r6zZhszpddnK8Ed-wEO90,15678
|
|
386
386
|
cirq/protocols/apply_channel_protocol_test.py,sha256=ETAWrBTVkPuUPUgHsLZo1HUsJnZsO0hD2fQeXlXtvjE,10582
|
|
387
387
|
cirq/protocols/apply_mixture_protocol.py,sha256=pYxlpOXxPjMIddyYtEw82_18ioNNvEEcmsImaQ1YiBc,16479
|
|
388
388
|
cirq/protocols/apply_mixture_protocol_test.py,sha256=aWyzK9h9QNmpZJBu0ASaQ8BGYJt5T5KugN4OPMO5pCU,11129
|
|
389
|
-
cirq/protocols/apply_unitary_protocol.py,sha256=
|
|
389
|
+
cirq/protocols/apply_unitary_protocol.py,sha256=RKVO-1hrjkrCP9OCmtcVSvEM1Vs-EKCcBLgV-JMfp8k,29810
|
|
390
390
|
cirq/protocols/apply_unitary_protocol_test.py,sha256=ajjHvcBBv5n8Qh_hMPZkdsOvy1xJ774q4kuC25DJnKM,26136
|
|
391
391
|
cirq/protocols/approximate_equality_protocol.py,sha256=ZqnkoltD8vS1eQjV7Lw3RS49cdjZjGTF0LbdRUlBOCw,6257
|
|
392
392
|
cirq/protocols/approximate_equality_protocol_test.py,sha256=HRjM3PVRGgJNM1cqq7NQ3cMlsiYwL6zEm-MN4y7t1_M,9176
|
|
393
|
-
cirq/protocols/circuit_diagram_info_protocol.py,sha256=
|
|
393
|
+
cirq/protocols/circuit_diagram_info_protocol.py,sha256=xb2Eea2pj7Ey8fSXH9IgfiZZHxYraj9L2Lpr_S4Iins,16029
|
|
394
394
|
cirq/protocols/circuit_diagram_info_protocol_test.py,sha256=2RGVwyseCcOZ3lNMjEavQcAIb_0JEt_KCsUpQRI5j5A,10633
|
|
395
395
|
cirq/protocols/commutes_protocol.py,sha256=n7EQYs2giG3_Kh0bVhOXYQD7we7vTwj8IklBqQdolgM,7394
|
|
396
396
|
cirq/protocols/commutes_protocol_test.py,sha256=h0Lky4jrs7Hxrh4MeHxmxNciuofKGGZ2eC-ceWP8wKU,5849
|
|
397
|
-
cirq/protocols/control_key_protocol.py,sha256=
|
|
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=
|
|
400
|
-
cirq/protocols/decompose_protocol_test.py,sha256=
|
|
399
|
+
cirq/protocols/decompose_protocol.py,sha256=Bfaov_-HqfMKzD5cKoTwT9ktp3xyKaxZaaOplt4ppyI,18863
|
|
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
|
|
403
403
|
cirq/protocols/has_stabilizer_effect_protocol.py,sha256=JyJFMS_OdSr9kCS7INgfHrqjym9vSjOdTg6lK17KkK4,4295
|
|
@@ -405,7 +405,7 @@ cirq/protocols/has_stabilizer_effect_protocol_test.py,sha256=0ia7ehyGpmscjRP448d
|
|
|
405
405
|
cirq/protocols/has_unitary_protocol.py,sha256=sOP_qz-9JKZ_yg9QDpF0uw0qGfV8dTS_UpPtEpk512I,5372
|
|
406
406
|
cirq/protocols/has_unitary_protocol_test.py,sha256=4KmFfE3ciJtHBwnYwXcu0uTzQyfeVz-YI3EyAxM9ZP4,5761
|
|
407
407
|
cirq/protocols/hash_from_pickle_test.py,sha256=YvDlLEQKZLhTaVhtHXGB4MntUhxN1Za9rQqf7ZfAfdw,4634
|
|
408
|
-
cirq/protocols/inverse_protocol.py,sha256=
|
|
408
|
+
cirq/protocols/inverse_protocol.py,sha256=0HZVO8WGOHy0CFaTtDEwq0tSVXWPFoKJ72tA1TIapQU,4119
|
|
409
409
|
cirq/protocols/inverse_protocol_test.py,sha256=pqqIU4_G4Npc9Z-SeoM9eCB2T5JRTeI02NCXhP0UtaI,2017
|
|
410
410
|
cirq/protocols/json_serialization.py,sha256=VJCEXB9fkIZh3_d6dkh_QDxwjC3iJAlELGHsCmAMvE4,24779
|
|
411
411
|
cirq/protocols/json_serialization_test.py,sha256=qrh6XTy6k-FCVAd3QvSV_ENHVf9UUgHOt_pzsniI6UM,28144
|
|
@@ -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.dev20250425004112.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1213
|
+
cirq_core-1.6.0.dev20250425004112.dist-info/METADATA,sha256=K51IDC5tB1c9O5VqZENWzjtTiq4RsQ2GzLWJkDaclew,4908
|
|
1214
|
+
cirq_core-1.6.0.dev20250425004112.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
|
1215
|
+
cirq_core-1.6.0.dev20250425004112.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1216
|
+
cirq_core-1.6.0.dev20250425004112.dist-info/RECORD,,
|
{cirq_core-1.6.0.dev20250424231143.dist-info → cirq_core-1.6.0.dev20250425004112.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|