cirq-core 1.7.0.dev20250820205919__py3-none-any.whl → 1.7.0.dev20250822143452__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/circuits/circuit.py +4 -2
- cirq/circuits/moment.py +1 -1
- cirq/devices/grid_qubit.py +1 -2
- cirq/devices/line_qubit.py +1 -3
- cirq/ops/arithmetic_operation.py +1 -2
- cirq/ops/dense_pauli_string.py +1 -1
- cirq/ops/gate_operation.py +11 -3
- cirq/ops/parity_gates.py +1 -2
- cirq/ops/pauli_string_raw_types.py +1 -3
- cirq/protocols/act_on_protocol.py +1 -3
- cirq/protocols/act_on_protocol_test.py +1 -2
- cirq/protocols/apply_channel_protocol.py +1 -2
- cirq/protocols/apply_mixture_protocol.py +1 -2
- cirq/protocols/apply_unitary_protocol.py +1 -2
- cirq/protocols/approximate_equality_protocol.py +1 -2
- cirq/protocols/circuit_diagram_info_protocol.py +1 -2
- cirq/protocols/commutes_protocol.py +1 -2
- cirq/protocols/control_key_protocol.py +1 -3
- cirq/protocols/decompose_protocol.py +1 -2
- cirq/protocols/equal_up_to_global_phase_protocol.py +1 -2
- cirq/protocols/has_unitary_protocol.py +1 -2
- cirq/protocols/json_serialization.py +1 -2
- cirq/protocols/kraus_protocol.py +1 -2
- cirq/protocols/measurement_key_protocol.py +1 -3
- cirq/protocols/mixture_protocol.py +1 -2
- cirq/protocols/pauli_expansion_protocol.py +1 -3
- cirq/protocols/phase_protocol.py +1 -3
- cirq/protocols/qasm.py +1 -3
- cirq/protocols/qid_shape_protocol.py +1 -3
- cirq/protocols/resolve_parameters.py +1 -2
- cirq/protocols/trace_distance_bound.py +1 -2
- cirq/protocols/unitary_protocol.py +1 -2
- cirq/qis/quantum_state_representation.py +1 -2
- cirq/sim/simulation_state.py +1 -2
- cirq/sim/simulation_state_base.py +1 -3
- cirq/study/sweepable.py +1 -3
- cirq/transformers/transformer_api.py +1 -3
- cirq/value/classical_data.py +1 -3
- cirq/value/linear_dict.py +1 -1
- cirq/value/value_equality_attr.py +1 -3
- cirq/work/collector.py +1 -2
- {cirq_core-1.7.0.dev20250820205919.dist-info → cirq_core-1.7.0.dev20250822143452.dist-info}/METADATA +1 -2
- {cirq_core-1.7.0.dev20250820205919.dist-info → cirq_core-1.7.0.dev20250822143452.dist-info}/RECORD +48 -48
- {cirq_core-1.7.0.dev20250820205919.dist-info → cirq_core-1.7.0.dev20250822143452.dist-info}/WHEEL +0 -0
- {cirq_core-1.7.0.dev20250820205919.dist-info → cirq_core-1.7.0.dev20250822143452.dist-info}/licenses/LICENSE +0 -0
- {cirq_core-1.7.0.dev20250820205919.dist-info → cirq_core-1.7.0.dev20250822143452.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
cirq/circuits/circuit.py
CHANGED
|
@@ -39,6 +39,7 @@ from typing import (
|
|
|
39
39
|
Mapping,
|
|
40
40
|
MutableSequence,
|
|
41
41
|
overload,
|
|
42
|
+
Self,
|
|
42
43
|
Sequence,
|
|
43
44
|
TYPE_CHECKING,
|
|
44
45
|
TypeVar,
|
|
@@ -47,7 +48,6 @@ from typing import (
|
|
|
47
48
|
|
|
48
49
|
import networkx
|
|
49
50
|
import numpy as np
|
|
50
|
-
from typing_extensions import Self
|
|
51
51
|
|
|
52
52
|
import cirq._version
|
|
53
53
|
from cirq import _compat, devices, ops, protocols, qis
|
|
@@ -844,7 +844,9 @@ class AbstractCircuit(abc.ABC):
|
|
|
844
844
|
return protocols.is_measurement(self)
|
|
845
845
|
|
|
846
846
|
def _is_measurement_(self) -> bool:
|
|
847
|
-
|
|
847
|
+
# Measurements are most likely at the end of the circuit,
|
|
848
|
+
# so iterate from the end of the circuit
|
|
849
|
+
return any(protocols.is_measurement(op) for moment in reversed(self) for op in moment)
|
|
848
850
|
|
|
849
851
|
def are_all_measurements_terminal(self) -> bool:
|
|
850
852
|
"""Whether all measurement gates are at the end of the circuit.
|
cirq/circuits/moment.py
CHANGED
|
@@ -29,12 +29,12 @@ from typing import (
|
|
|
29
29
|
Iterator,
|
|
30
30
|
Mapping,
|
|
31
31
|
overload,
|
|
32
|
+
Self,
|
|
32
33
|
Sequence,
|
|
33
34
|
TYPE_CHECKING,
|
|
34
35
|
)
|
|
35
36
|
|
|
36
37
|
import numpy as np
|
|
37
|
-
from typing_extensions import Self
|
|
38
38
|
|
|
39
39
|
from cirq import _compat, ops, protocols, qis
|
|
40
40
|
from cirq._import import LazyLoader
|
cirq/devices/grid_qubit.py
CHANGED
|
@@ -17,10 +17,9 @@ from __future__ import annotations
|
|
|
17
17
|
import abc
|
|
18
18
|
import functools
|
|
19
19
|
import weakref
|
|
20
|
-
from typing import Any, Iterable, TYPE_CHECKING
|
|
20
|
+
from typing import Any, Iterable, Self, TYPE_CHECKING
|
|
21
21
|
|
|
22
22
|
import numpy as np
|
|
23
|
-
from typing_extensions import Self
|
|
24
23
|
|
|
25
24
|
from cirq import ops, protocols
|
|
26
25
|
|
cirq/devices/line_qubit.py
CHANGED
|
@@ -17,9 +17,7 @@ from __future__ import annotations
|
|
|
17
17
|
import abc
|
|
18
18
|
import functools
|
|
19
19
|
import weakref
|
|
20
|
-
from typing import Any, Iterable, Sequence, TYPE_CHECKING
|
|
21
|
-
|
|
22
|
-
from typing_extensions import Self
|
|
20
|
+
from typing import Any, Iterable, Self, Sequence, TYPE_CHECKING
|
|
23
21
|
|
|
24
22
|
from cirq import ops, protocols
|
|
25
23
|
|
cirq/ops/arithmetic_operation.py
CHANGED
|
@@ -17,10 +17,9 @@ from __future__ import annotations
|
|
|
17
17
|
|
|
18
18
|
import abc
|
|
19
19
|
import itertools
|
|
20
|
-
from typing import cast, Iterable, Sequence, TYPE_CHECKING
|
|
20
|
+
from typing import cast, Iterable, Self, Sequence, TYPE_CHECKING
|
|
21
21
|
|
|
22
22
|
import numpy as np
|
|
23
|
-
from typing_extensions import Self
|
|
24
23
|
|
|
25
24
|
from cirq.ops.raw_types import Gate
|
|
26
25
|
|
cirq/ops/dense_pauli_string.py
CHANGED
|
@@ -25,13 +25,13 @@ from typing import (
|
|
|
25
25
|
Iterable,
|
|
26
26
|
Iterator,
|
|
27
27
|
overload,
|
|
28
|
+
Self,
|
|
28
29
|
Sequence,
|
|
29
30
|
TYPE_CHECKING,
|
|
30
31
|
)
|
|
31
32
|
|
|
32
33
|
import numpy as np
|
|
33
34
|
import sympy
|
|
34
|
-
from typing_extensions import Self
|
|
35
35
|
|
|
36
36
|
from cirq import linalg, protocols, value
|
|
37
37
|
from cirq._compat import proper_repr
|
cirq/ops/gate_operation.py
CHANGED
|
@@ -19,9 +19,17 @@ from __future__ import annotations
|
|
|
19
19
|
import re
|
|
20
20
|
import warnings
|
|
21
21
|
from types import NotImplementedType
|
|
22
|
-
from typing import
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
from typing import (
|
|
23
|
+
AbstractSet,
|
|
24
|
+
Any,
|
|
25
|
+
cast,
|
|
26
|
+
Collection,
|
|
27
|
+
Mapping,
|
|
28
|
+
Self,
|
|
29
|
+
Sequence,
|
|
30
|
+
TYPE_CHECKING,
|
|
31
|
+
TypeVar,
|
|
32
|
+
)
|
|
25
33
|
|
|
26
34
|
from cirq import ops, protocols, value
|
|
27
35
|
from cirq.ops import control_values as cv, gate_features, raw_types
|
cirq/ops/parity_gates.py
CHANGED
|
@@ -16,10 +16,9 @@
|
|
|
16
16
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
|
-
from typing import Any, Iterator, Sequence, TYPE_CHECKING
|
|
19
|
+
from typing import Any, Iterator, Self, Sequence, TYPE_CHECKING
|
|
20
20
|
|
|
21
21
|
import numpy as np
|
|
22
|
-
from typing_extensions import Self
|
|
23
22
|
|
|
24
23
|
from cirq import protocols, value
|
|
25
24
|
from cirq._compat import proper_repr
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import abc
|
|
18
|
-
from typing import Any, Sequence, TYPE_CHECKING
|
|
19
|
-
|
|
20
|
-
from typing_extensions import Self
|
|
18
|
+
from typing import Any, Self, Sequence, TYPE_CHECKING
|
|
21
19
|
|
|
22
20
|
from cirq import protocols
|
|
23
21
|
from cirq.ops import pauli_string as ps, raw_types
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
from types import NotImplementedType
|
|
18
|
-
from typing import Any, Sequence, TYPE_CHECKING
|
|
19
|
-
|
|
20
|
-
from typing_extensions import Protocol
|
|
18
|
+
from typing import Any, Protocol, Sequence, TYPE_CHECKING
|
|
21
19
|
|
|
22
20
|
from cirq import ops
|
|
23
21
|
from cirq._doc import doc_private
|
|
@@ -17,10 +17,9 @@
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
from types import NotImplementedType
|
|
20
|
-
from typing import Any, Iterable, Sequence, TypeVar
|
|
20
|
+
from typing import Any, Iterable, Protocol, Sequence, TypeVar
|
|
21
21
|
|
|
22
22
|
import numpy as np
|
|
23
|
-
from typing_extensions import Protocol
|
|
24
23
|
|
|
25
24
|
from cirq import linalg
|
|
26
25
|
from cirq._doc import doc_private
|
|
@@ -17,10 +17,9 @@
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
from types import NotImplementedType
|
|
20
|
-
from typing import Any, cast, Iterable, TypeVar
|
|
20
|
+
from typing import Any, cast, Iterable, Protocol, TypeVar
|
|
21
21
|
|
|
22
22
|
import numpy as np
|
|
23
|
-
from typing_extensions import Protocol
|
|
24
23
|
|
|
25
24
|
from cirq._doc import doc_private
|
|
26
25
|
from cirq.protocols import qid_shape_protocol
|
|
@@ -18,10 +18,9 @@ from __future__ import annotations
|
|
|
18
18
|
|
|
19
19
|
import warnings
|
|
20
20
|
from types import EllipsisType, NotImplementedType
|
|
21
|
-
from typing import Any, cast, Iterable, Sequence, TYPE_CHECKING, TypeVar
|
|
21
|
+
from typing import Any, cast, Iterable, Protocol, Sequence, TYPE_CHECKING, TypeVar
|
|
22
22
|
|
|
23
23
|
import numpy as np
|
|
24
|
-
from typing_extensions import Protocol
|
|
25
24
|
|
|
26
25
|
from cirq import linalg, qis
|
|
27
26
|
from cirq._doc import doc_private
|
|
@@ -17,11 +17,10 @@ from __future__ import annotations
|
|
|
17
17
|
import numbers
|
|
18
18
|
from decimal import Decimal
|
|
19
19
|
from fractions import Fraction
|
|
20
|
-
from typing import Any, Iterable
|
|
20
|
+
from typing import Any, Iterable, Protocol
|
|
21
21
|
|
|
22
22
|
import numpy as np
|
|
23
23
|
import sympy
|
|
24
|
-
from typing_extensions import Protocol
|
|
25
24
|
|
|
26
25
|
from cirq._doc import doc_private
|
|
27
26
|
|
|
@@ -16,11 +16,10 @@ from __future__ import annotations
|
|
|
16
16
|
|
|
17
17
|
import re
|
|
18
18
|
from fractions import Fraction
|
|
19
|
-
from typing import Any, Iterable, overload, Self, Sequence, TYPE_CHECKING, TypeVar, Union
|
|
19
|
+
from typing import Any, Iterable, overload, Protocol, Self, Sequence, TYPE_CHECKING, TypeVar, Union
|
|
20
20
|
|
|
21
21
|
import numpy as np
|
|
22
22
|
import sympy
|
|
23
|
-
from typing_extensions import Protocol
|
|
24
23
|
|
|
25
24
|
from cirq import protocols, value
|
|
26
25
|
from cirq._doc import doc_private
|
|
@@ -17,10 +17,9 @@
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
from types import NotImplementedType
|
|
20
|
-
from typing import Any, overload, TypeVar
|
|
20
|
+
from typing import Any, overload, Protocol, TypeVar
|
|
21
21
|
|
|
22
22
|
import numpy as np
|
|
23
|
-
from typing_extensions import Protocol
|
|
24
23
|
|
|
25
24
|
from cirq import linalg
|
|
26
25
|
from cirq._doc import doc_private
|
|
@@ -16,9 +16,7 @@
|
|
|
16
16
|
from __future__ import annotations
|
|
17
17
|
|
|
18
18
|
from types import NotImplementedType
|
|
19
|
-
from typing import Any, TYPE_CHECKING
|
|
20
|
-
|
|
21
|
-
from typing_extensions import Protocol
|
|
19
|
+
from typing import Any, Protocol, TYPE_CHECKING
|
|
22
20
|
|
|
23
21
|
from cirq._doc import doc_private
|
|
24
22
|
from cirq.protocols import measurement_key_protocol
|
|
@@ -25,14 +25,13 @@ from typing import (
|
|
|
25
25
|
Iterable,
|
|
26
26
|
Iterator,
|
|
27
27
|
overload,
|
|
28
|
+
Protocol,
|
|
28
29
|
Sequence,
|
|
29
30
|
TYPE_CHECKING,
|
|
30
31
|
TypeVar,
|
|
31
32
|
Union,
|
|
32
33
|
)
|
|
33
34
|
|
|
34
|
-
from typing_extensions import Protocol
|
|
35
|
-
|
|
36
35
|
from cirq import devices, ops
|
|
37
36
|
from cirq._doc import doc_private
|
|
38
37
|
from cirq.protocols import qid_shape_protocol
|
|
@@ -16,10 +16,9 @@ from __future__ import annotations
|
|
|
16
16
|
|
|
17
17
|
import numbers
|
|
18
18
|
from collections.abc import Iterable
|
|
19
|
-
from typing import Any
|
|
19
|
+
from typing import Any, Protocol
|
|
20
20
|
|
|
21
21
|
import numpy as np
|
|
22
|
-
from typing_extensions import Protocol
|
|
23
22
|
|
|
24
23
|
from cirq import linalg
|
|
25
24
|
from cirq._doc import doc_private
|
|
@@ -14,10 +14,9 @@
|
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
|
-
from typing import Any, TypeVar
|
|
17
|
+
from typing import Any, Protocol, TypeVar
|
|
18
18
|
|
|
19
19
|
import numpy as np
|
|
20
|
-
from typing_extensions import Protocol
|
|
21
20
|
|
|
22
21
|
from cirq import linalg, qis
|
|
23
22
|
from cirq._doc import doc_private
|
|
@@ -21,13 +21,12 @@ import json
|
|
|
21
21
|
import numbers
|
|
22
22
|
import pathlib
|
|
23
23
|
from types import NotImplementedType
|
|
24
|
-
from typing import Any, Callable, cast, IO, Iterable, overload, Sequence
|
|
24
|
+
from typing import Any, Callable, cast, IO, Iterable, overload, Protocol, Sequence
|
|
25
25
|
|
|
26
26
|
import attrs
|
|
27
27
|
import numpy as np
|
|
28
28
|
import pandas as pd
|
|
29
29
|
import sympy
|
|
30
|
-
from typing_extensions import Protocol
|
|
31
30
|
|
|
32
31
|
from cirq._doc import doc_private
|
|
33
32
|
|
cirq/protocols/kraus_protocol.py
CHANGED
|
@@ -18,10 +18,9 @@ from __future__ import annotations
|
|
|
18
18
|
|
|
19
19
|
import warnings
|
|
20
20
|
from types import NotImplementedType
|
|
21
|
-
from typing import Any, Sequence, TypeVar
|
|
21
|
+
from typing import Any, Protocol, Sequence, TypeVar
|
|
22
22
|
|
|
23
23
|
import numpy as np
|
|
24
|
-
from typing_extensions import Protocol
|
|
25
24
|
|
|
26
25
|
from cirq import protocols, qis
|
|
27
26
|
from cirq._doc import doc_private
|
|
@@ -17,9 +17,7 @@
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
from types import NotImplementedType
|
|
20
|
-
from typing import Any, Mapping, TYPE_CHECKING
|
|
21
|
-
|
|
22
|
-
from typing_extensions import Protocol
|
|
20
|
+
from typing import Any, Mapping, Protocol, TYPE_CHECKING
|
|
23
21
|
|
|
24
22
|
from cirq import value
|
|
25
23
|
from cirq._doc import doc_private
|
|
@@ -17,10 +17,9 @@
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
from types import NotImplementedType
|
|
20
|
-
from typing import Any, Sequence
|
|
20
|
+
from typing import Any, Protocol, Sequence
|
|
21
21
|
|
|
22
22
|
import numpy as np
|
|
23
|
-
from typing_extensions import Protocol
|
|
24
23
|
|
|
25
24
|
from cirq._doc import doc_private
|
|
26
25
|
from cirq.protocols.decompose_protocol import _try_decompose_into_operations_and_qubits
|
cirq/protocols/phase_protocol.py
CHANGED
|
@@ -14,9 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
|
-
from typing import Any, TypeVar
|
|
18
|
-
|
|
19
|
-
from typing_extensions import Protocol
|
|
17
|
+
from typing import Any, Protocol, TypeVar
|
|
20
18
|
|
|
21
19
|
# This is a special value to indicate that a type error should be returned.
|
|
22
20
|
# This is used within phase_by to raise an error if no underlying
|
cirq/protocols/qasm.py
CHANGED
|
@@ -16,9 +16,7 @@ from __future__ import annotations
|
|
|
16
16
|
|
|
17
17
|
import string
|
|
18
18
|
from types import NotImplementedType
|
|
19
|
-
from typing import Any, Iterable, Mapping, TYPE_CHECKING, TypeVar
|
|
20
|
-
|
|
21
|
-
from typing_extensions import Protocol
|
|
19
|
+
from typing import Any, Iterable, Mapping, Protocol, TYPE_CHECKING, TypeVar
|
|
22
20
|
|
|
23
21
|
from cirq import ops
|
|
24
22
|
from cirq._doc import doc_private
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
from types import NotImplementedType
|
|
18
|
-
from typing import Any, Sequence, TypeVar
|
|
19
|
-
|
|
20
|
-
from typing_extensions import Protocol
|
|
18
|
+
from typing import Any, Protocol, Sequence, TypeVar
|
|
21
19
|
|
|
22
20
|
from cirq import ops
|
|
23
21
|
from cirq._doc import doc_private, document
|
|
@@ -15,10 +15,9 @@
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import numbers
|
|
18
|
-
from typing import AbstractSet, Any, cast, TYPE_CHECKING, TypeVar
|
|
18
|
+
from typing import AbstractSet, Any, cast, Protocol, Self, TYPE_CHECKING, TypeVar
|
|
19
19
|
|
|
20
20
|
import sympy
|
|
21
|
-
from typing_extensions import Protocol, Self
|
|
22
21
|
|
|
23
22
|
from cirq import study
|
|
24
23
|
from cirq._doc import doc_private
|
|
@@ -14,10 +14,9 @@
|
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
|
-
from typing import Any, Sequence, TypeVar
|
|
17
|
+
from typing import Any, Protocol, Sequence, TypeVar
|
|
18
18
|
|
|
19
19
|
import numpy as np
|
|
20
|
-
from typing_extensions import Protocol
|
|
21
20
|
|
|
22
21
|
from cirq._doc import doc_private
|
|
23
22
|
from cirq.protocols import unitary_protocol
|
|
@@ -15,10 +15,9 @@
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
from types import NotImplementedType
|
|
18
|
-
from typing import Any, TypeVar
|
|
18
|
+
from typing import Any, Protocol, TypeVar
|
|
19
19
|
|
|
20
20
|
import numpy as np
|
|
21
|
-
from typing_extensions import Protocol
|
|
22
21
|
|
|
23
22
|
from cirq import linalg
|
|
24
23
|
from cirq._doc import doc_private
|
cirq/sim/simulation_state.py
CHANGED
|
@@ -18,10 +18,9 @@ from __future__ import annotations
|
|
|
18
18
|
|
|
19
19
|
import abc
|
|
20
20
|
import copy
|
|
21
|
-
from typing import Any, cast, Generic, Iterator, Sequence, TYPE_CHECKING, TypeVar
|
|
21
|
+
from typing import Any, cast, Generic, Iterator, Self, Sequence, TYPE_CHECKING, TypeVar
|
|
22
22
|
|
|
23
23
|
import numpy as np
|
|
24
|
-
from typing_extensions import Self
|
|
25
24
|
|
|
26
25
|
from cirq import ops, protocols, value
|
|
27
26
|
from cirq.sim.simulation_state_base import SimulationStateBase
|
|
@@ -18,9 +18,7 @@ from __future__ import annotations
|
|
|
18
18
|
|
|
19
19
|
import abc
|
|
20
20
|
from types import NotImplementedType
|
|
21
|
-
from typing import Any, Generic, Iterator, Mapping, Sequence, TYPE_CHECKING, TypeVar
|
|
22
|
-
|
|
23
|
-
from typing_extensions import Self
|
|
21
|
+
from typing import Any, Generic, Iterator, Mapping, Self, Sequence, TYPE_CHECKING, TypeVar
|
|
24
22
|
|
|
25
23
|
from cirq import protocols, value
|
|
26
24
|
|
cirq/study/sweepable.py
CHANGED
|
@@ -17,9 +17,7 @@
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
import warnings
|
|
20
|
-
from typing import cast, Iterable, Iterator, Sequence
|
|
21
|
-
|
|
22
|
-
from typing_extensions import Protocol
|
|
20
|
+
from typing import cast, Iterable, Iterator, Protocol, Sequence
|
|
23
21
|
|
|
24
22
|
from cirq._doc import document
|
|
25
23
|
from cirq.study.resolver import ParamResolver, ParamResolverOrSimilarType
|
|
@@ -21,9 +21,7 @@ import enum
|
|
|
21
21
|
import functools
|
|
22
22
|
import inspect
|
|
23
23
|
import textwrap
|
|
24
|
-
from typing import Any, Callable, cast, Hashable, overload, TYPE_CHECKING, TypeVar
|
|
25
|
-
|
|
26
|
-
from typing_extensions import Protocol
|
|
24
|
+
from typing import Any, Callable, cast, Hashable, overload, Protocol, TYPE_CHECKING, TypeVar
|
|
27
25
|
|
|
28
26
|
from cirq import circuits
|
|
29
27
|
|
cirq/value/classical_data.py
CHANGED
|
@@ -16,9 +16,7 @@ from __future__ import annotations
|
|
|
16
16
|
|
|
17
17
|
import abc
|
|
18
18
|
import enum
|
|
19
|
-
from typing import Mapping, Sequence, TYPE_CHECKING
|
|
20
|
-
|
|
21
|
-
from typing_extensions import Self
|
|
19
|
+
from typing import Mapping, Self, Sequence, TYPE_CHECKING
|
|
22
20
|
|
|
23
21
|
from cirq.value import digits, value_equality_attr
|
|
24
22
|
|
cirq/value/linear_dict.py
CHANGED
|
@@ -28,6 +28,7 @@ from typing import (
|
|
|
28
28
|
Mapping,
|
|
29
29
|
MutableMapping,
|
|
30
30
|
overload,
|
|
31
|
+
Self,
|
|
31
32
|
TYPE_CHECKING,
|
|
32
33
|
TypeVar,
|
|
33
34
|
ValuesView,
|
|
@@ -35,7 +36,6 @@ from typing import (
|
|
|
35
36
|
|
|
36
37
|
import numpy as np
|
|
37
38
|
import sympy
|
|
38
|
-
from typing_extensions import Self
|
|
39
39
|
|
|
40
40
|
from cirq import protocols
|
|
41
41
|
|
cirq/work/collector.py
CHANGED
|
@@ -15,11 +15,10 @@
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import abc
|
|
18
|
-
from typing import Any, Iterator, TYPE_CHECKING
|
|
18
|
+
from typing import Any, Iterator, Protocol, TYPE_CHECKING
|
|
19
19
|
|
|
20
20
|
import duet
|
|
21
21
|
import numpy as np
|
|
22
|
-
from typing_extensions import Protocol
|
|
23
22
|
|
|
24
23
|
from cirq import study, value
|
|
25
24
|
|
{cirq_core-1.7.0.dev20250820205919.dist-info → cirq_core-1.7.0.dev20250822143452.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.dev20250822143452
|
|
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
|
|
@@ -36,7 +36,6 @@ Requires-Dist: pandas~=2.1
|
|
|
36
36
|
Requires-Dist: sortedcontainers~=2.0
|
|
37
37
|
Requires-Dist: scipy~=1.12
|
|
38
38
|
Requires-Dist: sympy
|
|
39
|
-
Requires-Dist: typing_extensions>=4.2
|
|
40
39
|
Requires-Dist: tqdm>=4.12
|
|
41
40
|
Provides-Extra: contrib
|
|
42
41
|
Requires-Dist: ply>=3.6; extra == "contrib"
|
{cirq_core-1.7.0.dev20250820205919.dist-info → cirq_core-1.7.0.dev20250822143452.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=J6CY9TnaTlqAKq8CqLJviN5Qge3iMY0iM8kVuGct8Hg,1206
|
|
8
|
+
cirq/_version_test.py,sha256=MRalInEsgCgxgv_PxwEogzzEkbSL3QOulkksh-NnY4k,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
|
|
@@ -16,7 +16,7 @@ cirq/circuits/_box_drawing_character_data.py,sha256=hExbMJHm9LGORhlhNiUvPiHquv4p
|
|
|
16
16
|
cirq/circuits/_box_drawing_character_data_test.py,sha256=GyiNQDtiu_drzEe_y8DOXCFRYDKr2k8KetXN5RVDp18,1668
|
|
17
17
|
cirq/circuits/_bucket_priority_queue.py,sha256=U564r2mou4aZsOlpVYiZCgirqS6mVznG3ESyawBt4gE,6749
|
|
18
18
|
cirq/circuits/_bucket_priority_queue_test.py,sha256=MOby-UKYZQMe2n4KhqkfDCPrz-T_3eBbWDEa0_nadJQ,5627
|
|
19
|
-
cirq/circuits/circuit.py,sha256=
|
|
19
|
+
cirq/circuits/circuit.py,sha256=_5i3X0ICHZInOgPbK98v0usdHDr6YU7ONxgr9DXLGkM,122773
|
|
20
20
|
cirq/circuits/circuit_operation.py,sha256=vvLk30okWhimdJRFhFOpwoHDkyOHzR2I9OIggZaqmVk,36338
|
|
21
21
|
cirq/circuits/circuit_operation_test.py,sha256=ZoYvAIsURx9yPWiLcPeX3--lkCOFJkXLxHafUJaZf1U,50425
|
|
22
22
|
cirq/circuits/circuit_test.py,sha256=Q1ywfvVp6ThmtkAKTk-5bq0cVKctncL0d1qoWxTL_r4,166579
|
|
@@ -24,7 +24,7 @@ cirq/circuits/frozen_circuit.py,sha256=UXwABQqBSnSKqSWmRluQPD09xZU0orSW3b3IHvDqx
|
|
|
24
24
|
cirq/circuits/frozen_circuit_test.py,sha256=1Uk3g9St_nJFmu3IJ5hAcXWJjLfWFUXTCKQU1b0JJrE,5321
|
|
25
25
|
cirq/circuits/insert_strategy.py,sha256=3995vK4U6O9RV4BXMoFl9Tf3ekxIiqxv71IuX80JtYo,3237
|
|
26
26
|
cirq/circuits/insert_strategy_test.py,sha256=pBFgsylgRG1CS1h4JyzZQFP-xvh6fSbgpiZgxXfbpr4,1237
|
|
27
|
-
cirq/circuits/moment.py,sha256=
|
|
27
|
+
cirq/circuits/moment.py,sha256=NZo497gTrPHuhgJT_zTaYZU2UP9oMdDkdV8urHbBDi4,28338
|
|
28
28
|
cirq/circuits/moment_test.py,sha256=wTfFl3yret5d5NTsUW1hAoATEZ0iZJ0tFiXHBKgkMUs,34255
|
|
29
29
|
cirq/circuits/optimization_pass.py,sha256=W_YYo_9uy5h4ijU_In5n7gG3EvCVp1cJbE1pHD9ci74,6481
|
|
30
30
|
cirq/circuits/optimization_pass_test.py,sha256=FvCCOZrqVQLYrf_BUAZ6M-sm6dMv00_xsvpN25Op1BA,5914
|
|
@@ -172,11 +172,11 @@ cirq/devices/device.py,sha256=Ejkn0qIW8r406kn7rCOQ96SEJu4dUuKK13hazJl1VYg,5383
|
|
|
172
172
|
cirq/devices/device_test.py,sha256=Zh7_hHiG0OENZmGhH8hj9OdotbiJfP-4hCD5tpfF5UA,1194
|
|
173
173
|
cirq/devices/grid_device_metadata.py,sha256=pgh2wu33i9rWOqqYgsTMtLuB2k4L8EAD6tMx_o_ju5g,8602
|
|
174
174
|
cirq/devices/grid_device_metadata_test.py,sha256=jNTQGFUrl-xCtuP6s04_FWtP1S87ot9TwYbXq-K950g,8799
|
|
175
|
-
cirq/devices/grid_qubit.py,sha256=
|
|
175
|
+
cirq/devices/grid_qubit.py,sha256=qBRUVaJaS-ZkpUJfv1LdPwV-kRsl1xJ2DslZW5naJxI,19125
|
|
176
176
|
cirq/devices/grid_qubit_test.py,sha256=DtLAKSTRvTQ7XXujxDzhQIWgNbmFxdx-5A2tvDxUsaY,15642
|
|
177
177
|
cirq/devices/insertion_noise_model.py,sha256=FCVsVsrPyGT0WsvIWQUgu4IliSRpck3znrEmlI-xOPU,3609
|
|
178
178
|
cirq/devices/insertion_noise_model_test.py,sha256=MjJoouDxVobkqKEvlLSy82E5749LXHzaaTbCzZuFxe0,4068
|
|
179
|
-
cirq/devices/line_qubit.py,sha256=
|
|
179
|
+
cirq/devices/line_qubit.py,sha256=LEYluAzhKzFKDRtyQ8pQ3-21bW5-30dQ1huJEWu78-4,11743
|
|
180
180
|
cirq/devices/line_qubit_test.py,sha256=gcOey2XO9QyBsI20wNtoFy0MYz5J-wwpC60P3018iL0,10667
|
|
181
181
|
cirq/devices/named_topologies.py,sha256=iU7Tvp_4dhxA23-wBIl9mMRBSpXdsdEv7BUZPqzvkHo,15817
|
|
182
182
|
cirq/devices/named_topologies_test.py,sha256=cZlodti18nnvWyKTVMnQUIC4wlrdlKL93ptgnfgzyVw,4911
|
|
@@ -283,7 +283,7 @@ cirq/neutral_atoms/convert_to_neutral_atom_gates.py,sha256=2sIJd5CzWjehMi_rfFW8Q
|
|
|
283
283
|
cirq/neutral_atoms/convert_to_neutral_atom_gates_test.py,sha256=fhCJubuFa81aRwd__sgBLc7D2z5VnwfzH-0lZvEv6jo,1905
|
|
284
284
|
cirq/neutral_atoms/neutral_atom_devices.py,sha256=9GP2IsrivvAoqnoEe-jkZ4Ef7v-zylwAr7jlAFkdEIo,1409
|
|
285
285
|
cirq/ops/__init__.py,sha256=HNtQJBFeiJJ-MbbNqe3f6KfcmZ_4YP5oTcCcZnGkYbY,8318
|
|
286
|
-
cirq/ops/arithmetic_operation.py,sha256=
|
|
286
|
+
cirq/ops/arithmetic_operation.py,sha256=cokwokyzKa3zJkyxopP81fTRMutHfI277ZObKw9El_w,10022
|
|
287
287
|
cirq/ops/arithmetic_operation_test.py,sha256=F5fPQF_sRWi8qyP_SgDzJ8kfX0jUVMj59_VOPpbXH_0,4938
|
|
288
288
|
cirq/ops/boolean_hamiltonian.py,sha256=x25fraM9NNs-XzDKDl2AZ1AMpkVovfe-dNm_0wOolyI,14927
|
|
289
289
|
cirq/ops/boolean_hamiltonian_test.py,sha256=_4mFFrbO9C21oZYutr_pl01_bqDDxvgY_h4DWKGkse0,8630
|
|
@@ -303,7 +303,7 @@ cirq/ops/controlled_gate.py,sha256=3Hex9AdY6c_DedKoCqqpS4gx9rAgm9KZITbwUBXsoYg,1
|
|
|
303
303
|
cirq/ops/controlled_gate_test.py,sha256=jmIOlCx8dC3VId4NynX1ZYy7s7tkLav_d-fjiIZyVh0,29308
|
|
304
304
|
cirq/ops/controlled_operation.py,sha256=KAbQGf6-AXm-DV9nk05S3sqJumOgvG9P6jO4Zx1gxec,13561
|
|
305
305
|
cirq/ops/controlled_operation_test.py,sha256=hTqK6R0so-ZmZLcqS9xQl39ekNZ82UVYPbhmfbbh6vg,16699
|
|
306
|
-
cirq/ops/dense_pauli_string.py,sha256=
|
|
306
|
+
cirq/ops/dense_pauli_string.py,sha256=v4naX_wlHaXROIO-ONY5ZMYbqGijDlne3heafrLNE6U,24209
|
|
307
307
|
cirq/ops/dense_pauli_string_test.py,sha256=Wh2YIpydze9GAxIDEPIo6YbdKxjvHLBoqAaVO-DqbmQ,22037
|
|
308
308
|
cirq/ops/diagonal_gate.py,sha256=HNMxcgKgfZ2ZcXGaPhcBp6yOwu_stpSN3_GtNeWnR5s,8909
|
|
309
309
|
cirq/ops/diagonal_gate_test.py,sha256=JRQWrL4cEYzVjwal-EewyIPgThUwLdrE6f9i7ifd6Rk,6319
|
|
@@ -315,7 +315,7 @@ cirq/ops/fsim_gate.py,sha256=Qs7FLsNXR7K2jNVZ8I9o9YLvOb6cC6iBnAvZAHERNk0,20037
|
|
|
315
315
|
cirq/ops/fsim_gate_test.py,sha256=QgckC2fij30grZJoO6HnQHdGkKcwtiegedEBRid3wF0,25858
|
|
316
316
|
cirq/ops/gate_features.py,sha256=OfjsIGftnGpNUDAYwSP4obG0FsMrHYfp49ZOjbvbmNE,1085
|
|
317
317
|
cirq/ops/gate_features_test.py,sha256=JYPunTBr48CQoIOB1wk2QEdPwtnmE-FxUoF6a4ZeRB8,2407
|
|
318
|
-
cirq/ops/gate_operation.py,sha256=
|
|
318
|
+
cirq/ops/gate_operation.py,sha256=ODltw3E7o5ffL2EOTLGj4MUzenBjq6rs_kUVQj4iP0M,13332
|
|
319
319
|
cirq/ops/gate_operation_test.py,sha256=4QwWxCjGXNM__6QGw1kYSbBMh_4783jBZVBJD1ERGPk,18020
|
|
320
320
|
cirq/ops/gateset.py,sha256=Ww5MwvIkV7Qr_uBFGowmyhvyCh4N5JjDevr4ucwZybg,21492
|
|
321
321
|
cirq/ops/gateset_test.py,sha256=oeJ0zLgknWxgW39_bc_8Ii_5_g5VNxiJWicZkkS-TaE,17651
|
|
@@ -343,7 +343,7 @@ cirq/ops/op_tree.py,sha256=w2jnYMi8UtV13CROphi4Gesydc5YzmuvXJZsIAGm65k,5277
|
|
|
343
343
|
cirq/ops/op_tree_test.py,sha256=npk2P6asFc3Z-K_xQ0l9JNam4uBwWMZTGT8rDO5xUmQ,6104
|
|
344
344
|
cirq/ops/parallel_gate.py,sha256=B6uwL0lPJLiv_TL62U4HGyv7FZn_CvljSUK7jKTuu-M,6257
|
|
345
345
|
cirq/ops/parallel_gate_test.py,sha256=ruFdVnB8PS9LOPQLPZACdf0nh3l-sApQe9bk10EDBJI,6463
|
|
346
|
-
cirq/ops/parity_gates.py,sha256=
|
|
346
|
+
cirq/ops/parity_gates.py,sha256=aBvAn-04K6PpcGGPbESqk2lbkPweiuHSJhK-Q1KUq84,14260
|
|
347
347
|
cirq/ops/parity_gates_test.py,sha256=-hnUpof7lKrBz1i06wQ8H3RsIy03gFczaVq3xK8s-HY,11587
|
|
348
348
|
cirq/ops/pauli_gates.py,sha256=hXChuK9F56DEft2KHcMhjf6cPyEHHB5BKy10Dsk0FNM,6776
|
|
349
349
|
cirq/ops/pauli_gates_test.py,sha256=YYzQBojxoZTM6WH7pD3PNwmQrIO6U7FTG6AaZ-6z-To,8334
|
|
@@ -354,7 +354,7 @@ cirq/ops/pauli_measurement_gate_test.py,sha256=IDnbQgyaj-nbYw_sslPBccl8aRGTlMrAD
|
|
|
354
354
|
cirq/ops/pauli_string.py,sha256=_OYVeQ9G9sgim636rdrqD3h-KyPhuYHMqBRE8lTy6e8,64066
|
|
355
355
|
cirq/ops/pauli_string_phasor.py,sha256=JLKZem7rdshQ0doNvFMJmP7cLhl9lCsHAI1QlOmbmrg,18207
|
|
356
356
|
cirq/ops/pauli_string_phasor_test.py,sha256=ZIoraHH3kOFjtEfThXDS-sxUvSU8MYZ2avtdiPcyN6w,28309
|
|
357
|
-
cirq/ops/pauli_string_raw_types.py,sha256=
|
|
357
|
+
cirq/ops/pauli_string_raw_types.py,sha256=mBOAwfBT_y7yiSyC6Hr-ofLyIkjyOH5urmK-gitD3-Y,2226
|
|
358
358
|
cirq/ops/pauli_string_raw_types_test.py,sha256=ZcOZ31KSVIc7ReZoO8WZEX8MOyPOhUWaYLppvGTE4-8,2761
|
|
359
359
|
cirq/ops/pauli_string_test.py,sha256=i_SkDlRuoYB5AZZ-KW4aFJBHp14AzMXlx-ZIJzPkDT8,78278
|
|
360
360
|
cirq/ops/pauli_sum_exponential.py,sha256=Zq8YBMZ7sLLEPQuoX4uR95I9VY4C38Ma8FtOEjQGr3k,4861
|
|
@@ -395,58 +395,58 @@ cirq/ops/uniform_superposition_gate_test.py,sha256=Sd0Ty3-Tidsa0ANjn4oSNdNSfkLP6
|
|
|
395
395
|
cirq/ops/wait_gate.py,sha256=CU_CdgkNZV5BjVnBKu-GEIdkyu787mqiQEV0fnjhLkc,5575
|
|
396
396
|
cirq/ops/wait_gate_test.py,sha256=BkRLYMTETWoTYh8LA1S9Yvh8u7wX4-YNVhXhiCOQIAo,3628
|
|
397
397
|
cirq/protocols/__init__.py,sha256=SZCBRpL2YbYWMVcvJVR6FGkBv9aGv01oY2skSBvtNcg,6015
|
|
398
|
-
cirq/protocols/act_on_protocol.py,sha256=
|
|
399
|
-
cirq/protocols/act_on_protocol_test.py,sha256=
|
|
400
|
-
cirq/protocols/apply_channel_protocol.py,sha256
|
|
398
|
+
cirq/protocols/act_on_protocol.py,sha256=MSwEUu8dccf05wrNmataAdIaPE1Qp6zdT1RjFiuOk5I,6858
|
|
399
|
+
cirq/protocols/act_on_protocol_test.py,sha256=PV_A5Nhx1S8ir0JNcO21WRTbvsIXDDLxlUQj5udFDSw,3271
|
|
400
|
+
cirq/protocols/apply_channel_protocol.py,sha256=03Nhc0puiFAviYqyjy0MrK7Xx2xx3iaJrkxMyji9Z8U,15586
|
|
401
401
|
cirq/protocols/apply_channel_protocol_test.py,sha256=XtvZzmG9x-cdeLeCm7ojHsSbMkQZJEjyFB3EFiPbA10,10896
|
|
402
|
-
cirq/protocols/apply_mixture_protocol.py,sha256=
|
|
402
|
+
cirq/protocols/apply_mixture_protocol.py,sha256=ev1OpdLNgDlBiM6uszKXbIOlVUuBhxSMk3kHbIdG8bo,15292
|
|
403
403
|
cirq/protocols/apply_mixture_protocol_test.py,sha256=dd1cLUDsSnvBKoX_IjqV4BzcZ4SsBWe5-rDJMy7AD5A,11422
|
|
404
|
-
cirq/protocols/apply_unitary_protocol.py,sha256=
|
|
404
|
+
cirq/protocols/apply_unitary_protocol.py,sha256=ISiwDw2Wzk9rn1kyv2OiaMuYtbUKPm0zQ8CFJF6RXYk,29870
|
|
405
405
|
cirq/protocols/apply_unitary_protocol_test.py,sha256=XukFnr2B5vAobIr9laDNjCk68oM6QeDnquxtKz32j6w,26667
|
|
406
|
-
cirq/protocols/approximate_equality_protocol.py,sha256=
|
|
406
|
+
cirq/protocols/approximate_equality_protocol.py,sha256=dAE1864uIybIDWYaF1k7nFBCiXpFtky69OiSRyWnoI0,6264
|
|
407
407
|
cirq/protocols/approximate_equality_protocol_test.py,sha256=APzdSFqSTTBsjEtfSRR44H2CllYL1_OsPUH1NTzR08c,9495
|
|
408
|
-
cirq/protocols/circuit_diagram_info_protocol.py,sha256
|
|
408
|
+
cirq/protocols/circuit_diagram_info_protocol.py,sha256=Bj7zAAxFZZ7VhJWk8eLmCWVX-WrHd5k4wBz23jER5JA,17179
|
|
409
409
|
cirq/protocols/circuit_diagram_info_protocol_test.py,sha256=r-kNamR6QPdu-Q9to2DKLrDP9J8rWOA7IxfMVvcO0qE,12074
|
|
410
|
-
cirq/protocols/commutes_protocol.py,sha256=
|
|
410
|
+
cirq/protocols/commutes_protocol.py,sha256=DPwB_xKiqj3MW8uxEksjWDd6c163zgNMNMDjE2N9Xbw,7368
|
|
411
411
|
cirq/protocols/commutes_protocol_test.py,sha256=INP3i39_3Xqh8oDTDNdY546fqD3eqnVzW_TO0zUVCeg,5911
|
|
412
|
-
cirq/protocols/control_key_protocol.py,sha256=
|
|
412
|
+
cirq/protocols/control_key_protocol.py,sha256=OhMkglGhP0_Of1Z-pMkEs6pYDTKzmu23pVyZunqyBBk,2591
|
|
413
413
|
cirq/protocols/control_key_protocol_test.py,sha256=fNDDkf4mQpA_tKuhX1e2BJN72v9HdGftgd79sOqREJE,1014
|
|
414
|
-
cirq/protocols/decompose_protocol.py,sha256=
|
|
414
|
+
cirq/protocols/decompose_protocol.py,sha256=73wGRdSf4o_K8MJ0i-DPJIBiNlq6fRGrF9E90NqxhwY,18941
|
|
415
415
|
cirq/protocols/decompose_protocol_test.py,sha256=JJexKMKYdSW1K1S4wkTyR1Wy80Ku_jHslSJx3gJ5REs,18130
|
|
416
|
-
cirq/protocols/equal_up_to_global_phase_protocol.py,sha256=
|
|
416
|
+
cirq/protocols/equal_up_to_global_phase_protocol.py,sha256=rIk5aRxjtmi75c1lfXutycULZYHNR2zfKmmZ67L0kZU,4077
|
|
417
417
|
cirq/protocols/equal_up_to_global_phase_protocol_test.py,sha256=EDfWnCuYAVfcvBXHYoZ0lDukNEGG2c53vzP7s8jHLKA,6050
|
|
418
418
|
cirq/protocols/has_stabilizer_effect_protocol.py,sha256=T_CVVpvckp3ZTsWi089mPqbmwOPLlF6GalEKrVK7Hvs,4309
|
|
419
419
|
cirq/protocols/has_stabilizer_effect_protocol_test.py,sha256=T6-vtMO-eBXIMRur1nlmAzi4ty4-F1BP59ZRWR_d0HQ,3955
|
|
420
|
-
cirq/protocols/has_unitary_protocol.py,sha256=
|
|
420
|
+
cirq/protocols/has_unitary_protocol.py,sha256=pO23u1faWqz1s-cvE1rySczN6tdriM7dvBOAh7A0pzs,5439
|
|
421
421
|
cirq/protocols/has_unitary_protocol_test.py,sha256=FifK9oCMMyXHsZJNsDNutbKvty-p3jfcwVZzxyWoZ74,5956
|
|
422
422
|
cirq/protocols/hash_from_pickle_test.py,sha256=H1V2cy-gtbKhhewZPSI7kcNqgpkS5luF70JLGZSkuYs,4108
|
|
423
423
|
cirq/protocols/inverse_protocol.py,sha256=tHaY8-dfd0SD59v3DZ_zpwz7lwFrraPExEnIgn1T0RI,3965
|
|
424
424
|
cirq/protocols/inverse_protocol_test.py,sha256=5RoZfSRzBvpGpLdg1XKYdB6qy-GkDvZsATUvxdFrLJ0,2067
|
|
425
|
-
cirq/protocols/json_serialization.py,sha256=
|
|
425
|
+
cirq/protocols/json_serialization.py,sha256=7FlTtI8a4fWQ0znWq9APrElQdCU44667rNFNnSraxrE,24491
|
|
426
426
|
cirq/protocols/json_serialization_test.py,sha256=An57W8eBWaUF4kKOCos2UlHzNiILnUJvqmZLmwZ_6MA,27872
|
|
427
|
-
cirq/protocols/kraus_protocol.py,sha256=
|
|
427
|
+
cirq/protocols/kraus_protocol.py,sha256=Dpv8JA1cSWXYXrkx3vBZupxQHdIyYDC_y0R0rVL3QDE,11377
|
|
428
428
|
cirq/protocols/kraus_protocol_test.py,sha256=NCgkPoGuSki7VGqbnRUDsuhpFlvDJEAcJGzeLpImz6Q,8236
|
|
429
|
-
cirq/protocols/measurement_key_protocol.py,sha256=
|
|
429
|
+
cirq/protocols/measurement_key_protocol.py,sha256=nhfnvNmfjJVYG4R7xFTqNdMzYC1r9uqy43iT-eJC58s,13321
|
|
430
430
|
cirq/protocols/measurement_key_protocol_test.py,sha256=PqSU9uB4t2yvPz9hZBLby2mZnZo-DOLlx3HIicyPeLo,8768
|
|
431
|
-
cirq/protocols/mixture_protocol.py,sha256
|
|
431
|
+
cirq/protocols/mixture_protocol.py,sha256=-BkCRr_JAQwZ4yZ2GptOn-xcJLzgzcFQKdCB0oBV0EU,6399
|
|
432
432
|
cirq/protocols/mixture_protocol_test.py,sha256=Sa0XzglMnVZRJir0EKTTiNJ2yBGVSrGvD8fDoKfYFQg,3858
|
|
433
433
|
cirq/protocols/mul_protocol.py,sha256=Jv7Qq5SejO0F6kpnFcTBML3rjZd-LTmrUJJ_D7PRpR4,2749
|
|
434
434
|
cirq/protocols/mul_protocol_test.py,sha256=J2jvKPr4Doy9Fx7RNCXbjvTkyBu1fcsxfRH-I6OzE34,2172
|
|
435
|
-
cirq/protocols/pauli_expansion_protocol.py,sha256=
|
|
435
|
+
cirq/protocols/pauli_expansion_protocol.py,sha256=a-oovf62dKIbMGx4SdzNiQfjBpZkmvvwzqRLPnfQqoQ,3738
|
|
436
436
|
cirq/protocols/pauli_expansion_protocol_test.py,sha256=TATNum73ccpG_SbK6FWxcD7rj5kw92mKpzzK1oNZkk8,2769
|
|
437
|
-
cirq/protocols/phase_protocol.py,sha256=
|
|
437
|
+
cirq/protocols/phase_protocol.py,sha256=7WVlTzqcyDV-l6zBJ9x1bJg5555jCuF_0dJ62UeGZ7Y,3618
|
|
438
438
|
cirq/protocols/phase_protocol_test.py,sha256=brLHtnnAhB28ErwgdkVDZlXTFsF5M7vSyNz-lxe8D0Y,1983
|
|
439
439
|
cirq/protocols/pow_protocol.py,sha256=q_Y3MMdkOXiB1D6V34lQGNf8vlvc5btZfDeO8M0jZd0,3151
|
|
440
440
|
cirq/protocols/pow_protocol_test.py,sha256=Mf5kn0qhgStR9fEjpRVQrlF96-BJaAAcOcCRAlyFhDs,1662
|
|
441
|
-
cirq/protocols/qasm.py,sha256=
|
|
441
|
+
cirq/protocols/qasm.py,sha256=njxlAUNwzQfyZXn3Uwk4z6HvcXb6vgcRsRpFRLTNutY,7186
|
|
442
442
|
cirq/protocols/qasm_test.py,sha256=HirWOanvVpqd9aT9s8etKBvfjbEKfpnro8Vyrq7WELc,2277
|
|
443
|
-
cirq/protocols/qid_shape_protocol.py,sha256=
|
|
443
|
+
cirq/protocols/qid_shape_protocol.py,sha256=JTzhzsz_hNe7QYMLSoJbLacolXj8WrtF5_3Xim_mctc,7652
|
|
444
444
|
cirq/protocols/qid_shape_protocol_test.py,sha256=qCocF8pVb6U27lnHJiRkRRDQSgA59KvwXr6RxGEixXI,2347
|
|
445
|
-
cirq/protocols/resolve_parameters.py,sha256=
|
|
445
|
+
cirq/protocols/resolve_parameters.py,sha256=N1NJJ672v3ISQRusO-t6nwm1hOmOqMVBeXtqfjR_Pzc,7399
|
|
446
446
|
cirq/protocols/resolve_parameters_test.py,sha256=2R2T2p4NkbD4IV2_4i8WkvSHu3OqjXo-Bf856Rwb-3w,4933
|
|
447
|
-
cirq/protocols/trace_distance_bound.py,sha256=
|
|
447
|
+
cirq/protocols/trace_distance_bound.py,sha256=xF_qfkFV_T7O3-5lBITupq6ulBYuzFXDHaYDv7it96E,4150
|
|
448
448
|
cirq/protocols/trace_distance_bound_test.py,sha256=0bI9uYttJj5eayM05kShPh9qkxeKG1egcZ9fXJPZWNU,1980
|
|
449
|
-
cirq/protocols/unitary_protocol.py,sha256=
|
|
449
|
+
cirq/protocols/unitary_protocol.py,sha256=TG-1JLsWWRhsVeI7fe0lhB8VdQx6COeWTzl2F-oS9HM,8433
|
|
450
450
|
cirq/protocols/unitary_protocol_test.py,sha256=ZiU-74fCQ5CJ_KvGOBDtIu7A8K5f9lh1FZerx291Gek,10619
|
|
451
451
|
cirq/protocols/json_test_data/AmplitudeDampingChannel.json,sha256=x3szAuG8j_1uAK5ghFapaB410g0twQ83aQNsvItXVdo,60
|
|
452
452
|
cirq/protocols/json_test_data/AmplitudeDampingChannel.repr,sha256=n_tJNGHkWlxYunXGMFtFO6-RuIv0y8Ki0YqE8w3hOl0,30
|
|
@@ -928,7 +928,7 @@ cirq/qis/measures.py,sha256=R54UapXz5itCrEAMy1cfwxVWu8_YmumsTtvHRZBAQ3M,12245
|
|
|
928
928
|
cirq/qis/measures_test.py,sha256=NPaKbc0R-brPD66XxaWQq74S-ZIHKXxGeLNik2yZIog,10424
|
|
929
929
|
cirq/qis/noise_utils.py,sha256=wbmihs9IfspoOcDms8oBwwbpljfZRsFjnC78I9_fd6s,3716
|
|
930
930
|
cirq/qis/noise_utils_test.py,sha256=bvMKEO5I3mOwUq2QxPZK-1Qrd9wU9pU1sJew-x-FnuU,3483
|
|
931
|
-
cirq/qis/quantum_state_representation.py,sha256=
|
|
931
|
+
cirq/qis/quantum_state_representation.py,sha256=usrQ4eTty-rGnG3w9nvWmz0Yb9Vt83q3N05gT58pJMU,3203
|
|
932
932
|
cirq/qis/states.py,sha256=FkUp-pOj_a1rd6U9t3xaq7PK8KPNKsq54AWmkpLulDY,41775
|
|
933
933
|
cirq/qis/states_test.py,sha256=vTvZE0Y-WL7gD7g5gy0HendmrHfbh-qPZ6KsDJH7aAg,31849
|
|
934
934
|
cirq/sim/__init__.py,sha256=J209uAbjmgzER-48Q-FkRUWQ1FlG6-1c7GK11owZIW4,3452
|
|
@@ -944,8 +944,8 @@ cirq/sim/mux.py,sha256=w7sdSWFtmAEmHHn5nMH4H1qBCCp5oltlteH5vs3C_ik,12451
|
|
|
944
944
|
cirq/sim/mux_test.py,sha256=VKwMk5r4iX3tNY-Af-pZwhUVF9qxq8yT03YxhV2DmME,13717
|
|
945
945
|
cirq/sim/simulation_product_state.py,sha256=py-gVRPis1EfyavdCW5gLhiULocrqUOTe7ZI7OD-nws,7014
|
|
946
946
|
cirq/sim/simulation_product_state_test.py,sha256=ZZeCC9a_VIehiMzyo9QQPL4PD2G2h8XVZk80IZzD5Ok,9093
|
|
947
|
-
cirq/sim/simulation_state.py,sha256=
|
|
948
|
-
cirq/sim/simulation_state_base.py,sha256=
|
|
947
|
+
cirq/sim/simulation_state.py,sha256=wwKjntD1XuwyUcXJGFJYwmmolYaPK5pc8_xS05cOsQg,12522
|
|
948
|
+
cirq/sim/simulation_state_base.py,sha256=ASH6OeyTLnWyZmSO9hdfvnS5vtVuBgm6GVUUB-izW-Q,4040
|
|
949
949
|
cirq/sim/simulation_state_test.py,sha256=wIoyeGPeUZNkKbfpo7GS6z7VcsKHIDamqImUZ5JJ4SY,7560
|
|
950
950
|
cirq/sim/simulation_utils.py,sha256=KWg_hbVyxhXK7e0r4DF8yHKcYSDmFqRIIxkF_l4O0Qg,2676
|
|
951
951
|
cirq/sim/simulation_utils_test.py,sha256=T3fGLpB3OAQtWBA6zuPQH1UlKLqpGR_5DAkxiUyKjGA,1380
|
|
@@ -981,7 +981,7 @@ 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
|
|
984
|
-
cirq/study/sweepable.py,sha256=
|
|
984
|
+
cirq/study/sweepable.py,sha256=UlpkVE9oLOgdpz0WHpQMq1ZRVbsM3r_CGM6okYr165I,4308
|
|
985
985
|
cirq/study/sweepable_test.py,sha256=gMKkCoy8JxaCDeMTiDLdmcbBrioWs-teYOnqrri_2rI,5539
|
|
986
986
|
cirq/study/sweeps.py,sha256=VhGc1Q4qJHF9QQlCpGh-X5rF3tKp0esUvWCy1y22S9M,21403
|
|
987
987
|
cirq/study/sweeps_test.py,sha256=fiOKKnDyD-Ju7xeQM7A9pKkfR58VHXKdc0qw9d0MwRA,17231
|
|
@@ -1103,7 +1103,7 @@ cirq/transformers/synchronize_terminal_measurements.py,sha256=lORajz_Qd1RC3baNdr
|
|
|
1103
1103
|
cirq/transformers/synchronize_terminal_measurements_test.py,sha256=sOmAYP3jXSUbUSJO5KKgkLPDWCWxPLUcRTSZ48HaDrA,7858
|
|
1104
1104
|
cirq/transformers/tag_transformers.py,sha256=xGTEe9_H857Zd-GJ_g1tlCz_zH3kWKGBq38Zzoi1klU,3510
|
|
1105
1105
|
cirq/transformers/tag_transformers_test.py,sha256=PqIcYFgiLU7VgC1EHkFYhxNCf0D9zKDCZ_Gwtnykkt4,3439
|
|
1106
|
-
cirq/transformers/transformer_api.py,sha256=
|
|
1106
|
+
cirq/transformers/transformer_api.py,sha256=woyAJu8NIbo7IP9jgIZNSOVIIj0x4wpFyzpYlto1wCg,16794
|
|
1107
1107
|
cirq/transformers/transformer_api_test.py,sha256=vz_zTDPJIfjfqORGKCxeAs3U1F3X2dFNbe50o79uY-4,13273
|
|
1108
1108
|
cirq/transformers/transformer_primitives.py,sha256=U7eN9UQ3YpW6D8UPJTHxsSO4ERpZxRxt14rqbMTk71Q,36521
|
|
1109
1109
|
cirq/transformers/transformer_primitives_test.py,sha256=QAayPS74Ro4TTol-IOPnd7S49DKhvXYmWci0nOsk05A,41712
|
|
@@ -1179,7 +1179,7 @@ cirq/value/abc_alt.py,sha256=ZNHskvHpu3KOhMpIo0C5MBEbEpWFQ2WPiNdstppwZ7E,6026
|
|
|
1179
1179
|
cirq/value/abc_alt_test.py,sha256=3ryHzM0B2uxFw3ZP_BIj0FWg4gXKNPLfeQOJMPVL1FQ,9033
|
|
1180
1180
|
cirq/value/angle.py,sha256=6YP1RWv8IrruvgxvqlCYxcabYRE8bXrbV_Jx66Jfuvs,3285
|
|
1181
1181
|
cirq/value/angle_test.py,sha256=jKLd1hkY-Tb22krD-WkJjfqFy9EJIIZCAL57__FgW_c,3608
|
|
1182
|
-
cirq/value/classical_data.py,sha256=
|
|
1182
|
+
cirq/value/classical_data.py,sha256=SIxyyJyM0BavQxJJVnRN_ktFvv5QFEPPEewsr0muLVk,11487
|
|
1183
1183
|
cirq/value/classical_data_test.py,sha256=q1QMT17E-X9kcaPw1oQqx3Hwnq3hyht24HaK3z7Udpo,5332
|
|
1184
1184
|
cirq/value/condition.py,sha256=lJJcFiqG-r68DhhS01DS6HhQw0pDwbNq71bvH1Famec,11916
|
|
1185
1185
|
cirq/value/condition_test.py,sha256=oEdim5nOYYY8UPU91H2xhb9MH8EC2WbMXTQ_DruHVO0,12949
|
|
@@ -1187,7 +1187,7 @@ cirq/value/digits.py,sha256=-3HTHqEQqy5evUz8aLE6ruw0NV3ncuPrc5asRMQ-sQ4,6063
|
|
|
1187
1187
|
cirq/value/digits_test.py,sha256=WDeUQTnDqZXh4JjWu_qEkzCFAtd8x1UlN9I2yjdDV3g,3848
|
|
1188
1188
|
cirq/value/duration.py,sha256=9zhnMe7EBicqbRp267GkPz97q1y1DcnPDXHqdEjJpts,10389
|
|
1189
1189
|
cirq/value/duration_test.py,sha256=xQd5-dE8zZddsZru1P6ClV3PoeJncqLAQr3ivgZIXdQ,8281
|
|
1190
|
-
cirq/value/linear_dict.py,sha256
|
|
1190
|
+
cirq/value/linear_dict.py,sha256=-wtYnPpg5X8MbaJq8xbkmDw48nTSItuhjj7Zdvwxp_A,12123
|
|
1191
1191
|
cirq/value/linear_dict_test.py,sha256=eZatVgAMonquI2qys4WJx6ddUc2KDea440qHIOxlTfQ,20061
|
|
1192
1192
|
cirq/value/measurement_key.py,sha256=tgKhfa6UUPMP3azlF_yuARqg31T-lAAMhoTK6OtUEeQ,5175
|
|
1193
1193
|
cirq/value/measurement_key_test.py,sha256=QpiKcsDOr8UjN3UyOng881zGIPNjqDTE1aHr-V6yzbg,4502
|
|
@@ -1202,7 +1202,7 @@ cirq/value/random_state_test.py,sha256=AfzX82WsyyuLYnoakNOTj2PPL1fYRH5ZaH84uO-6C
|
|
|
1202
1202
|
cirq/value/timestamp.py,sha256=pC-hwfLL6U1_5937AMw6YtGgEBq71prNQ6jOjh8Kbls,3633
|
|
1203
1203
|
cirq/value/timestamp_test.py,sha256=L-MmYEuoTDdyyX6MJ6-wBqxHcSMabQHogX_DhOm0SAg,4214
|
|
1204
1204
|
cirq/value/type_alias.py,sha256=64tVzxOqzwtKTwuqXan-PeTyjy7i6J928FCg5NtMcw4,1121
|
|
1205
|
-
cirq/value/value_equality_attr.py,sha256=
|
|
1205
|
+
cirq/value/value_equality_attr.py,sha256=JcjTVy_TQ56SXa7n_qAWJkUbICC3i6vWcM5K3g_OwNQ,10461
|
|
1206
1206
|
cirq/value/value_equality_attr_test.py,sha256=ZWsjAlJd9M_-HONqTXcdjpIaFCilLcelyodZl1fIu2Y,6557
|
|
1207
1207
|
cirq/vis/__init__.py,sha256=YzNrNjIyUiTxKHGzYw92qzOYzx8aXkm2y_1hkfVohtU,1171
|
|
1208
1208
|
cirq/vis/density_matrix.py,sha256=7Mydxi7r1at6W0t7lH99Gq__deyCQ9RxHf-HveKLTZw,4820
|
|
@@ -1216,7 +1216,7 @@ cirq/vis/state_histogram_test.py,sha256=zHQeSPGVViN5s1QHGsClm0zlIXdt_oyIIDQaAItD
|
|
|
1216
1216
|
cirq/vis/vis_utils.py,sha256=MQDCuV-ZfHrtpSRF_-iIRuNvPR9Xv5umRpixPyZ5CvA,1274
|
|
1217
1217
|
cirq/vis/vis_utils_test.py,sha256=geSavo2Ip585fjanPK3T8AUuvhUwNclLBdl_W_OOycc,984
|
|
1218
1218
|
cirq/work/__init__.py,sha256=qbw_dKRx_88FxNH_f_CfpVGMrrJKxtjDncx6m7dEWYs,1771
|
|
1219
|
-
cirq/work/collector.py,sha256
|
|
1219
|
+
cirq/work/collector.py,sha256=jeDM1imzWS57RUdErsBcndoCTd0I9VAomSZrcEgi_xo,7721
|
|
1220
1220
|
cirq/work/collector_test.py,sha256=2dAOkKTn0tazxb_gyhKPJghXpj47Bm2SuCCpf_EW7kI,5004
|
|
1221
1221
|
cirq/work/observable_grouping.py,sha256=fYK48ml5U2B9AXXBFvql3YkIU2xSzBF-Bq5tWMVTYbM,3473
|
|
1222
1222
|
cirq/work/observable_grouping_test.py,sha256=c_axFGnGfCAqk69oqSgottsT_u_Versa4A_oZrgasMk,5875
|
|
@@ -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.dev20250822143452.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1238
|
+
cirq_core-1.7.0.dev20250822143452.dist-info/METADATA,sha256=rmqFLRJoBFhlAOjtzT2xVQN6EAohnN8dV4au3sw9_yQ,4819
|
|
1239
|
+
cirq_core-1.7.0.dev20250822143452.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
1240
|
+
cirq_core-1.7.0.dev20250822143452.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1241
|
+
cirq_core-1.7.0.dev20250822143452.dist-info/RECORD,,
|
{cirq_core-1.7.0.dev20250820205919.dist-info → cirq_core-1.7.0.dev20250822143452.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|