cirq-core 1.5.0.dev20241030184510__py3-none-any.whl → 1.5.0.dev20241105010953__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.dev20241030184510"
31
+ __version__ = "1.5.0.dev20241105010953"
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.dev20241030184510"
6
+ assert cirq.__version__ == "1.5.0.dev20241105010953"
cirq/work/sampler.py CHANGED
@@ -50,9 +50,12 @@ class Sampler(metaclass=value.ABCMetaImplementAnyOneOf):
50
50
  """Something capable of sampling quantum circuits. Simulator or hardware."""
51
51
 
52
52
  # Users have a rate limit of 1000 QPM for read/write requests to
53
- # the Quantum Engine. 1000/60 ~= 16 QPS. So requests are sent
54
- # in chunks of size 16 per second.
55
- CHUNK_SIZE: int = 16
53
+ # the Quantum Engine. The sampler will poll from the DB every 1s
54
+ # for inflight requests for results. Empirically, for circuits
55
+ # sent in run_batch, sending circuits in CHUNK_SIZE=5 for large
56
+ # number of circuits (> 200) with large depths (100 layers)
57
+ # does not encounter quota exceeded issues for non-streaming cases.
58
+ CHUNK_SIZE: int = 5
56
59
 
57
60
  def run(
58
61
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cirq-core
3
- Version: 1.5.0.dev20241030184510
3
+ Version: 1.5.0.dev20241105010953
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=cGjYAFK1kb_f_bComEY-4kxVfz8DTK4e4tLZSeN7Dqg,1206
8
- cirq/_version_test.py,sha256=AvbtaK4AQENKcY0yl9MG11qtXwI3xDTsRJxXm7S5I5c,147
7
+ cirq/_version.py,sha256=tWGUwDpUxlv_7Yw_n1RpEG8a8bv-8R8yDUQPOdU0aRE,1206
8
+ cirq/_version_test.py,sha256=oPDWwrcS2ZyvHMWGTBGwZ3HERMXxVCmXrMK9AWunyJA,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
@@ -1182,12 +1182,12 @@ cirq/work/observable_settings.py,sha256=OsZS8XvHT2LCFGkzu-wh1WShOx93I1nZ2K7uce-i
1182
1182
  cirq/work/observable_settings_test.py,sha256=hV3g5ld5OZchTjVMVL_8cLXsbSBMz5DAsE4Vui2xTuk,4233
1183
1183
  cirq/work/pauli_sum_collector.py,sha256=N1IsIwudBi84XWP1x7LNE2uQ6DGR2LFIWPhGbdHxaA4,4230
1184
1184
  cirq/work/pauli_sum_collector_test.py,sha256=aeo06iLIYZjWjN3C4loVHRYWpV35lSSlcX2cOVdt2Ss,2437
1185
- cirq/work/sampler.py,sha256=rzimb1Zmqrdb0coOJhGf459KTUaFpAnIR2Vm0mt1_i8,20848
1185
+ cirq/work/sampler.py,sha256=3N_angFz4UKXRlsgp2sJq2wRx7yuEg9G9T8eP0joAkE,21082
1186
1186
  cirq/work/sampler_test.py,sha256=0HoptI2r-7yR5hmlvu6ykqkZ8TYO-lkIVvlv8yyDnDk,14885
1187
1187
  cirq/work/zeros_sampler.py,sha256=x1C7cup66a43n-3tm8QjhiqJa07qcJW10FxNp9jJ59Q,2356
1188
1188
  cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
1189
- cirq_core-1.5.0.dev20241030184510.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1190
- cirq_core-1.5.0.dev20241030184510.dist-info/METADATA,sha256=8FnTTAd3YmYT07Z_zSjfsL5_Pnqz-YjQ_wnUp0m6QoM,1992
1191
- cirq_core-1.5.0.dev20241030184510.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
1192
- cirq_core-1.5.0.dev20241030184510.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1193
- cirq_core-1.5.0.dev20241030184510.dist-info/RECORD,,
1189
+ cirq_core-1.5.0.dev20241105010953.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1190
+ cirq_core-1.5.0.dev20241105010953.dist-info/METADATA,sha256=u4Q4W5DkuQnMwFZDX5XokiUZOafRecV5LIUS6oZppEg,1992
1191
+ cirq_core-1.5.0.dev20241105010953.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
1192
+ cirq_core-1.5.0.dev20241105010953.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1193
+ cirq_core-1.5.0.dev20241105010953.dist-info/RECORD,,