cirq-core 1.5.0.dev20250328173837__py3-none-any.whl → 1.5.0.dev20250330074424__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 +1 -1
- cirq/_version_test.py +1 -1
- cirq/contrib/paulistring/pauli_string_measurement_with_readout_mitigation.py +5 -5
- {cirq_core-1.5.0.dev20250328173837.dist-info → cirq_core-1.5.0.dev20250330074424.dist-info}/METADATA +1 -1
- {cirq_core-1.5.0.dev20250328173837.dist-info → cirq_core-1.5.0.dev20250330074424.dist-info}/RECORD +8 -8
- {cirq_core-1.5.0.dev20250328173837.dist-info → cirq_core-1.5.0.dev20250330074424.dist-info}/LICENSE +0 -0
- {cirq_core-1.5.0.dev20250328173837.dist-info → cirq_core-1.5.0.dev20250330074424.dist-info}/WHEEL +0 -0
- {cirq_core-1.5.0.dev20250328173837.dist-info → cirq_core-1.5.0.dev20250330074424.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
|
@@ -283,13 +283,13 @@ def measure_pauli_strings(
|
|
|
283
283
|
"""Measures expectation values of Pauli strings on given circuits with/without
|
|
284
284
|
readout error mitigation.
|
|
285
285
|
|
|
286
|
-
This function takes a list of circuits and corresponding List[
|
|
287
|
-
For each circuit-List[
|
|
286
|
+
This function takes a list of circuits and corresponding List[PauliString] to measure.
|
|
287
|
+
For each circuit-List[PauliString] pair, it:
|
|
288
288
|
1. Constructs circuits to measure the Pauli string expectation value by
|
|
289
289
|
adding basis change moments and measurement operations.
|
|
290
290
|
2. Runs shuffled readout benchmarking on these circuits to calibrate readout errors.
|
|
291
291
|
3. Mitigates readout errors using the calibrated confusion matrices.
|
|
292
|
-
4. Calculates and returns both error-mitigated and
|
|
292
|
+
4. Calculates and returns both error-mitigated and unmitigated expectation values for
|
|
293
293
|
each Pauli string.
|
|
294
294
|
|
|
295
295
|
Args:
|
|
@@ -300,9 +300,9 @@ def measure_pauli_strings(
|
|
|
300
300
|
Pauli strings.
|
|
301
301
|
readout_repetitions: The number of repetitions for readout calibration
|
|
302
302
|
in the shuffled benchmarking.
|
|
303
|
-
num_random_bitstrings: The number of random bitstrings to use in
|
|
303
|
+
num_random_bitstrings: The number of random bitstrings to use in readout
|
|
304
304
|
benchmarking.
|
|
305
|
-
rng_or_seed: A random number generator or seed for the
|
|
305
|
+
rng_or_seed: A random number generator or seed for the readout benchmarking.
|
|
306
306
|
|
|
307
307
|
Returns:
|
|
308
308
|
A list of CircuitToPauliStringsMeasurementResult objects, where each object contains:
|
{cirq_core-1.5.0.dev20250328173837.dist-info → cirq_core-1.5.0.dev20250330074424.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cirq-core
|
|
3
|
-
Version: 1.5.0.
|
|
3
|
+
Version: 1.5.0.dev20250330074424
|
|
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
|
{cirq_core-1.5.0.dev20250328173837.dist-info → cirq_core-1.5.0.dev20250330074424.dist-info}/RECORD
RENAMED
|
@@ -4,8 +4,8 @@ cirq/_compat_test.py,sha256=0m3sYIyxRNv9jvAo6rzJ-cnbpny3KGnAByrbU7bApgQ,34720
|
|
|
4
4
|
cirq/_doc.py,sha256=yDyWUD_2JDS0gShfGRb-rdqRt9-WeL7DhkqX7np0Nko,2879
|
|
5
5
|
cirq/_import.py,sha256=TZOcGFGV9cW53VvNe8ufqOQmrlxRVP9UP0CdRdTbcBw,8401
|
|
6
6
|
cirq/_import_test.py,sha256=6K_v0riZJXOXUphHNkGA8MY-JcmGlezFaGmvrNhm3OQ,1015
|
|
7
|
-
cirq/_version.py,sha256=
|
|
8
|
-
cirq/_version_test.py,sha256=
|
|
7
|
+
cirq/_version.py,sha256=lf3dPyotWu0bDr2Kr6SWPRkNjO0fY-ta55H7ROH7fHE,1206
|
|
8
|
+
cirq/_version_test.py,sha256=ifM6HMOJAlJMbW4NCopnTDb3nSRUqx7q14GckWjEqSc,147
|
|
9
9
|
cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
|
|
10
10
|
cirq/json_resolver_cache.py,sha256=AaitojArEHKXoDlTWF4uM8CQUDxdVj64cA59zvrWoq4,13558
|
|
11
11
|
cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
|
|
@@ -96,7 +96,7 @@ cirq/contrib/paulistring/optimize.py,sha256=ArUWzXYpHq9SE7K9FdqsJ5WJg1ZvHs8DP6zH
|
|
|
96
96
|
cirq/contrib/paulistring/optimize_test.py,sha256=jdZBpXIialcHQGsp8LIuIpU9M5wBQX9HgnqqiMv5l8U,3559
|
|
97
97
|
cirq/contrib/paulistring/pauli_string_dag.py,sha256=vg0994h84zHIejSdwfqR-mdwmHOWWOAOOcGuStfKPdk,1106
|
|
98
98
|
cirq/contrib/paulistring/pauli_string_dag_test.py,sha256=4XQ2IoXx-2g5OUU1SMCLbEvDWoGyDg9FMy3_rTTqfBk,1124
|
|
99
|
-
cirq/contrib/paulistring/pauli_string_measurement_with_readout_mitigation.py,sha256=
|
|
99
|
+
cirq/contrib/paulistring/pauli_string_measurement_with_readout_mitigation.py,sha256=6sX2EBxwtgZ0F3ANaJVvfO_GEedLBSzu_K8wQA2Zq7c,15674
|
|
100
100
|
cirq/contrib/paulistring/pauli_string_measurement_with_readout_mitigation_test.py,sha256=r2maZa_9bhuolXWn2OaSe3DucOFchIMoZrX3gWs1_l8,21435
|
|
101
101
|
cirq/contrib/paulistring/pauli_string_optimize.py,sha256=81MDk6rKl0jmw7DXFkA02YmluiXLLznuuCTvca7mVoY,2815
|
|
102
102
|
cirq/contrib/paulistring/pauli_string_optimize_test.py,sha256=EbgbY6cohl5vi2XCz8VzYFYn9Rv85yA7atDKE68Dp4Y,2896
|
|
@@ -1206,8 +1206,8 @@ cirq/work/sampler.py,sha256=sW0RhIelGABAKbqTM58shwyyCPgf86JIv9IGdJe__js,19186
|
|
|
1206
1206
|
cirq/work/sampler_test.py,sha256=mdk1J-WrvbPUYhY41VhWf9_te4DnXr_XMPcugWwc4-I,13281
|
|
1207
1207
|
cirq/work/zeros_sampler.py,sha256=8_Ne6dBkDANtTZuql7Eb0Qg_E_P3-_gu-ybFzxTbKAQ,2356
|
|
1208
1208
|
cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
|
|
1209
|
-
cirq_core-1.5.0.
|
|
1210
|
-
cirq_core-1.5.0.
|
|
1211
|
-
cirq_core-1.5.0.
|
|
1212
|
-
cirq_core-1.5.0.
|
|
1213
|
-
cirq_core-1.5.0.
|
|
1209
|
+
cirq_core-1.5.0.dev20250330074424.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1210
|
+
cirq_core-1.5.0.dev20250330074424.dist-info/METADATA,sha256=unrh89yxk8w_s0_UEnxznFWlc7QvDjR-1sopaiT-8A8,4564
|
|
1211
|
+
cirq_core-1.5.0.dev20250330074424.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
1212
|
+
cirq_core-1.5.0.dev20250330074424.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1213
|
+
cirq_core-1.5.0.dev20250330074424.dist-info/RECORD,,
|
{cirq_core-1.5.0.dev20250328173837.dist-info → cirq_core-1.5.0.dev20250330074424.dist-info}/LICENSE
RENAMED
|
File without changes
|
{cirq_core-1.5.0.dev20250328173837.dist-info → cirq_core-1.5.0.dev20250330074424.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|