cirq-core 1.3.0.dev20230823053258__py3-none-any.whl → 1.3.0.dev20230823212509__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/vis/heatmap_test.py +2 -4
- {cirq_core-1.3.0.dev20230823053258.dist-info → cirq_core-1.3.0.dev20230823212509.dist-info}/METADATA +1 -1
- {cirq_core-1.3.0.dev20230823053258.dist-info → cirq_core-1.3.0.dev20230823212509.dist-info}/RECORD +7 -7
- {cirq_core-1.3.0.dev20230823053258.dist-info → cirq_core-1.3.0.dev20230823212509.dist-info}/LICENSE +0 -0
- {cirq_core-1.3.0.dev20230823053258.dist-info → cirq_core-1.3.0.dev20230823212509.dist-info}/WHEEL +0 -0
- {cirq_core-1.3.0.dev20230823053258.dist-info → cirq_core-1.3.0.dev20230823212509.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.3.0.
|
|
1
|
+
__version__ = "1.3.0.dev20230823212509"
|
cirq/vis/heatmap_test.py
CHANGED
|
@@ -105,10 +105,8 @@ def test_cell_colors(ax, colormap_name):
|
|
|
105
105
|
col = int(round(np.mean([v[0] for v in vertices])))
|
|
106
106
|
value = test_row_col_map[(row, col)]
|
|
107
107
|
color_scale = (value - vmin) / (vmax - vmin)
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
if color_scale > 1.0:
|
|
111
|
-
color_scale = 1.0
|
|
108
|
+
color_scale = max(color_scale, 0.0)
|
|
109
|
+
color_scale = min(color_scale, 1.0)
|
|
112
110
|
expected_color = np.array(colormap(color_scale))
|
|
113
111
|
assert np.all(np.isclose(facecolor, expected_color))
|
|
114
112
|
|
{cirq_core-1.3.0.dev20230823053258.dist-info → cirq_core-1.3.0.dev20230823212509.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cirq-core
|
|
3
|
-
Version: 1.3.0.
|
|
3
|
+
Version: 1.3.0.dev20230823212509
|
|
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.3.0.dev20230823053258.dist-info → cirq_core-1.3.0.dev20230823212509.dist-info}/RECORD
RENAMED
|
@@ -4,7 +4,7 @@ cirq/_compat_test.py,sha256=84X6ELsb5fv3Hc0_ly8-IQfMnCNQN6tHs6GZFrnuNyI,35005
|
|
|
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=
|
|
7
|
+
cirq/_version.py,sha256=zJHqs_9wnSM8xm2BADaMDwyG5hsIV566T0nwcHFnR5g,40
|
|
8
8
|
cirq/_version_test.py,sha256=Ea3ZNdQKZBsZrSc9xle7TUdT9bUINs-qezPruQ_m38s,133
|
|
9
9
|
cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
|
|
10
10
|
cirq/json_resolver_cache.py,sha256=JJiO1dhHsEqYClUv68eg-hiOzbb_C1QiQ-BCcvoe4Ck,13067
|
|
@@ -1114,7 +1114,7 @@ cirq/vis/__init__.py,sha256=e3Z1PI-Ay0hDHhIgFZEDwQIuO8C_aayNdL-EByF0J4o,1001
|
|
|
1114
1114
|
cirq/vis/density_matrix.py,sha256=kMAPcRh6f0ghZKSe86nB_2iFngrDsw0pNael1EZ5BEw,4819
|
|
1115
1115
|
cirq/vis/density_matrix_test.py,sha256=Xg41NQZBfoyrkaX3n9pW4q1LIxWpOW3Cr_I_Wx51GlQ,6965
|
|
1116
1116
|
cirq/vis/heatmap.py,sha256=sNLjAyebdO1vLbugySsIHe61TfvBIsZA9qgd3XbvZWE,16072
|
|
1117
|
-
cirq/vis/heatmap_test.py,sha256=
|
|
1117
|
+
cirq/vis/heatmap_test.py,sha256=kS8kvIWH6SCjQVOEQ_xRWmjlmtaP-2pUcRcNxqF4kWI,13240
|
|
1118
1118
|
cirq/vis/histogram.py,sha256=xqgy77nF0vyBjeul83G0yH_e342ecqpWu2RlwVIGEAo,5061
|
|
1119
1119
|
cirq/vis/histogram_test.py,sha256=Qlw0e3amw_MFga-hNweiLzRCH174W9bB2qkmX_RiS-U,1904
|
|
1120
1120
|
cirq/vis/state_histogram.py,sha256=hKU7frKG2wdXsrQjZu0-Fz1FqmAC-IVhS4ieArqN1ec,4208
|
|
@@ -1140,8 +1140,8 @@ cirq/work/sampler.py,sha256=JVv1vvfa6EgFiR3UeDk44U186dCrioH2NZXueCgsb9w,19828
|
|
|
1140
1140
|
cirq/work/sampler_test.py,sha256=zo1Hj6sn6fLs_WZMxYRApBqgBsldmptn74NL0jhNukc,12325
|
|
1141
1141
|
cirq/work/zeros_sampler.py,sha256=D3hbNZC-jXKuNAWg2OUiUuT8pmDV_WFnEfMank6In4o,2357
|
|
1142
1142
|
cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
|
|
1143
|
-
cirq_core-1.3.0.
|
|
1144
|
-
cirq_core-1.3.0.
|
|
1145
|
-
cirq_core-1.3.0.
|
|
1146
|
-
cirq_core-1.3.0.
|
|
1147
|
-
cirq_core-1.3.0.
|
|
1143
|
+
cirq_core-1.3.0.dev20230823212509.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1144
|
+
cirq_core-1.3.0.dev20230823212509.dist-info/METADATA,sha256=KKXS8wqB7C-D5PqCBQsqXdXX4KxUvkt2IVY1yyXaD4w,2077
|
|
1145
|
+
cirq_core-1.3.0.dev20230823212509.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
1146
|
+
cirq_core-1.3.0.dev20230823212509.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1147
|
+
cirq_core-1.3.0.dev20230823212509.dist-info/RECORD,,
|
{cirq_core-1.3.0.dev20230823053258.dist-info → cirq_core-1.3.0.dev20230823212509.dist-info}/LICENSE
RENAMED
|
File without changes
|
{cirq_core-1.3.0.dev20230823053258.dist-info → cirq_core-1.3.0.dev20230823212509.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|