cirq-core 1.7.0.dev20250917023732__py3-none-any.whl → 1.7.0.dev20250919173716__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, 11, 0): # pragma: no cover
28
28
  'of Cirq (e.g. "python -m pip install cirq==1.5.0")'
29
29
  )
30
30
 
31
- __version__ = "1.7.0.dev20250917023732"
31
+ __version__ = "1.7.0.dev20250919173716"
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.7.0.dev20250917023732"
6
+ assert cirq.__version__ == "1.7.0.dev20250919173716"
@@ -130,9 +130,9 @@ class ArithmeticGate(Gate, metaclass=abc.ABCMeta):
130
130
  1. The `apply` method is permitted to return values that have more bits
131
131
  than the registers they will be stored into. The extra bits are
132
132
  simply dropped. For example, if the value 5 is returned for a 2
133
- qubit register then 5 % 2**2 = 1 will be used instead. Negative
133
+ qubit register then ``5 % 2**2 = 1`` will be used instead. Negative
134
134
  values are also permitted. For example, for a 3 qubit register the
135
- value -2 becomes -2 % 2**3 = 6.
135
+ value -2 becomes ``-2 % 2**3 = 6``.
136
136
  2. When the value of the last `k` registers is not changed by the
137
137
  gate, the `apply` method is permitted to omit these values
138
138
  from the result. That is to say, when the length of the output is
cirq/ops/common_gates.py CHANGED
@@ -391,7 +391,7 @@ class YPowGate(eigen_gate.EigenGate):
391
391
  Unlike `cirq.XPowGate` and `cirq.ZPowGate`, this gate has no generalization
392
392
  to qudits and hence does not take the dimension argument. Ignoring the
393
393
  global phase all generalized Pauli operators on a d-level system may be
394
- written as X**a Z**b for a,b=0,1,...,d-1. For a qubit, there is only one
394
+ written as ``X**a Z**b`` for a,b=0,1,...,d-1. For a qubit, there is only one
395
395
  "mixed" operator: XZ, conventionally denoted -iY. However, when d > 2 there
396
396
  are (d-1)*(d-1) > 1 such "mixed" operators (still ignoring the global phase).
397
397
  Due to this ambiguity, qudit Y gate is not well defined. The "mixed" operators
@@ -73,9 +73,9 @@ class PauliStringPhasor(gate_operation.GateOperation):
73
73
  `pauli_string` are acted upon by identity. The order of
74
74
  these qubits must match the order in `pauli_string`.
75
75
  exponent_neg: How much to phase vectors in the negative eigenspace,
76
- in the form of the t in (-1)**t = exp(i pi t).
76
+ in the form of the t in ``(-1)**t = exp(i*pi*t)``.
77
77
  exponent_pos: How much to phase vectors in the positive eigenspace,
78
- in the form of the t in (-1)**t = exp(i pi t).
78
+ in the form of the t in ``(-1)**t = exp(i*pi*t)``.
79
79
 
80
80
  Raises:
81
81
  ValueError: If coefficient is not 1 or -1 or the qubits of
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cirq-core
3
- Version: 1.7.0.dev20250917023732
3
+ Version: 1.7.0.dev20250919173716
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=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=1yZ87mOQVmLjF6tVlRa3kqMYh9kKdQ56G2djj2_P9OM,1206
8
- cirq/_version_test.py,sha256=IWBpw0Ag9-IzLZYqsnqutqalX_BrMvw5gvRo7n0TVG0,155
7
+ cirq/_version.py,sha256=7jAdG1hmWZMrikvaqFGXMjRXF9jiDURgO6-5pedrGWs,1206
8
+ cirq/_version_test.py,sha256=Fg_GMBCx2lQ0LK7xFzMpKrshetkGFVCiOAO3B9gKwuE,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
@@ -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=cokwokyzKa3zJkyxopP81fTRMutHfI277ZObKw9El_w,10022
286
+ cirq/ops/arithmetic_operation.py,sha256=DSUd48680C6hBELJoNRUUuFvVxSO2ZAF_o1ZmtUcKNo,10030
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
@@ -295,7 +295,7 @@ cirq/ops/common_channels.py,sha256=ZZa2JCyPtrKfGhcAGCUUzA4qym8S9isKs-xs-TEkhKs,3
295
295
  cirq/ops/common_channels_test.py,sha256=dPveO6j3qxmdRXaQhEIvj5vKRE0v3pQ9ICmjnSSbP0Q,30761
296
296
  cirq/ops/common_gate_families.py,sha256=trK4ZXCKqYahZkyuwaAn-TcjUu7gmI9n9geO8PYiRGE,8606
297
297
  cirq/ops/common_gate_families_test.py,sha256=SfIKolQhVIof0uOHljY1QKT9Tu_4WzUsoeCNR2jIOPg,5441
298
- cirq/ops/common_gates.py,sha256=luEk507wQgstyl15DUq0AtKsXYnJqX0Xei4hM5RFjaY,58239
298
+ cirq/ops/common_gates.py,sha256=P8S_2IfKiLCY2npBgDqlQLYmnkdzxiPBeO53htV9xGQ,58243
299
299
  cirq/ops/common_gates_test.py,sha256=IcUWxDTTTbis0efXz2Kn0zAdclp9R31fZAfCx3E-BOo,49758
300
300
  cirq/ops/control_values.py,sha256=GrNi8YJZSZDCl8Su6Ocimvd1R1SejFJjVu2thcJ8VLI,13346
301
301
  cirq/ops/control_values_test.py,sha256=Wyn0nwtcpnJvcPVRHmFGb3PtYxvsbpluA5UbPrG7tIo,13067
@@ -352,7 +352,7 @@ cirq/ops/pauli_interaction_gate_test.py,sha256=9IGQjf4cRNe1EAsxVJjTMysoO2TxUhDlp
352
352
  cirq/ops/pauli_measurement_gate.py,sha256=OzbQeMzr9cHQsai8K-usg3Il74o8gdXZLksLuYr8RcU,7113
353
353
  cirq/ops/pauli_measurement_gate_test.py,sha256=IDnbQgyaj-nbYw_sslPBccl8aRGTlMrADc_EEiAvluk,6929
354
354
  cirq/ops/pauli_string.py,sha256=C6QlWKHRCqAoN5DNfUsnOw1i4oJnyc_c878GtiZnDfk,63356
355
- cirq/ops/pauli_string_phasor.py,sha256=5Tm_OoR_v44Kb3AQAw5XIxpcmKtompdbq5ZefYGEUmk,18207
355
+ cirq/ops/pauli_string_phasor.py,sha256=Q67QikobiE5A9wGaa6azLsNNMJqfxmKKOV3XRJHjVkk,18215
356
356
  cirq/ops/pauli_string_phasor_test.py,sha256=ZIoraHH3kOFjtEfThXDS-sxUvSU8MYZ2avtdiPcyN6w,28309
357
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
@@ -1236,8 +1236,8 @@ cirq/work/sampler.py,sha256=rxbMWvrhu3gfNSBjZKozw28lLKVvBAS_1EGyPdYe8Xg,19041
1236
1236
  cirq/work/sampler_test.py,sha256=SsMrRvLDYELyOAWLKISjkdEfrBwLYWRsT6D8WrsLM3Q,13533
1237
1237
  cirq/work/zeros_sampler.py,sha256=Fs2JWwq0n9zv7_G5Rm-9vPeHUag7uctcMOHg0JTkZpc,2371
1238
1238
  cirq/work/zeros_sampler_test.py,sha256=lQLgQDGBLtfImryys2HzQ2jOSGxHgc7-koVBUhv8qYk,3345
1239
- cirq_core-1.7.0.dev20250917023732.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1240
- cirq_core-1.7.0.dev20250917023732.dist-info/METADATA,sha256=Lk57dj4REL284LPbZY628TWToqkmG6CvPoHdrwcklW4,4758
1241
- cirq_core-1.7.0.dev20250917023732.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1242
- cirq_core-1.7.0.dev20250917023732.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1243
- cirq_core-1.7.0.dev20250917023732.dist-info/RECORD,,
1239
+ cirq_core-1.7.0.dev20250919173716.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1240
+ cirq_core-1.7.0.dev20250919173716.dist-info/METADATA,sha256=RZuNerq7sKFDqHOa_i97PbELo5yWjq5JL2b1ysQeqbE,4758
1241
+ cirq_core-1.7.0.dev20250919173716.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1242
+ cirq_core-1.7.0.dev20250919173716.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1243
+ cirq_core-1.7.0.dev20250919173716.dist-info/RECORD,,