cirq-core 1.6.0.dev20250514001158__py3-none-any.whl → 1.6.0.dev20250514171429__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
@@ -28,4 +28,4 @@ if sys.version_info < (3, 10, 0): # pragma: no cover
28
28
  'of cirq (e.g. "python -m pip install cirq==1.1.*")'
29
29
  )
30
30
 
31
- __version__ = "1.6.0.dev20250514001158"
31
+ __version__ = "1.6.0.dev20250514171429"
cirq/_version_test.py CHANGED
@@ -3,4 +3,4 @@ import cirq
3
3
 
4
4
 
5
5
  def test_version() -> None:
6
- assert cirq.__version__ == "1.6.0.dev20250514001158"
6
+ assert cirq.__version__ == "1.6.0.dev20250514171429"
@@ -979,7 +979,7 @@ def test_two_qubit_gates(qasm_gate: str, cirq_gate: cirq.testing.TwoQubitGate) -
979
979
  )
980
980
  def test_two_qubit_param_gates(
981
981
  qasm_gate: str, cirq_gate: cirq.testing.TwoQubitGate, num_params: int
982
- ):
982
+ ) -> None:
983
983
  params = '(0.1, 0.2, 0.3)' if num_params == 3 else '(0.1)'
984
984
  qasm = f"""
985
985
  OPENQASM 2.0;
@@ -77,7 +77,7 @@ def test_random_circuit(
77
77
  op_density: float,
78
78
  gate_domain: Optional[Dict[cirq.Gate, int]],
79
79
  pass_qubits: bool,
80
- ):
80
+ ) -> None:
81
81
  qubit_set = cirq.LineQubit.range(n_qubits)
82
82
  qubit_arg = qubit_set if pass_qubits else n_qubits
83
83
  circuit = cirq.testing.random_circuit(qubit_arg, n_moments, op_density, gate_domain)
@@ -149,7 +149,7 @@ def assert_ops_implement_unitary(q0, q1, operations, intended_effect, atol=0.01)
149
149
  )
150
150
  def test_two_to_ops_equivalent_and_bounded_for_known_and_random(
151
151
  max_partial_cz_depth, max_full_cz_depth, effect
152
- ):
152
+ ) -> None:
153
153
  q0 = cirq.NamedQubit('q0')
154
154
  q1 = cirq.NamedQubit('q1')
155
155
 
@@ -98,7 +98,7 @@ def test_decompose_xx_yy_into_two_fsims_ignoring_single_qubit_ops_fail() -> None
98
98
  @pytest.mark.parametrize('obj,fsim_gate', itertools.product(UNITARY_OBJS, FEASIBLE_FSIM_GATES))
99
99
  def test_decompose_two_qubit_interaction_into_four_fsim_gates_equivalence(
100
100
  obj: Any, fsim_gate: cirq.FSimGate
101
- ):
101
+ ) -> None:
102
102
  qubits = obj.qubits if isinstance(obj, cirq.Operation) else cirq.LineQubit.range(2)
103
103
  circuit = cirq.decompose_two_qubit_interaction_into_four_fsim_gates(obj, fsim_gate=fsim_gate)
104
104
  desired_unitary = obj if isinstance(obj, np.ndarray) else cirq.unitary(obj)
@@ -159,7 +159,7 @@ glob_mapper = cirq.LineInitialMapper(glob_device_graph)
159
159
  )
160
160
  def test_random_circuits_grid_device(
161
161
  qubits: int, n_moments: int, op_density: float, random_state: int
162
- ):
162
+ ) -> None:
163
163
  c_orig = cirq.testing.random_circuit(
164
164
  qubits=qubits, n_moments=n_moments, op_density=op_density, random_state=random_state
165
165
  )
@@ -176,7 +176,7 @@ def test_random_circuits_grid_device(
176
176
  )
177
177
  def test_large_random_circuits_grid_device(
178
178
  qubits: int, n_moments: int, op_density: float, random_state: int
179
- ):
179
+ ) -> None:
180
180
  c_orig = cirq.testing.random_circuit(
181
181
  qubits=qubits, n_moments=n_moments, op_density=op_density, random_state=random_state
182
182
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cirq-core
3
- Version: 1.6.0.dev20250514001158
3
+ Version: 1.6.0.dev20250514171429
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
@@ -4,8 +4,8 @@ cirq/_compat_test.py,sha256=t51ZXkEuomg1SMI871Ws-5pk68DGBsAf2TGNjVXtZ8I,34755
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=O9qeJ67dnWKYzUEMpryICZRp-yLXmpZVAva6HeCS3GI,1206
8
- cirq/_version_test.py,sha256=NsVmHRQeco4iSw8GQY6TpXl8gwGJWc3oUOpH4tVPsq4,155
7
+ cirq/_version.py,sha256=zjfdHuC9T9iDGnExu7V-g3vyY3IP-0gsHb7jAMfOOjU,1206
8
+ cirq/_version_test.py,sha256=TfEwXA-8CGiQCzRW-7_DXIL7k22FvOCoqJsiFlwjiG0,155
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
@@ -108,7 +108,7 @@ cirq/contrib/qasm_import/__init__.py,sha256=RKX0vGDC2Pe5rH5rM4ClXdvtrAU16ePFImQp
108
108
  cirq/contrib/qasm_import/_lexer.py,sha256=RkrbOoT5flW_NEzdxRgv4nbmJ1mWJWlENPf7aPAVM9Y,2929
109
109
  cirq/contrib/qasm_import/_lexer_test.py,sha256=q-NgTZMeXFbBa1s6Q66qu0oHHO_f2Tsczn50kVw04Y4,6218
110
110
  cirq/contrib/qasm_import/_parser.py,sha256=lcXWip0si5ZI8iCEQ-oQQcKj08pPSDnk2Y3u55JiWys,26052
111
- cirq/contrib/qasm_import/_parser_test.py,sha256=7IyxkbZQqmJSHudZmvrdrf87Gf-3spTea6_0XOZbdQo,40259
111
+ cirq/contrib/qasm_import/_parser_test.py,sha256=71H4zaCQ7nJ-9PB20ZImSmCHhkkEZ6gW238JTLDLPgU,40267
112
112
  cirq/contrib/qasm_import/exception.py,sha256=Wm6cwUPIkNMPjkv-ELpQ-zSoXaiLOddOQ4iYybwuS6I,695
113
113
  cirq/contrib/qasm_import/qasm.py,sha256=Ve1oJZEFezeIVam9rsbGwCUzqEXoXrkQbV5CO28G-Fc,950
114
114
  cirq/contrib/qasm_import/qasm_test.py,sha256=Co2ksl14dBvYtBUB9-9DONjjyV7uTdZqNP8k8dBLS-Y,1861
@@ -1018,7 +1018,7 @@ cirq/testing/order_tester_test.py,sha256=EPcKCieDY6haioTZJJpo6RL6lj_TgBgZYDz9OWW
1018
1018
  cirq/testing/pytest_utils.py,sha256=I3R5oGjZpoc2eWzEVU940hnDLwlDlD5cSa9-B4le-1I,1920
1019
1019
  cirq/testing/pytest_utils_test.py,sha256=UrjLeajfv2Vn61U-O8AJGTOG-971mTTKQUKiToCFh9k,1330
1020
1020
  cirq/testing/random_circuit.py,sha256=YyN4kia6jPhxl64FoX8wTlDyOoLh9p9hzLNXuuhWGcA,6178
1021
- cirq/testing/random_circuit_test.py,sha256=mRxq2y4XdCbuWWOYk6u5_NfE9zlkd7mRWk6zcIvcfpM,7066
1021
+ cirq/testing/random_circuit_test.py,sha256=-MG5z-1o3hLXmGPXmdJtFlMYZ32fE_X0G7A7sGmjh0o,7074
1022
1022
  cirq/testing/repr_pretty_tester.py,sha256=dtk713qmE87Biaez3c8R83Wb7tlb4xWFfzt44iKkbto,2899
1023
1023
  cirq/testing/repr_pretty_tester_test.py,sha256=l82qKI5orp9IR0AaeKbFRIl_LtnufI3ku3ID6UJ2WY0,2250
1024
1024
  cirq/testing/routing_devices.py,sha256=7D1fxGFPdabjMH4MRix-S0nwS8fxRC-dxNT6Xb6Csq8,2565
@@ -1107,9 +1107,9 @@ cirq/transformers/analytical_decompositions/three_qubit_decomposition_test.py,sh
1107
1107
  cirq/transformers/analytical_decompositions/two_qubit_state_preparation.py,sha256=4eYGF_Ew-Ejg74MJBbezEviqaO0gY8on665zfp9kmUI,6173
1108
1108
  cirq/transformers/analytical_decompositions/two_qubit_state_preparation_test.py,sha256=486hVPQp620r8SPKlhyaFIK8TC5jDngX8WqHY1Hb0Hk,4458
1109
1109
  cirq/transformers/analytical_decompositions/two_qubit_to_cz.py,sha256=t2w_8TfAaH_238iYLbsDyuB27l9urNjxLYWQtv4bhNE,9331
1110
- cirq/transformers/analytical_decompositions/two_qubit_to_cz_test.py,sha256=fBSZ4GC1d1IXvj1SVYpEp3pdC0zjtR0DSoqySx03mig,9989
1110
+ cirq/transformers/analytical_decompositions/two_qubit_to_cz_test.py,sha256=uFvsToxk_mqhUGLfXKTbWBGLRiUrZL_siRqdNxXSz70,9997
1111
1111
  cirq/transformers/analytical_decompositions/two_qubit_to_fsim.py,sha256=Sh-gLk3Mtbc2BEAuYOO4W-SGIKcp8A8OdEbKtPNgpj8,9702
1112
- cirq/transformers/analytical_decompositions/two_qubit_to_fsim_test.py,sha256=lUsiwD2kfp9FwTtPPW0gOur9zqoyXjEOgZ72u2cPmbY,7029
1112
+ cirq/transformers/analytical_decompositions/two_qubit_to_fsim_test.py,sha256=yWoDV1Yy9-JaazSaaDi4yDFLv0DBrzKILKwq_EUfCYE,7037
1113
1113
  cirq/transformers/analytical_decompositions/two_qubit_to_ms.py,sha256=rwY38e-c-2qdAVzaTpTCcmhGvtq-J4HBJJlm3lu-9VU,3773
1114
1114
  cirq/transformers/analytical_decompositions/two_qubit_to_ms_test.py,sha256=xCVJD8_Q9VBrOWthYiedkHfFzKnyFK2fIOJpEFLLiaw,4168
1115
1115
  cirq/transformers/analytical_decompositions/two_qubit_to_sqrt_iswap.py,sha256=WP-CojkNy_c7gIlc4q595o2OtMu9pdpmERtXthU2cRU,25374
@@ -1140,7 +1140,7 @@ cirq/transformers/routing/__init__.py,sha256=pgovVolGz4pePMfa5siwZ7zWJcU4Jqb3NxI
1140
1140
  cirq/transformers/routing/initial_mapper.py,sha256=as_5djJZVJK0MpIiovmSHcLoTu61EljYZvHs_woXuYE,3056
1141
1141
  cirq/transformers/routing/initial_mapper_test.py,sha256=dR_Ec1W_NnIlLjvK7_WnGhZKgipofnqaO0bXxK4Pz3w,1308
1142
1142
  cirq/transformers/routing/line_initial_mapper.py,sha256=yuLoHa1SSMkIv4hzTz_txu3H-38n-6N8gKCDu_0pna4,9462
1143
- cirq/transformers/routing/line_initial_mapper_test.py,sha256=WZ8LZmCPwsQBG6-DdehtJK1Zg0E8T7Er7nmnpCF59gc,7516
1143
+ cirq/transformers/routing/line_initial_mapper_test.py,sha256=KOlHEl4qG8p2By4JrtxKAVI-32EeoKbcZlZ6_7W8xA0,7532
1144
1144
  cirq/transformers/routing/mapping_manager.py,sha256=-N2-L2dAVbxyhQ_u4eq5BUcudv_9YQVW0KJOn9BYC6g,8633
1145
1145
  cirq/transformers/routing/mapping_manager_test.py,sha256=kRKqF88EoqqwMI5qbv54OMBrqzodHZS2tVwIMNNwO_Y,5921
1146
1146
  cirq/transformers/routing/route_circuit_cqc.py,sha256=rK7X5RKHhniBd4Stose8lj6x_zTAE8UqMJf2z0Mne90,22018
@@ -1214,8 +1214,8 @@ cirq/work/sampler.py,sha256=b7O3B8bc77KQb8ReLx7qeF8owP1Qwb5_I-RwC6-M_C8,19118
1214
1214
  cirq/work/sampler_test.py,sha256=TBJm3gepuOURwklJTXNdqj0thvdqKUvrZwZqdytJxNY,13313
1215
1215
  cirq/work/zeros_sampler.py,sha256=vHCfqkXmUcPkaDuKHlY-UQ71dUHVroEtm_XW51mZpHs,2390
1216
1216
  cirq/work/zeros_sampler_test.py,sha256=lQLgQDGBLtfImryys2HzQ2jOSGxHgc7-koVBUhv8qYk,3345
1217
- cirq_core-1.6.0.dev20250514001158.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1218
- cirq_core-1.6.0.dev20250514001158.dist-info/METADATA,sha256=X3bX6QvoKAS9wvhCJ1_GILOFM8iSjLEO7QDE5KpZMGs,4959
1219
- cirq_core-1.6.0.dev20250514001158.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
1220
- cirq_core-1.6.0.dev20250514001158.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1221
- cirq_core-1.6.0.dev20250514001158.dist-info/RECORD,,
1217
+ cirq_core-1.6.0.dev20250514171429.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1218
+ cirq_core-1.6.0.dev20250514171429.dist-info/METADATA,sha256=rpnyuVvUlgBhsMI8Yn7beN4NoCA-UdO2eIsFn1UmYHY,4959
1219
+ cirq_core-1.6.0.dev20250514171429.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
1220
+ cirq_core-1.6.0.dev20250514171429.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1221
+ cirq_core-1.6.0.dev20250514171429.dist-info/RECORD,,