From 0c43823fc8aa232d4ac166527d7d87a21552610a Mon Sep 17 00:00:00 2001 From: caroharris-maker Date: Thu, 28 May 2026 14:41:13 -0400 Subject: [PATCH] replace 'homogenous' with 'homogeneous' --- cirq-core/cirq/devices/grid_device_metadata.py | 4 ++-- cirq-core/cirq/devices/noise_model.py | 2 +- cirq-core/cirq/experiments/t2_decay_experiment.py | 2 +- docs/google/devices.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cirq-core/cirq/devices/grid_device_metadata.py b/cirq-core/cirq/devices/grid_device_metadata.py index f177523b54c..33b0318c471 100644 --- a/cirq-core/cirq/devices/grid_device_metadata.py +++ b/cirq-core/cirq/devices/grid_device_metadata.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Metadata subtype for 2D Homogenous devices.""" +"""Metadata subtype for 2D homogeneous devices.""" from __future__ import annotations @@ -30,7 +30,7 @@ @value.value_equality class GridDeviceMetadata(device.DeviceMetadata): - """Hardware metadata for homogenous 2d symmetric grid devices.""" + """Hardware metadata for homogeneous 2d symmetric grid devices.""" def __init__( self, diff --git a/cirq-core/cirq/devices/noise_model.py b/cirq-core/cirq/devices/noise_model.py index 275f2b08da6..4bb70e23bea 100644 --- a/cirq-core/cirq/devices/noise_model.py +++ b/cirq-core/cirq/devices/noise_model.py @@ -296,7 +296,7 @@ def noisy_moment(self, moment: cirq.Moment, system_qubits: Sequence[cirq.Qid]) - def validate_all_measurements(moment: cirq.Moment) -> bool: - """Ensures that the moment is homogenous and returns whether all ops are measurement gates. + """Ensures that the moment is homogeneous and returns whether all ops are measurement gates. Args: moment: the moment to be checked diff --git a/cirq-core/cirq/experiments/t2_decay_experiment.py b/cirq-core/cirq/experiments/t2_decay_experiment.py index 87737aa81bf..cb8898dae90 100644 --- a/cirq-core/cirq/experiments/t2_decay_experiment.py +++ b/cirq-core/cirq/experiments/t2_decay_experiment.py @@ -81,7 +81,7 @@ def t2_decay( π/2, t, π, 2t, π, ... 2t, π, t The first pulse, a sqrt(Y) gate, will put the qubit's state on the Bloch - equator. After a delay, successive X gates will refocus dehomogenous + equator. After a delay, successive X gates will refocus dehomogeneous phase effects by causing them to precess in opposite directions and averaging their effects across the entire pulse train. diff --git a/docs/google/devices.md b/docs/google/devices.md index acca2b2b98b..d873a63ba82 100644 --- a/docs/google/devices.md +++ b/docs/google/devices.md @@ -165,7 +165,7 @@ Google devices provide several options for two-qubit gates. The availability of these gates is controlled by the gateset parameter that is used. -Note that current hardware gates are noisy and not homogenous +Note that current hardware gates are noisy and not homogeneous across the device. Unitaries provided below are for the ideal case. Real unitaries applied to the qubit may vary from qubit to qubit and may drift over time.