cirq-core 1.6.0.dev20250721201359__py3-none-any.whl → 1.6.0.dev20250721212657__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/devices/grid_qubit.py +9 -1
- {cirq_core-1.6.0.dev20250721201359.dist-info → cirq_core-1.6.0.dev20250721212657.dist-info}/METADATA +1 -1
- {cirq_core-1.6.0.dev20250721201359.dist-info → cirq_core-1.6.0.dev20250721212657.dist-info}/RECORD +8 -8
- {cirq_core-1.6.0.dev20250721201359.dist-info → cirq_core-1.6.0.dev20250721212657.dist-info}/WHEEL +0 -0
- {cirq_core-1.6.0.dev20250721201359.dist-info → cirq_core-1.6.0.dev20250721212657.dist-info}/licenses/LICENSE +0 -0
- {cirq_core-1.6.0.dev20250721201359.dist-info → cirq_core-1.6.0.dev20250721212657.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
cirq/devices/grid_qubit.py
CHANGED
|
@@ -117,7 +117,15 @@ class _BaseGridQid(ops.Qid):
|
|
|
117
117
|
)
|
|
118
118
|
|
|
119
119
|
def neighbors(self, qids: Iterable[ops.Qid] | None = None) -> set[_BaseGridQid]:
|
|
120
|
-
"""Returns qubits that are potential neighbors to this GridQid
|
|
120
|
+
"""Returns qubits that are potential neighbors to this GridQid.
|
|
121
|
+
|
|
122
|
+
Note that this returns _potential_ neighbors. That is, if no arguments
|
|
123
|
+
are given, this returns the qubits above, below, to the right and left of
|
|
124
|
+
the Qid in the grid. It does not take into account any hardware device
|
|
125
|
+
layout.
|
|
126
|
+
|
|
127
|
+
If you want to take into account the device layout, you must pass in the
|
|
128
|
+
device's qubit set as the `qids` parameter.
|
|
121
129
|
|
|
122
130
|
Args:
|
|
123
131
|
qids: optional Iterable of qubits to constrain neighbors to.
|
{cirq_core-1.6.0.dev20250721201359.dist-info → cirq_core-1.6.0.dev20250721212657.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cirq-core
|
|
3
|
-
Version: 1.6.0.
|
|
3
|
+
Version: 1.6.0.dev20250721212657
|
|
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.6.0.dev20250721201359.dist-info → cirq_core-1.6.0.dev20250721212657.dist-info}/RECORD
RENAMED
|
@@ -4,8 +4,8 @@ cirq/_compat_test.py,sha256=emXpdD5ZvwLRlFAoQB8YatmZyU3b4e9jg6FppMTUhkU,33900
|
|
|
4
4
|
cirq/_doc.py,sha256=BrnoABo1hk5RgB3Cgww4zLHUfiyFny0F1V-tOMCbdaU,2909
|
|
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=
|
|
8
|
-
cirq/_version_test.py,sha256=
|
|
7
|
+
cirq/_version.py,sha256=oKI_Ebte66Mc7O62NRWMD5tC6qXWK7rEMmfUCmDrkXo,1206
|
|
8
|
+
cirq/_version_test.py,sha256=5kidWwva2m6D_V7MWpMSxAcfnDgKKmXQy-R2nrbrO5A,155
|
|
9
9
|
cirq/conftest.py,sha256=wSDKNdIQRDfLnXvOCWD3erheOw8JHRhdfQ53EyTUIXg,1239
|
|
10
10
|
cirq/json_resolver_cache.py,sha256=hYyG53VJeV61X0oukK5ndZYega8lkL2FyaL1m0j6h5M,13556
|
|
11
11
|
cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
|
|
@@ -160,7 +160,7 @@ cirq/devices/device.py,sha256=Ejkn0qIW8r406kn7rCOQ96SEJu4dUuKK13hazJl1VYg,5383
|
|
|
160
160
|
cirq/devices/device_test.py,sha256=Zh7_hHiG0OENZmGhH8hj9OdotbiJfP-4hCD5tpfF5UA,1194
|
|
161
161
|
cirq/devices/grid_device_metadata.py,sha256=pgh2wu33i9rWOqqYgsTMtLuB2k4L8EAD6tMx_o_ju5g,8602
|
|
162
162
|
cirq/devices/grid_device_metadata_test.py,sha256=W0G_ewse8AqAvbPV0JmIIDNSU_Okm7tzscPZ_LjOufY,8630
|
|
163
|
-
cirq/devices/grid_qubit.py,sha256=
|
|
163
|
+
cirq/devices/grid_qubit.py,sha256=dkTauRKFL2pjdpHLLNfO9RY03tYKKLtSBZZhIpikJ98,19154
|
|
164
164
|
cirq/devices/grid_qubit_test.py,sha256=aRSoRL-L-LaXCgBOzaMvVDwdP0kGN0Oc1yIYaRlNYk0,15048
|
|
165
165
|
cirq/devices/insertion_noise_model.py,sha256=FCVsVsrPyGT0WsvIWQUgu4IliSRpck3znrEmlI-xOPU,3609
|
|
166
166
|
cirq/devices/insertion_noise_model_test.py,sha256=MjJoouDxVobkqKEvlLSy82E5749LXHzaaTbCzZuFxe0,4068
|
|
@@ -1220,8 +1220,8 @@ cirq/work/sampler.py,sha256=rxbMWvrhu3gfNSBjZKozw28lLKVvBAS_1EGyPdYe8Xg,19041
|
|
|
1220
1220
|
cirq/work/sampler_test.py,sha256=SsMrRvLDYELyOAWLKISjkdEfrBwLYWRsT6D8WrsLM3Q,13533
|
|
1221
1221
|
cirq/work/zeros_sampler.py,sha256=Fs2JWwq0n9zv7_G5Rm-9vPeHUag7uctcMOHg0JTkZpc,2371
|
|
1222
1222
|
cirq/work/zeros_sampler_test.py,sha256=lQLgQDGBLtfImryys2HzQ2jOSGxHgc7-koVBUhv8qYk,3345
|
|
1223
|
-
cirq_core-1.6.0.
|
|
1224
|
-
cirq_core-1.6.0.
|
|
1225
|
-
cirq_core-1.6.0.
|
|
1226
|
-
cirq_core-1.6.0.
|
|
1227
|
-
cirq_core-1.6.0.
|
|
1223
|
+
cirq_core-1.6.0.dev20250721212657.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1224
|
+
cirq_core-1.6.0.dev20250721212657.dist-info/METADATA,sha256=oAZ_OK9p7g-zY3Hy0efUTJ_KxvJC25qgMoSDg--kJzA,4857
|
|
1225
|
+
cirq_core-1.6.0.dev20250721212657.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
1226
|
+
cirq_core-1.6.0.dev20250721212657.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1227
|
+
cirq_core-1.6.0.dev20250721212657.dist-info/RECORD,,
|
{cirq_core-1.6.0.dev20250721201359.dist-info → cirq_core-1.6.0.dev20250721212657.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|