cirq-core 1.4.0.dev20240509162830__py3-none-any.whl → 1.4.0.dev20240509215225__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 CHANGED
@@ -1 +1 @@
1
- __version__ = "1.4.0.dev20240509162830"
1
+ __version__ = "1.4.0.dev20240509215225"
cirq/ops/qid_util.py CHANGED
@@ -41,8 +41,7 @@ def q(*args: Union[int, str]) -> Union['cirq.LineQubit', 'cirq.GridQubit', 'cirq
41
41
  >>> cirq.q("foo") == cirq.NamedQubit("foo")
42
42
  True
43
43
 
44
- Note that arguments should be treated as positional only, even
45
- though this is only enforceable in python 3.8 or later.
44
+ Note that arguments should be treated as positional only.
46
45
 
47
46
  Args:
48
47
  *args: One or two ints, or a single str, as described above.
@@ -11,6 +11,7 @@
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
+
14
15
  import contextlib
15
16
  import dataclasses
16
17
  import datetime
@@ -19,7 +20,6 @@ import io
19
20
  import json
20
21
  import os
21
22
  import pathlib
22
- import sys
23
23
  import warnings
24
24
  from typing import Dict, List, Optional, Tuple, Type
25
25
  from unittest import mock
@@ -56,12 +56,6 @@ TESTED_MODULES: Dict[str, Optional[_ModuleDeprecation]] = {
56
56
  }
57
57
 
58
58
 
59
- # pyQuil 3.0, necessary for cirq_rigetti module requires
60
- # python >= 3.9
61
- if sys.version_info < (3, 9): # pragma: no cover
62
- del TESTED_MODULES['cirq_rigetti']
63
-
64
-
65
59
  def _get_testspecs_for_modules() -> List[ModuleJsonTestSpec]:
66
60
  modules = []
67
61
  for m in TESTED_MODULES.keys():
@@ -1,18 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cirq-core
3
- Version: 1.4.0.dev20240509162830
3
+ Version: 1.4.0.dev20240509215225
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
7
7
  Author-email: cirq-dev@googlegroups.com
8
8
  License: Apache 2
9
- Requires-Python: >=3.9.0
9
+ Requires-Python: >=3.10.0
10
10
  License-File: LICENSE
11
11
  Requires-Dist: attrs
12
12
  Requires-Dist: duet >=0.2.8
13
13
  Requires-Dist: matplotlib ~=3.0
14
14
  Requires-Dist: networkx >=2.4
15
- Requires-Dist: numpy ~=1.16
15
+ Requires-Dist: numpy ~=1.22
16
16
  Requires-Dist: pandas
17
17
  Requires-Dist: sortedcontainers ~=2.0
18
18
  Requires-Dist: scipy <1.13.0
@@ -4,7 +4,7 @@ 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=HvH8RsJtt9j4_dutS6yEhtOpobrHfzOwzWux-vblBDw,40
7
+ cirq/_version.py,sha256=XzUu-oSq5dDszma7gs7De3cNgBYMfb9_nx-2PuTDunI,40
8
8
  cirq/_version_test.py,sha256=yYS6xm5-nuBRQJa9R3n41WdvFtVyY7Lb5Q8bea3VgBI,133
9
9
  cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
10
10
  cirq/json_resolver_cache.py,sha256=9g_JQMmfBzTuV-3s2flUbXIgcLjs4K7LjAFFgngdG1U,13204
@@ -349,7 +349,7 @@ cirq/ops/phased_x_z_gate.py,sha256=eHYMyPiDhlEyzphJDnaTeLdRn96Tns1VfiYv6FtPShU,1
349
349
  cirq/ops/phased_x_z_gate_test.py,sha256=8PCwOgGGWL32QIR8m1kBd5JG3Mq9BMDeeVD0aPk1E90,9541
350
350
  cirq/ops/projector.py,sha256=isDlNLR8YS5CxsVCihtRAgfKZXFFQxk7kuFXY14t8ys,5690
351
351
  cirq/ops/projector_test.py,sha256=Wq7ddj-PV30yUXJxJoT3XIw2sIUC1AilnZ9m9N5Ejr8,9063
352
- cirq/ops/qid_util.py,sha256=IO7vhq5RgeIujO2EhG_FCIvkIMMr2jTyz8gG5M0mrIU,2136
352
+ cirq/ops/qid_util.py,sha256=SxyoMy_s070lcqXV7ny6vE8pp082OrTjBtawZtHOhXs,2071
353
353
  cirq/ops/qid_util_test.py,sha256=JdViBgFfH4bZJyPKTjUf9MuPxMQe08JV_Tl6tusekfk,1061
354
354
  cirq/ops/qubit_manager.py,sha256=U8dML-iosNfQn16Ug62z2-b2PFf-iDWc1ZCLuUsIc-g,3539
355
355
  cirq/ops/qubit_manager_test.py,sha256=SQ_6kOehIaMgRvU43nTOEy6UoDxZSeVzSYQ2Mfouexg,3371
@@ -400,7 +400,7 @@ cirq/protocols/has_unitary_protocol_test.py,sha256=IjmJ3dqvteFUUO4FLwCTokgUvYy8H
400
400
  cirq/protocols/inverse_protocol.py,sha256=CEqtGRRj86WQyyALonRXxQrNq-fENOs_Zqrlr_BVau8,4115
401
401
  cirq/protocols/inverse_protocol_test.py,sha256=pqqIU4_G4Npc9Z-SeoM9eCB2T5JRTeI02NCXhP0UtaI,2017
402
402
  cirq/protocols/json_serialization.py,sha256=Otrrzsi74rfE_2wbK-xBUI3QzQaRnEXqsY1D_ktW4jk,24360
403
- cirq/protocols/json_serialization_test.py,sha256=qPL80GpJBEN3pWe_vhNFCvUFQuuta3DKhCPwnTRnzdI,27635
403
+ cirq/protocols/json_serialization_test.py,sha256=Cn116fKZ-k7KNxwJXrCQSct7ioeP1hKIcZZ4HE5q2gk,27461
404
404
  cirq/protocols/kraus_protocol.py,sha256=GKQ748yxo6B6i0jUzq8OyR6lcEFYbh4FV2UryjUgSuk,9158
405
405
  cirq/protocols/kraus_protocol_test.py,sha256=QpPwkk7XBiGKNdrOcjXqtvhESVbUzujnUPz47uUNyqc,5401
406
406
  cirq/protocols/measurement_key_protocol.py,sha256=hl7xFi1Evebh8MQNLuUffhsUkggr4SdWUm4kIr9s2iI,13425
@@ -1169,8 +1169,8 @@ cirq/work/sampler.py,sha256=JEAeQQRF3bqlO9AkOf4XbrTATDI5f5JgyM_FAUCNxao,19751
1169
1169
  cirq/work/sampler_test.py,sha256=B2ZsuqGT854gQtBIAh8k0LiG9Vj5wSzcGvkxOUoTcW4,13217
1170
1170
  cirq/work/zeros_sampler.py,sha256=x1C7cup66a43n-3tm8QjhiqJa07qcJW10FxNp9jJ59Q,2356
1171
1171
  cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
1172
- cirq_core-1.4.0.dev20240509162830.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1173
- cirq_core-1.4.0.dev20240509162830.dist-info/METADATA,sha256=U2n22LwiwY8DdkbHvLf9F9IpC_6OAx-5-uV9SWHwizk,1999
1174
- cirq_core-1.4.0.dev20240509162830.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1175
- cirq_core-1.4.0.dev20240509162830.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1176
- cirq_core-1.4.0.dev20240509162830.dist-info/RECORD,,
1172
+ cirq_core-1.4.0.dev20240509215225.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1173
+ cirq_core-1.4.0.dev20240509215225.dist-info/METADATA,sha256=by0PSGyTPZ_yiM5_bg5AGvSYkHW_65ZFRb_hVjgTcHs,2000
1174
+ cirq_core-1.4.0.dev20240509215225.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1175
+ cirq_core-1.4.0.dev20240509215225.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1176
+ cirq_core-1.4.0.dev20240509215225.dist-info/RECORD,,