Skip to content

Commit

Permalink
Merge pull request #604 from pavoljuhas/fix-common-typos
Browse files Browse the repository at this point in the history
Apply suggestions from CommonTypos checker
  • Loading branch information
95-martin-orion authored Apr 27, 2023
2 parents beef3f9 + 4a340e7 commit b47882d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/cirq_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/gcp_cpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
2 changes: 1 addition & 1 deletion lib/fuser_basic.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class BasicGateFuser final : public Fuser<IO, Gate> {
* @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.
Expand Down
2 changes: 1 addition & 1 deletion lib/fuser_mqubit.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class MultiQubitGateFuser final : public Fuser<IO, Gate> {
* @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.
Expand Down
2 changes: 1 addition & 1 deletion lib/hybrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<unsigned>& parts,
Expand Down

0 comments on commit b47882d

Please sign in to comment.