diff --git a/runtime/cudaq/dynamics/operators.h b/runtime/cudaq/dynamics/operators.h index 0a240ec47a..e1994bdbf4 100644 --- a/runtime/cudaq/dynamics/operators.h +++ b/runtime/cudaq/dynamics/operators.h @@ -70,8 +70,8 @@ class operator_sum { /// that is, the dimension of each degree of freedom /// that the operator acts on. Example for two, 2-level /// degrees of freedom: `{0:2, 1:2}`. - /// @arg `parameters` : A map of the paramter names to their concrete, complex - /// values. + /// @arg `parameters` : A map of the parameter names to their concrete, + /// complex values. complex_matrix to_matrix(const std::map &dimensions, const std::map ¶ms = {}) const; @@ -107,7 +107,7 @@ class operator_sum { /// addition is commutative, as is the product of two operators if they /// act on different degrees of freedom. /// The equality comparison does *not* take commutation relations into - /// account, and does not try to reorder terms blockwise; it may hence + /// account, and does not try to reorder terms block-wise; it may hence /// evaluate to False, even if two operators in reality are the same. /// If the equality evaluates to True, on the other hand, the operators /// are guaranteed to represent the same transformation for all arguments. @@ -168,7 +168,7 @@ class product_operator : public operator_sum { /// addition is commutative, as is the product of two operators if they /// act on different degrees of freedom. /// The equality comparison does *not* take commutation relations into - /// account, and does not try to reorder terms blockwise; it may hence + /// account, and does not try to reorder terms block-wise; it may hence /// evaluate to False, even if two operators in reality are the same. /// If the equality evaluates to True, on the other hand, the operators /// are guaranteed to represent the same transformation for all arguments. @@ -185,8 +185,8 @@ class product_operator : public operator_sum { /// that is, the dimension of each degree of freedom /// that the operator acts on. Example for two, 2-level /// degrees of freedom: `{0:2, 1:2}`. - /// @arg `parameters` : A map of the paramter names to their concrete, complex - /// values. + /// @arg `parameters` : A map of the parameter names to their concrete, + /// complex values. complex_matrix to_matrix(const std::map dimensions, const std::map> parameters) const; @@ -205,7 +205,7 @@ class product_operator : public operator_sum { template TEval _evaluate(operator_arithmetics &arithmetics) const; - /// @brief A map of the paramter names to their concrete, complex values. + /// @brief A map of the parameter names to their concrete, complex values. std::map> parameters; const std::vector> & @@ -343,7 +343,7 @@ class elementary_operator : public product_operator { /// @brief The degrees of freedom that the operator acts on in canonical /// order. std::vector degrees; - /// @brief A map of the paramter names to their concrete, complex values. + /// @brief A map of the parameter names to their concrete, complex values. /// This will be enabled once we can handle generalized callback function /// arguments. /// @FIXME: Not needed until generalizing the function arguments. @@ -439,7 +439,7 @@ class scalar_operator : public product_operator { std::vector _operators_to_compose; /// NOTE: We should revisit these constructors and remove any that have - /// become unecessary as the implementation improves. + /// become unnecessary as the implementation improves. scalar_operator() = default; // Copy constructor. scalar_operator(const scalar_operator &other);