From 4a340e71b2401acad1aca6a7042bc2fbc5c21b6e Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Wed, 26 Apr 2023 17:14:53 -0700 Subject: [PATCH] Apply suggestions from CommonTypos checker No change in code function. --- docs/cirq_interface.md | 2 +- docs/tutorials/gcp_cpu.md | 2 +- lib/fuser_basic.h | 2 +- lib/fuser_mqubit.h | 2 +- lib/hybrid.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/cirq_interface.md b/docs/cirq_interface.md index e163569e..37d2a72f 100644 --- a/docs/cirq_interface.md +++ b/docs/cirq_interface.md @@ -190,7 +190,7 @@ is required to enable GPU execution: library if set to any other value. If `use_gpu` is set and `gpu_mode` is set to 0, the remaining parameters can -optionally be set to fine-tune StateSpace perfomance for a specific device. +optionally be set to fine-tune StateSpace performance for a specific device. In most cases, the default values provide good performance. * `gpu_state_threads`: number of threads per CUDA block to use for the GPU StateSpace. This must be a power of 2 in the range [32, 1024]. diff --git a/docs/tutorials/gcp_cpu.md b/docs/tutorials/gcp_cpu.md index 6fd1986b..1cd2cdb3 100644 --- a/docs/tutorials/gcp_cpu.md +++ b/docs/tutorials/gcp_cpu.md @@ -20,7 +20,7 @@ instance heading, ensure that your VM has the following properties: experiment, see [Choosing hardware for your qsim simulation](/qsim/choose_hw). * In the **Boot disk section**, click the **Change** button, and choose - **Container-Optimized** operating system. This overrides the seletion in + **Container-Optimized** operating system. This overrides the selection in step 3 in [Create a Linux VM instance](https://cloud.google.com/compute/docs/quickstart-linux#create_a_linux_vm_instance). * In the **Firewall** section, ensure that both the **Allow HTTP traffic** diff --git a/lib/fuser_basic.h b/lib/fuser_basic.h index 6bd329c5..5f61ace0 100644 --- a/lib/fuser_basic.h +++ b/lib/fuser_basic.h @@ -81,7 +81,7 @@ class BasicGateFuser final : public Fuser { * @param gates The gates (or pointers to the gates) to be fused. * Gate times of the gates that act on the same qubits should be ordered. * Gates that are out of time order should not cross the time boundaries - * set by `times_to_split_at` or by measurment gates. + * set by `times_to_split_at` or by measurement gates. * @param times_to_split_at Ordered list of time steps (boundaries) at which * to separate fused gates. Each element of the output will contain gates * from a single 'window' in this list. diff --git a/lib/fuser_mqubit.h b/lib/fuser_mqubit.h index a7ed4cd7..aa4e6305 100644 --- a/lib/fuser_mqubit.h +++ b/lib/fuser_mqubit.h @@ -180,7 +180,7 @@ class MultiQubitGateFuser final : public Fuser { * @param gates The gates (or pointers to the gates) to be fused. * Gate times of the gates that act on the same qubits should be ordered. * Gates that are out of time order should not cross the time boundaries - * set by `times_to_split_at` or by measurment gates. + * set by `times_to_split_at` or by measurement gates. * @param times_to_split_at Ordered list of time steps (boundaries) at which * to separate fused gates. Each element of the output will contain gates * from a single 'window' in this list. diff --git a/lib/hybrid.h b/lib/hybrid.h index d0189efc..44fad5b5 100644 --- a/lib/hybrid.h +++ b/lib/hybrid.h @@ -132,7 +132,7 @@ struct HybridSimulator final { * on the cut. * @param parts Lattice sections to be simulated. * @param gates List of all gates in the circuit. - * @param hd Output data with splitted parts. + * @param hd Output data with split parts. * @return True if the splitting done successfully; false otherwise. */ static bool SplitLattice(const std::vector& parts,