cirq-core 1.5.0.dev20240719215931__py3-none-any.whl → 1.5.0.dev20240720215906__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.5.0.dev20240719215931"
31
+ __version__ = "1.5.0.dev20240720215906"
cirq/_version_test.py CHANGED
@@ -3,4 +3,4 @@ import cirq
3
3
 
4
4
 
5
5
  def test_version():
6
- assert cirq.__version__ == "1.5.0.dev20240719215931"
6
+ assert cirq.__version__ == "1.5.0.dev20240720215906"
@@ -107,7 +107,7 @@ def simulate_2q_xeb_circuits(
107
107
  # Need an actual object; not np.random or else multiprocessing will
108
108
  # fail to pickle the closure object:
109
109
  # https://github.com/quantumlib/Cirq/issues/3717
110
- simulator = sim.Simulator(seed=np.random.RandomState())
110
+ simulator = sim.Simulator(seed=np.random.RandomState(), dtype=np.complex128)
111
111
  _simulate_2q_xeb_circuit = _Simulate_2q_XEB_Circuit(simulator=simulator)
112
112
 
113
113
  tasks = tuple(
@@ -76,7 +76,7 @@ def _ref_simulate_2q_xeb_circuit(task: Dict[str, Any]):
76
76
  tcircuit = circuit[:circuit_depth]
77
77
  tcircuit = cirq.resolve_parameters_once(tcircuit, param_resolver=param_resolver)
78
78
 
79
- pure_sim = cirq.Simulator()
79
+ pure_sim = cirq.Simulator(dtype=np.complex128)
80
80
  psi = pure_sim.simulate(tcircuit)
81
81
  psi_vector = psi.final_state_vector
82
82
  pure_probs = cirq.state_vector_to_probabilities(psi_vector)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cirq-core
3
- Version: 1.5.0.dev20240719215931
3
+ Version: 1.5.0.dev20240720215906
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=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=q_ly-uKniQb5B6TXOMUaGD17FwRdbKNLODmWfXl54h0,1206
8
- cirq/_version_test.py,sha256=4kWU0nUgnzQU506hU32WWzy0dSv5hgj-KTHVcQS-Obk,147
7
+ cirq/_version.py,sha256=qWf7WGQCKqbcvL7noax2Has0rytfmts3dscLywWTidw,1206
8
+ cirq/_version_test.py,sha256=xoly0YgCV1lQhnowYa6T9ZCpg-_PT_-eXHh6Av-Sz6E,147
9
9
  cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
10
10
  cirq/json_resolver_cache.py,sha256=ytePZtNZgKjOF2NiVpUTuotB-JKZmQNOFIFdvXqsxHw,13271
11
11
  cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
@@ -202,8 +202,8 @@ cirq/experiments/xeb_fitting.py,sha256=tD678gTY495cDA6b55YIPdwq22VQFbB2AlnkeX_X9
202
202
  cirq/experiments/xeb_fitting_test.py,sha256=LEgC76mYFwsX-ZqRqg2j85EiHACq8nK9ITrcl-TgeiA,15286
203
203
  cirq/experiments/xeb_sampling.py,sha256=6ZOidGi7Kt6p4cMQCjK7qQuIUXVHCYl47B2GnL8M-Bw,14987
204
204
  cirq/experiments/xeb_sampling_test.py,sha256=0XkQGvcURsug3IblE_wZrHVDoOQV3WuQilrqCJbDHjI,6784
205
- cirq/experiments/xeb_simulation.py,sha256=DpCWVxzWnZvjrdfgIbwR9rWenehqz7Su3LPIVHoK7gI,5055
206
- cirq/experiments/xeb_simulation_test.py,sha256=gx0GqGZ4TDwrNW5ULK5JEWfzL-Dvb8TpAxIgdpiB8Tg,5430
205
+ cirq/experiments/xeb_simulation.py,sha256=yML2NAnYTRFG1wsQHvxtNEGEMXuExbWjrE2JYuCqnrk,5076
206
+ cirq/experiments/xeb_simulation_test.py,sha256=m_Eo9IJiebnJWyg9jwLW9BkVUeTkPxKEvWPVLj0VNho,5449
207
207
  cirq/interop/__init__.py,sha256=zYD7hdcL5qUZ2MDzmCRZ7CgfCZ048fMKtJXCW7GMK_Y,722
208
208
  cirq/interop/quirk/__init__.py,sha256=rGKgFDaKFSHdGTEw5iD4GCg_SKzbAfA1qcr4t2lPlZI,1092
209
209
  cirq/interop/quirk/url_to_circuit.py,sha256=1ToWnFJdJIhCko9q62BEvOoCGxCpOUl8891IdCa52MM,14211
@@ -1181,8 +1181,8 @@ cirq/work/sampler.py,sha256=JEAeQQRF3bqlO9AkOf4XbrTATDI5f5JgyM_FAUCNxao,19751
1181
1181
  cirq/work/sampler_test.py,sha256=B2ZsuqGT854gQtBIAh8k0LiG9Vj5wSzcGvkxOUoTcW4,13217
1182
1182
  cirq/work/zeros_sampler.py,sha256=x1C7cup66a43n-3tm8QjhiqJa07qcJW10FxNp9jJ59Q,2356
1183
1183
  cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
1184
- cirq_core-1.5.0.dev20240719215931.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1185
- cirq_core-1.5.0.dev20240719215931.dist-info/METADATA,sha256=yG5_RiIwqntgejcUYBtF3OvbjGEjgdvDRQ-WUg_gOnk,2007
1186
- cirq_core-1.5.0.dev20240719215931.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1187
- cirq_core-1.5.0.dev20240719215931.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1188
- cirq_core-1.5.0.dev20240719215931.dist-info/RECORD,,
1184
+ cirq_core-1.5.0.dev20240720215906.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1185
+ cirq_core-1.5.0.dev20240720215906.dist-info/METADATA,sha256=m1Dp-LdtpXBGgGjjIFKWhJckJISEjZXQyBKJZmamVGo,2007
1186
+ cirq_core-1.5.0.dev20240720215906.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1187
+ cirq_core-1.5.0.dev20240720215906.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1188
+ cirq_core-1.5.0.dev20240720215906.dist-info/RECORD,,