cirq-core 1.7.0.dev20251017194258__py3-none-any.whl → 1.7.0.dev20251020235234__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.dev20251017194258"
31
+ __version__ = "1.7.0.dev20251020235234"
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.dev20251017194258"
6
+ assert cirq.__version__ == "1.7.0.dev20251020235234"
@@ -140,6 +140,10 @@ class PhasedXZGate(raw_types.Gate):
140
140
  return self._axis_phase_exponent
141
141
 
142
142
  def _value_equality_values_(self):
143
+ if self._is_parameterized_():
144
+ # If this is parameterized, do not try to calculate the canonical exponents
145
+ # as this results in some slow sympy operations.
146
+ return (self._x_exponent, self._z_exponent, self._axis_phase_exponent)
143
147
  c = self._canonical()
144
148
  return (
145
149
  value.PeriodicValue(c._x_exponent, 2),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cirq-core
3
- Version: 1.7.0.dev20251017194258
3
+ Version: 1.7.0.dev20251020235234
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=28ZskY9ZtZ_4GS1oXPUgklKnJqmAE-rkUfzcsJ0--nA,2941
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=IMZibsH2TjYICrU180KQdB1dmupy9Va1_pKNqcvjn4o,1206
8
- cirq/_version_test.py,sha256=-O7DI69zPqWXjQmHgCno_e5fNyp_wnL-rEYQaiu7l4A,155
7
+ cirq/_version.py,sha256=OPm3Mky13y-tUL1a0AjG1p3Idwmk_x9AmAbr-l9WRw0,1206
8
+ cirq/_version_test.py,sha256=802K16LRHWNKg-i4gl726Zb9qShJ0ewZcY9FLP1AEjw,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
@@ -370,7 +370,7 @@ cirq/ops/phased_iswap_gate.py,sha256=AQIPHurGVx4ccinrT8UZc9bZT9yX53Q4PlBk4uaqrGw
370
370
  cirq/ops/phased_iswap_gate_test.py,sha256=hRcyf2QHCExKO-XmZ9_2TV8DePBESEgM-CEB5bn-ZfY,7516
371
371
  cirq/ops/phased_x_gate.py,sha256=fShc7xTIY6dnVmc6iC7L7XId1yDHLiE_iCzm5oQdKxg,9325
372
372
  cirq/ops/phased_x_gate_test.py,sha256=lQ6UV9X52joByV_SLzNceO785uVY5wSqlba8tMpzHSA,10976
373
- cirq/ops/phased_x_z_gate.py,sha256=fQmWXhqH9xISfTeLUA9scLsvnVD3jTA4wKDpj2P8EVI,11591
373
+ cirq/ops/phased_x_z_gate.py,sha256=uN7h2rFEvkC7dAN84lH946ChnHKOaUvFT0HWukHbt_o,11861
374
374
  cirq/ops/phased_x_z_gate_test.py,sha256=ZmV0NdJJMzile88bRHYGYPXxOP785fW_Tn4tCxbphPY,10876
375
375
  cirq/ops/projector.py,sha256=xxt3YhomvLfQjFWlU7yeKHTbPlgBHGQUcfiSbMxlIQk,5645
376
376
  cirq/ops/projector_test.py,sha256=vphfIBPkrEPXj4I6B_IPM84wOW-DsETSR9ua4lDioF4,9232
@@ -1246,8 +1246,8 @@ cirq/work/sampler.py,sha256=rxbMWvrhu3gfNSBjZKozw28lLKVvBAS_1EGyPdYe8Xg,19041
1246
1246
  cirq/work/sampler_test.py,sha256=SsMrRvLDYELyOAWLKISjkdEfrBwLYWRsT6D8WrsLM3Q,13533
1247
1247
  cirq/work/zeros_sampler.py,sha256=Fs2JWwq0n9zv7_G5Rm-9vPeHUag7uctcMOHg0JTkZpc,2371
1248
1248
  cirq/work/zeros_sampler_test.py,sha256=lQLgQDGBLtfImryys2HzQ2jOSGxHgc7-koVBUhv8qYk,3345
1249
- cirq_core-1.7.0.dev20251017194258.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1250
- cirq_core-1.7.0.dev20251017194258.dist-info/METADATA,sha256=qzy3lCdh84WWUo752Q79w6Kob6Ye011keqXeJjMxwoA,4757
1251
- cirq_core-1.7.0.dev20251017194258.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1252
- cirq_core-1.7.0.dev20251017194258.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1253
- cirq_core-1.7.0.dev20251017194258.dist-info/RECORD,,
1249
+ cirq_core-1.7.0.dev20251020235234.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1250
+ cirq_core-1.7.0.dev20251020235234.dist-info/METADATA,sha256=WdQGAEXPvsM5QUAz5DlYWx1HBbCDQQB4O7Nl0Dlf-Uo,4757
1251
+ cirq_core-1.7.0.dev20251020235234.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1252
+ cirq_core-1.7.0.dev20251020235234.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1253
+ cirq_core-1.7.0.dev20251020235234.dist-info/RECORD,,